InvenTree/InvenTree/plugin/samples
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
..
event Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
integration Extend functionality of custom validation plugins (#4391) 2023-03-07 22:43:12 +11:00
locate [BUG] Plugin Schedule do not update when beeing changed + plugin testing (#4243) 2023-01-25 09:41:20 +11:00
__init__.py refactor app 2021-10-08 22:08:09 +02:00