agriculture
agriculture copied to clipboard
Agriculture Module Settings - User defined UOM conversion table
During development of DocTypes, there are certain items that can probably be set globally from the settings page for Agriculture Module.
One of those ideas is to have a table where the user can specify conversions to apply given specific UOM. So, for example, user has two UOM that user created in ERPNext named "Pound" and another named "Kilogram". User should be able to select the conversion rate and enter his conversion units as 1 Kilogram = 2.204622622 Pounds. User can enter his own values to reflect regional customs, because The list should have no limit of unit conversions user desires. If "Kilogram" and "Pound" are already linked in this manner, then the inverse should be true (except for temperature, which involves functions!)
"(except for temperature, which involves functions!)" -that can easily be built in Th e concept of a master conversion table for standard UOMs is a useful concept at a level above the agriculture model (EG core). It probably shouldn't be isolated to ag use cases.
I believe that this can be a framework specific function to be added to the core as well. I had already added an issue related to the core in this post: #5032
I added some feature requests which include functionality for enhancing the UOM conversion factors, predefined units, a fairly comprehensive list of UOM conversions, and the idea for users to create their own UOM lists to share.
After I am done with my localized electronic invoicing version, I will assign programming resources (time) to the creation of this functionality, and then send a pull request.