openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #22421
[Bug 319020] Re: Price set to 0 with price lists based on another one
Hello Eduardo,
I agree with you, your first example are showing the real problem
returning zero for the products that are not includes on the pricelist
(B).
I will try your code to resolve my problem.
Are you still using this code, Eduardo?
Waiting your comments,
Marc
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/319020
Title:
Price set to 0 with price lists based on another one
Status in OpenERP Addons (modules):
Invalid
Bug description:
version trunk.
Here an example how it fails calculating the price in sale order:
Pricelist_A > Rule_1: No filter for products. Computation based on another pricelist (B)
Pricelist_A > Rule_2: No filter for products. Computation = price list * 1.25
No more rules.
Pricelist_B > Rule_1: Filter for product = PC1. Computation = price list * 0 + 99
No more rules.
Products:
PC1: list price = 400€
PC2: list price = 500€
Sale Order:
Price List applied: Pricelist A
Sale order line with product PC1: unit price = 99€ > Ok, good !
Sale order line with product PC2: unit price = 0 € > Ko, not good ! The correct price is 625 €.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/319020/+subscriptions