Merge lp:~openerp-dev/openobject-addons/7.0-opw-592447-rha into lp:openobject-addons/7.0
Status: | Approved |
---|---|
Approved by: | Naresh(OpenERP) |
Approved revision: | 9133 |
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-opw-592447-rha |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
42 lines (+8/-7) 1 file modified
product/pricelist.py (+8/-7) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-592447-rha |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Naresh(OpenERP) (community) | Approve | ||
Review via email: mp+164163@code.launchpad.net |
Description of the change
On sales order, when you have pricelist configured with the rule that calculates price based on
supplier price on the product form, that price is not getting used.
Scenario:
* I want to sell product based on the price on which this product's supplier delivers
* create sales pricelist having version rule based on 'Supplier prices on the product form'
* selecting product on sales item does not fill unit price based on it's supplier price
Also there is a problem when we have any version rule based on 'Other Pricelist' nestedly.
When selling any product, it checks customer's id on the product_
price(this is actually a case for purchase) and we will never find customer id on this table
so there is not need to check it, and simply get supplier's price which satisfies the qty criteria.
Unmerged revisions
- 9133. By Rifakat Husen (OpenERP)
-
[FIX] product: selling product with sales pricelist on version rule based on supplier price does not work