Odoo Help


How to change behaviour of mass discount computation?

Malte Jörgens
on 4/12/16, 1:06 PM 784 views

We have a subscription service which is billed with odooV8. The invoice should include the number of subscriptions as well as the amount of months the subscription was used.

To separate these two components, we use the uom_qty field for the subscription count and the UoM field for the amount of months, so we can create a subscription product with the price per subscription and month. As Unit of Measure the base unit is one month and there are more like quarter, half-year and year.

In addition we have a discount for customers with a high number of subscriptions, i.e. 5% discount when the customer has more than ten subscriptions. The discount is being calculated with a pricelist rule, which counts the products based on the standard UoM for that product.

So when a customer has an invoice with 8 subscriptions for three months, he should not get a discount. However, Odoo calculates the mass discount in the product's standard UoM which is 8 subscriptions * 3 months = 24 and uses that value for processing the discount for the pricelist.

How do we get around this nicely? Should we create a product for each subscription length with fixed prices? Or is there a better way to do this?

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/12/16, 1:06 PM
Seen: 784 times
Last updated: 4/12/16, 1:40 PM