Ticket
Ticketing is a base model within Centurion ERP. This base provides the core features for all subsequent sub-ticket models. As such extending Centurion ERP with a new ticket type is a simple process. The adding of a ticket type only requires that you extend an existing ticket model containing only the changes for your new ticket type.
Core Features
- ...
History
Ticketing does not use the standard history model of Centurion ERP. History for a ticket is kept in the form of action comments. As each change to a ticket occurs, an action comment is created denoting the from and to in relation to a change.
Model
When creating your sub-model, do not re-define any field that is already specified within the model you are inheriting from. This is however, with the exception of the code docs specifying otherwise.
Testing
As with any other object within Centurion, the addition of a feature requires it be tested. The following Test Suites are available:
-
Unit
Test Casescore.tests.unit.ticket_base.<*>.<Inherited class name>InheritedCases
(if inheriting fromTicketBase
) Test cases for sub-models
-
Functional
Test Casescore.tests.functional.ticket_base.<*>.<Inherited class name>InheritedCases
(if inheriting fromTicketBase
) Test cases for sub-models
The above listed test cases cover all tests for objects that are inherited from the base class. To complete the tests, you will need to add test cases for the differences your model introduces.
About:
This page forms part of our Project Centurion ERP.
Page Metadata
Version: ToDo: place files short git commit hereDate Created: 2025-04-16
Date Edited: 2025-04-22
Contribution:
Would You like to contribute to our Centurion ERP project? You can assist in the following ways:
- Edit This Page If there is a mistake or a way you can improve it.
- Add a Page to the Manual if you would like to add an item to our manual
- Raise an Issue if there is something about this page you would like to improve, and git is unfamiliar to you.
ToDo: Add the page list of contributors