Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Product variant price based on calculation using attribute values

by
MoaHub, Graeme Gellatly
- 01/07/2025 21:51:04
I have done exactly this. The concept actually worked in reverse. First it used product configurator, and my own module of mrp dynamic line. From there we created a module similar to compute cost from bom, which computed list from bom then applied pricelist logic.

But in basic terms, use the bom components to determine the list price. 

Le mer. 2 juil. 2025, 02:13, Radovan Skolnik <notifications@odoo-community.org> a écrit :

Matt,


thank you for suggestion. While there are plenty options regarding attributes / values / their combinations, I fail to see where I could use those values in formulas to get some special pricing. Maybe I am missing something?


Best regards


    Radovan


On utorok 1. júla 2025 15:22:01 CEST Matt Taylor wrote:

> https://github.com/oca/product-configurator [1]

> On Tue, Jul 1, 2025 at 4:43 AM Radovan Skolnik <

> notifications@odoo-community.org [2] > wrote: 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

>

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15 [3]

> Post to: mailto: contributors@odoo-community.org [4]

> Unsubscribe: https://odoo-community.org/groups?unsubscribe [5]

>

>

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15 [6]

> Post to: mailto:contributors@odoo-community.org

> Unsubscribe: https://odoo-community.org/groups?unsubscribe [7]

>

>

>

> [1] https://github.com/oca/product-configurator

> [2] mailto:notifications@odoo-community.org

> [3] https://odoo-community.org/groups/contributors-15

> [4] mailto:contributors@odoo-community.org

> [5] https://odoo-community.org/groups?unsubscribe

> [6] https://odoo-community.org/groups/contributors-15

> [7] 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

Reference