Skip to content

Create default otrs configuration and use them if not configuration is received

Administrator requested to merge refactor/create-default-otrs-configuration into master

https://trello.com/c/x4bYzYqJ/923-a%C3%B1adir-otrs-config-a-libreria-scotrs

Create OTRS Configuration by service

The OTRS Configuration model in Tryton contains the configuration data needed to create the Mobile/ADSL/Fiber tickets.

We want to separate this data into three models:

  • MobileTicketConfiguration
  • ADSLTicketConfiguration
  • FiberTicketConfiguration

And these models expose the same API with the data.

Use the new models only if any configuration is received

We modify the Ticket constructor to generate a default configuration if any configuration is received or to wrap the configuration received to exposes the same API.

Merge request reports

Loading