Pricelist's rules are ignored when inserting a product in customer invoice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Good morning,
I have constated the following bug:
1) Steps to reproduce the issue you have observed
- Create a product with just a name and an Income Account
- Create a sale pricelist with an active version and a rule that match the product and that override the price (based on public price, New Price = Base Price * (1 + -1) + 200, for example)
- Create a customer with a default address, an account receivable and a sale pricelist set to the pricelist previously created
- Create a customer invoice for the client previously created
- Create a line in this invoice and select the product previously created
2) The result you observed
- The line's unit price is taken from the product's sale price field
3) The result you expected
- The line's would be calculated from the pricelist's rule, like when you create a sale order
4) The platform your are using
OpenERP - GTK Client - v6.0.2 on Windows Vista
OpenERP Server v6.0.2 on Ubuntu Server 10.04
5) The OpenERP version you are using
6.0.2