Skip to Content
Menu
This question has been flagged
1712 Views

Hello everyone,

I have the need to calculate delivery price based on both "fixed price" and "excess weight" for a product.

For instance:

if weight > 2 kg === price should be (fixed $20,00), plus ($5,00 * excess weight)

- A product with 3 kg: 20 + (5*(3kg-2kg)): $25,00

- A product with 4kg: 20 + (5*(4kg-2kg)): $30,00

Can anyone help me setup this delivery rules in Odoo 12?

Thank you in advance



Avatar
Discard

Hello,
I don't have the exact answer but I'm sure this can be done with an automated action on creation of a new record.
By running a python code that adds a line with the shipping method's price computed based on the rule you mentionned.

Author

Thanks Julien,
I thought there was an easier solution other creating any python code an using only core Odoo calculations/formulas.
Will try that option.
Thank you once again and best regards

Related Posts Replies Views Activity
0
Aug 24
139
1
Jun 24
532
2
May 24
486
0
Mar 24
265
0
Mar 24
274