crm
Icon
<i class="fa fa-ticket"></i>
Initialise
For the standard view, click Settings, Display Notify List
Then tick Display notify list:
Ticket
To re-open a complete ticket:
from crm.models import Ticket
ticket = Ticket.objects.get(pk=386)
ticket.complete = None
ticket.complete_user = None
ticket.save()
User
To create a user on the CRM:
from django.contrib.auth.models import User
user = User.objects.create_user("b.zip")
user.set_password("apples-or-oranges")
user.first_name = "B"
user.last_name = "Zip"
user.is_staff = True
user.save()
from contact.models import Contact
Contact.objects.create_contact(user=user)