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

different prices according to quantity

By
Marcelo Obachi
on 10/24/13, 8:45 PM 1,078 views

i have the following tariff scheme: the consumption of certain product is divided in consumption categories, for example

category 1: from 1 to 50, costs $10 each unit category 2: from 51 to 150, costs $11 each unit category 3: from 151 to 250, costs $12 each unit

i tried using pricelists but it doesn't work the way i need it:

if i consume 200 units pricelists give me a total of 200*12=$2400 instead i need the following calculation:

50 * 10 = $500 (first 50 units use cat1 price)

100 * 11 = $1100 (the next 100 units use cat2 price)

50 * 12 = $600 (the last 50 units use cat3 price)

total = $500+$1100+$600 = $2200

so, is there anyway to implement this?

0

Ray Carnes

--Ray Carnes--
15717
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 10/28/13, 7:19 PM

Just compensate each price with the amount you are overcharging for the lower quantities.

A fixed price per unit for 51 and above will overcharge by $1 per unit for the first 50 ($50), so subtract $50.

A fixed price per unit for 151 and above will overcharge by $2 per unit for the first 50 ($100) and $1 per unit for the next 100 ($100), so subtract $200

Rules:

 No Min Qty: Price = Baseprice * ( 1 + 0 ) + 0
Min Qty  51: Price = Baseprice * ( 1 + .1 ) + -50
Min Qty 151: Price = Baseprice * ( 1 + .2 ) + -200

200 units = 200 x $12 minus 200 = $2,200

it doesn't work, the -50 or -200 terms are applied to every single unit in price calculation

Marcelo Obachi
on 10/29/13, 12:39 PM

Exactly. But - the calculations above correct for this by removing an amount equal to what was overcharged. For 51 units, the unit price is $11 per unit, but $50 is taken away, accounting for the first 50 units being only $10. All of the formulas charge the SAME unit price for every unit, then compensate for the overcharge by removing it (the last part of the calculation). Try it.

Bista Solutions US, Ray Carnes
on 10/29/13, 1:19 PM

i tried your advice and i got the following result: if i sell up to 50 units everything is ok, but if i sell 51 i get a total of 51 * ((10 * 1.1) - 50) = 51 * (11 - 50) = −1989

Marcelo Obachi
on 10/30/13, 3:32 PM

Yes - you are correct. It won't work this way. The price in the pricelist is a UNIT price. Sorry - I don't know an easy way to support this, without working out all of the unit prices beforehand and having a pricelist with every possible quantity that can be sold.

Bista Solutions US, Ray Carnes
on 10/30/13, 6:57 PM

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

0 follower(s)

Stats

Asked: 10/24/13, 8:45 PM
Seen: 1078 times
Last updated: 3/16/15, 8:10 AM