2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00
Matthias Mair d5086b2fb1
User defined states (#7862)
* Add custom user defined states

* make tests more reliable

* fix list options

* Adapt version

* do not engage if rebuilding

* remove unneeded attr

* remove unneeded attr

* fix enum imports

* adapt cove target

* Add status_custom_key to all other serializers

* fix serializer method

* simplify branching

* remove unneeded imports

* inherit read_only status from leader field

* Add more tests

* fix tests

* add test for function

* refactor for easier testing

* move test to seperate class

* Add options testing

* extend serializer

* add test for all states and refactor to reuse already build functions

* use custom field in PUI too

* reset diff

* style fix

* fix comparison

* Add test for str

* test color exceptions too

* remove user state from tracking

* Add intro from model fields too

* update docs

* simplify implementation

* update tests

* fix name

* rename test

* simplify tags and test fully

* extend test to machine status

* move logic for response formatting over

* extend api response with machine  status

* ensure only direct subclasses are discovered

* test for length of total respone too

* use new fields on PUI too

* fix test assertion with plugins enabled

* also observe rendering in filters

* Add managment endpoints and APIs

* Add contenttypes to PUI renderes

* use filteres instead

* fix import order

* fix api route definition

* move status choices to serializer

* fix lookup

* fix filtering

* remove admin integration

* cleanup migration

* fix migration change

* cleanup code location

* fix imports

* Add docs for custom states

* add links to custom status
2024-08-22 07:33:15 +10:00
..
2024-03-02 11:28:37 +11:00
2023-12-14 11:13:50 +11:00
2024-08-10 09:26:03 +10:00
2024-08-21 16:31:48 +10:00
2024-08-22 07:33:15 +10:00
2024-07-22 07:44:42 +10:00
2024-08-22 07:33:15 +10:00
2024-08-22 07:33:15 +10:00
2024-08-21 15:45:47 +10:00
2024-06-25 20:52:34 +10:00
2024-08-10 09:26:03 +10:00
2024-08-22 07:33:15 +10:00
2024-03-02 11:28:37 +11:00
2023-04-22 23:35:25 +10:00
2024-04-23 17:15:52 +10:00
2023-04-27 22:27:21 +10:00
2024-01-11 14:40:07 +11:00
2023-04-22 22:40:29 +10:00
2023-04-22 22:40:29 +10:00
2024-05-26 22:09:08 +10:00