#6201 (Default values for "Team" and "Subscription" of new tickets)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kurzbeschreibung
To increase usability of Jane, we should have meaningful default values for "Team" and "Subscription" when creating a new ticket.
Do we want to inject a field default_order to User?
Kinder
Kommentare
- 1 Jahr, 3 Monate ago von Luc Saffre about #6201 (Default values for "Team" and "Subscription" of new tickets) : These two fields are an interesting example of where to define and document such things. I do not yet know how to manage this situation in an elegant way. We cannot (don't want to) define them directly on the User model because they refer to the XL. Maybe replace the calls to inject_field by two mod...
- 1 Jahr, 3 Monate ago von Luc Saffre about #6201 (Default values for "Team" and "Subscription" of new tickets) : Next change: I renamed default_order to current_order and added another field current_group. And both fields are now shown in the UserDetail of Noi. They are added to users.User by the XL tickets plugin. They both are potential dummy fields (current_order requires invoicing, current_group requires g...
- 1 Jahr, 3 Monate ago von Luc Saffre about #6201 (Default values for "Team" and "Subscription" of new tickets) : I pushed my changes. To do: what about the default value for the team?
- 1 Jahr, 3 Monate ago von Luc Saffre about #6201 (Default values for "Team" and "Subscription" of new tickets) (1 Antwort) : The pointer to order_model should maybe not be on User but on working.Contract.
- 1 Jahr, 3 Monate ago von Luc Saffre about #6201 (Default values for "Team" and "Subscription" of new tickets) : Created new Ticket #6201 (Do we want to inject a field default_order to User?).