Contributors mailing list archives

contributors@odoo-community.org

[ADD] sale_packaging_price: New module to assign a package price

by
Tecnativa. S. L., Rafael Blasco
- 14/11/2015 04:58:20

Hi all,

 

Maybe this is a functional question but we are developing a package Price for OCA and we could be better.

 

Odoo, what I have, what I want, what we must develop:

 

-          We have a product “Bottle Coca cola 33cl”

-          We buy 1 unit (package) of 100 bottles of “Bottle Coca cola 33cl”

-          We pay for this package a price, the price if for the product “Bottle Coca cola 33cl”, 1 bottle 0.50€ then 50€ for the package

-          We want to have in stock 100 “Bottle Coca cola 33cl”

-          We sell this “Bottle Coca cola 33cl” in the different packages: 2 bottles, 4 bottles and 6 bottles.

-          We don’t want to have any production process as supplier make this for us.

-          We want to set the price of each package: 2 bottles 2€, 4 bottles 3.5€, 6 bottles 4.5€

-          When selling we want to sell 1 or more packages of 2 bottles, 1 or more packages of 4 bottles, 1 or more packages of 6 bottles.

-          After selling for example 1 package of 2 bottles, stock must reduce 2 bottles (obviously) so we have 98 bottles in stock.

 

Any suggestions? We are working here: https://github.com/OCA/sale-workflow/pull/221

 

I guess Odoo or OCA already make something similar but we don’t know how.

 

Thanks in advance

 

Regards,

Rafael