InvenTree/InvenTree/build
Oliver 2aef05c1c3
Fix validation for Build model (#6038)
* Fix validation for Build model

- Move checks into clean() method
- Allows errors to be handled cleanly when editing from the admin interface

* Fix unit test
2023-12-06 09:48:49 +11:00
..
fixtures Reference fields (#3267) 2022-07-11 00:01:46 +10:00
migrations Add ProjectCode support to build orders (#4808) 2023-06-14 11:23:35 +10:00
templates/build Fix admin site - Custom admin URL (#5766) 2023-10-21 22:12:14 +11:00
__init__.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
admin.py Build Order Updates (#4855) 2023-06-13 20:18:32 +10:00
api.py refactor: refactor unnecessary `else` / `elif` when `if` block has a `return` statement (#5735) 2023-10-18 09:06:54 +11:00
apps.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
models.py Fix validation for Build model (#6038) 2023-12-06 09:48:49 +11:00
serializers.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
tasks.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
test_api.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
test_build.py Fix validation for Build model (#6038) 2023-12-06 09:48:49 +11:00
test_migrations.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
tests.py Cleanup / consolidate unit testing code (#4831) 2023-05-17 07:35:26 +10:00
urls.py [Feature] Add RMA support (#4488) 2023-03-29 10:35:43 +11:00
validators.py refactor: remove blank lines after docstring (#5736) 2023-10-18 07:28:57 +11:00
views.py Build Order Updates (#4855) 2023-06-13 20:18:32 +10:00