InvenTree/InvenTree/part/fixtures
Oliver abeb85cbb3
Extend functionality of custom validation plugins (#4391)
* Pass "Part" instance to plugins when calling validate_serial_number

* Pass part instance through when validating IPN

* Improve custom part name validation

- Pass the Part instance through to the plugins
- Validation is performed at the model instance level
- Updates to sample plugin code

* Pass StockItem through when validating batch code

* Pass Part instance through when calling validate_serial_number

* Bug fix

* Update unit tests

* Unit test fixes

* Fixes for unit tests

* More unit test fixes

* More unit tests

* Furrther unit test fixes

* Simplify custom batch code validation

* Further improvements to unit tests

* Further unit test
2023-03-07 22:43:12 +11:00
..
bom.yaml Allow searching of BOM List API endpoint (#3296) 2022-07-06 10:09:58 +10:00
category.yaml yaml! 2021-05-06 14:38:13 +02:00
params.yaml Improvements for part creation API endpoint (#4281) 2023-02-02 09:24:16 +11:00
part_pricebreaks.yaml added test for internal prices 2021-06-13 15:01:03 +02:00
part.yaml Extend functionality of custom validation plugins (#4391) 2023-03-07 22:43:12 +11:00
test_templates.yaml fix endline 2022-05-20 13:35:07 +02:00