Files
InvenTree/InvenTree
Oliver 647c3ade20 Pint unit fix (#5381)
* Accept conversion of fractional values

- e.g. "1/10" is a valid input value
- pint dimensions returns strange results sometimes

* Add option (default) to return value without units

- Handles conversion for "stringish" input values

* Update unit tests

* Fix return from convert_physical_value method

* Update unit tests

* Improved checking for conversion code

* Call to_base_units first

* Conversion depends on whether units are supplied or not

* Updates to unit testing

* Handle conversion of units for supplier parts

- Includes some refactoring
2023-08-02 14:46:28 +10:00
..
2023-08-02 14:46:28 +10:00
2023-08-02 14:46:28 +10:00
2023-07-20 18:33:56 +10:00
2023-08-02 14:46:28 +10:00
2023-08-01 12:52:36 +10:00
2023-07-21 08:54:57 +10:00