Odoo Help

Welcome!

This community 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.

0

How to change behaviour of mass discount computation?

By
Malte Jörgens
on 4/12/16, 1:06 PM 360 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?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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