2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-02 05:26:45 +00:00
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
..
2023-03-02 08:24:31 +11:00
2023-02-26 23:33:23 +11:00
2022-11-14 15:58:22 +11:00
2023-02-26 23:33:23 +11:00
2023-02-17 11:42:48 +11:00
2023-03-02 13:51:52 +11:00
2023-02-20 18:48:55 +11:00
2023-02-17 13:33:36 +11:00
2023-02-17 13:33:36 +11:00