Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Product variant price based on calculation using attribute values

by
Data Dance s.r.o., Radovan Skolnik
- 01/07/2025 12:38:43

Hello,


the customer is manufacturing stainless steel shelves and such for kitchens. The variants are based on width and length. However there are some optional features that can be added which would need some custom calculation logic to get their price. Few examples:

extra rim on the side: [width] * constant

extra bottom: [width] * [length] * other_constant

...


So generally taking the value(s) of attributes and using them in formula to get price for extra attribute. I have seen some commercial modules on appstore but I'd obviously rather go with OCA.


Thank you. Best regards


    Radovan Skolnik

Follow-Ups