Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Convert quantity from an UoM to another one

by
Pierre Verkest
- 24/02/2021 17:45:21
Thanks for your insight, I think this is noticeably different 🤔

Le mer. 24 févr. 2021 à 16:37, Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> a écrit :
Check product_secondary_unit and the rest of the family.

Regards.

El mié., 24 feb. 2021 16:02, Pierre Verkest <pierreverkest84@gmail.com> 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 ?
--
Pierre Verkest
06 81 12 25 20
Github: petrus-v - Twitter: petrusv84 - Linkedin: pierre-verkest

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe



--
Pierre

Reference