Odoo Help

0

different prices according to quantity

By
Marcelo Obachi
on 10/24/13, 8:45 PM 1,124 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--
16009
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0.

Completed Odoo Functional and Technical Training.

Major Skills:

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

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. 

I am a skilled Communicator and I only take the serious things seriously!

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

Register

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

0 follower(s)

Stats

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