2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 03:56:43 +00:00
Matthias Mair 974ea1ead3
State transition support for generic states (#6017)
* Added state transition support to generic states

* make can_cancel a property everywhere

* add check if method is defined

* add unit tests

* extend tests

* fixed loading of broken classes

* added test to ensure transition functions are called

* added cleaning step for custom classes

* change description texts

* added state transitions to SalesOrder, ReturnOrder

* renamed internal functions

* reduced diff

* fix keyword def

* added return funcion

* fixed test assertation

* replace counting with direct asserting

* also pass kwargs

* added sample for transition plugin
2023-12-07 14:48:09 +11:00
..
2023-12-06 17:17:15 +11:00
2023-12-06 17:17:24 +11:00
2023-02-10 10:39:57 +11:00
2023-12-06 17:17:15 +11:00
2023-11-27 22:13:06 +11:00