Rules in pricelists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
gpa(OpenERP) |
Bug Description
On the stable version 5.0.6, there's a problem in purchase pricelist when we define rules based on "Partner section of the product form". Here is an example:
- I create a purchase pricelist with 1 unique version. This version contains 2 rules.
- First rule (sequence 1) says that the system should take the partner section of the product form, instead of the field "Cost price", for any product from any category.
- Second rule (sequence 2) says that the system should take the "Cost price".
So, in this configuration, what we want to have is that when we create a purchase order, the system uses the partner price when it's defined on the product form, otherwise it should uses the cost price. Indeed, some products have a supplier price, and some other products don't have supplier prices, but just a cost price.
The problem that appears: on the purchase order, for products that have a supplier price defined, the system take the right price (the one on the "Partner section of the product form"), but for product that don't have it, the system doesn't use the cost price, it only returns 0,00 as price. Means that the first rule is applied but not the second one.
Related branches
Changed in openobject-addons: | |
status: | New → Confirmed |
assignee: | nobody → gpa(Open ERP) (gpa-openerp) |
status: | Confirmed → In Progress |
It has been improved by revision 2573 <email address hidden>.
Thank you.