[FR] Introduce optional physical units to parameter input

This issue has been tracked since 2023-01-13.

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find similar feature request

Problem statement

Currently, you have to enter the value of a parameter always in the same unit, which is mostly okay - except when someone in your team uses non-SI measurement systems. Then you start calculating.

Suggested solution

Integrate pinet to facilitate a unit conversion. This would also enable setting metric or imperial in the user settings.

  • API endpoint to convert from any unit to any
  • Add switch to parameter to enable base unit saving
  • Make the value of parameter optionally unit-safe
  • Add dynamic input to the interface with unit-diverse input
  • Opt: Detect unit from test
  • Opt: Add babel to include translations of units
  • Opt: Define custom units
  • Opt: Add template tag to do unit transformation in reports

Describe alternatives you've considered

N/A

Examples of other systems

I know partskeepr could do something similar. The 'big-boy' PLMs have this integrated as well.

Do you want to develop this?

  • I want to develop this.
More Details About Repo
Owner Name inventree
Repo Name InvenTree
Full Name inventree/InvenTree
Language Python
Created Date 2017-03-23
Updated Date 2023-03-31
Star Count 2586
Watcher Count 61
Fork Count 411
Issue Count 141

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date