2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 03:56:43 +00:00
Oliver 6d3978ea28
Add database model for defining custom units (#5268)
* Add database model for defining custom units

- Database model
- DRF serializer
- API endpoints

* Add validation hook

* Custom check for the 'definition' field

* Add settings page for custom units

- Table of units
- Create / edit / delete buttons

* Allow "unit" field to be empty

- Not actually required for custom unit definition

* Load custom unit definitions into global registry

* Docs: add core concepts page(s)

* Add some back links

* Update docs

* Add unit test for custom unit conversion

* More unit testing

* remove print statements

* Add missing table rule
2023-07-19 06:24:16 +10:00
..
2023-05-02 20:03:52 +10:00
2023-07-17 21:39:53 +10:00
2022-05-20 13:35:07 +02:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2022-11-05 01:05:54 +11:00
2022-05-20 13:35:07 +02:00
2023-06-20 12:39:18 +10:00
2022-05-20 13:35:07 +02:00
2023-06-20 07:45:35 +10:00
2023-05-02 20:03:52 +10:00
2022-05-20 13:35:07 +02:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2021-11-15 23:06:15 +11:00
2023-03-20 07:21:27 +11:00
2022-05-20 13:35:07 +02:00
2022-01-21 02:11:34 +01:00
2022-01-21 02:11:34 +01:00
2022-01-21 02:11:34 +01:00
2022-05-20 13:35:07 +02:00
2023-06-20 07:45:35 +10:00
2023-05-02 20:03:52 +10:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00