Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
101 Weergaven

I’m working with Odoo 19 and I have a question about product variant pricing.


In my case, I have a storable product whose UoM is cm², because it’s sold and costed based on area. I’ve also added an attribute called “Cutting Required” with values Yes / No.


When the attribute value Yes is selected, I would like to add a fixed price (e.g. +10 €) per sales order line — not per cm².


However, the current behavior in Odoo applies the extra price per UoM, which means +10 €/cm² instead of +10 € per order line.


Does anyone know if there is a way to:

  • add a fixed surcharge per variant or per sales order line,
  • independent of the product’s UoM,
  • and ideally using native Odoo functionality (without heavy custom development)?


Any suggestions, workarounds, or modules that allow this behavior would be greatly appreciated!


Thanks in advance!

Avatar
Annuleer
Beste antwoord

Hi,

In Odoo 19, extra prices set on product variants are applied per unit of measure (UoM), meaning the system multiplies the surcharge by the quantity sold. Unfortunately, Odoo does not provide a native option to apply a fixed surcharge per sales order line that is independent of the UoM or quantity.

A practical workaround is to create a separate service product, such as Cutting Charge, with a fixed price (e.g., €10). This product can be automatically added as a new line in the sales order whenever the “Cutting Required = Yes” attribute is selected. Another option is to make a small customization by extending the sale.order.line model and adjusting the price computation to add a fixed surcharge when the “Cutting Required” variant is chosen.

If using Odoo’s Product Configurator, it’s also possible to modify the configuration templates to support fixed extra costs. In short, while Odoo doesn’t natively support fixed surcharges per line, it can be implemented easily with a light customization or by adding an automatic “Cutting Charge” product line.

Hope it helps

Avatar
Annuleer
Beste antwoord

Define a Product Warning reminding people to add a separate Cutting Service.

Enable this option in Sales --> Configuration --> Settings:


Look for the section named "Warning on Sales Orders" at the bottom of the Sales Tab on the Product.

When it is added to a Sales Order, the Waning will show at the top:

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
okt. 24
1270
1
feb. 24
2944
0
aug. 23
1870
1
mrt. 23
2977
1
okt. 25
3163