Contributors mailing list archives
Re: Convert quantity from an UoM to another oneby
Thanks for your insight, I think this is noticeably different 🤔
Le mer. 24 févr. 2021 à 16:37, Pedro M. Baeza (Tecnativa) <email@example.com> a écrit :
Check product_secondary_unit and the rest of the family.Regards.El mié., 24 feb. 2021 16:02, Pierre Verkest <firstname.lastname@example.org> escribió:I'd like to propose a new module in product-attribute repo to convert from an UoM to another one, I would suggest "base_uom_converter" or "uom_converter".
This conversion would work in oneway as it requires a scale to use it.
For instance, as a developer, I'm generating sales orders from business code. I know that the sale is regarding a given distance of something "D", the work force can be translated from a scale where distance "D" would be the scale entry. The expected result "R" would be the amount of time with a given formula:
R (hours) = scale line fix amount (hours) + D (meter) * scale line coef ( hours / meter).
I guess this could be hooked to the existing system while we change the uom on a sale order line but this is not the intent of this module from my point of view, that's why I suggest base_uom_converter !
Does this exist already ? Does the OCA want to maintain such a module ?