Merge lp:~openerp-dev/openobject-addons/6.0-opw-574271-skh into lp:openobject-addons/6.0
Status: | Approved |
---|---|
Approved by: | Naresh(OpenERP) |
Approved revision: | 5217 |
Proposed branch: | lp:~openerp-dev/openobject-addons/6.0-opw-574271-skh |
Merge into: | lp:openobject-addons/6.0 |
Diff against target: |
48 lines (+8/-6) 1 file modified
purchase/purchase.py (+8/-6) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-574271-skh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Naresh(OpenERP) (community) | Approve | ||
Review via email: mp+104235@code.launchpad.net |
Description of the change
Hello Sir,
{fix]: When we merge 2 Purchase order from the same Supplier, It merges the PO line but did not consider the price-list defined on the product form.
Scenario:
1. Create a "test product" and go-to Supplier tab.
2. Select a Supplier "Test Supplier" and define the price line eg: Qty =0-9 have price =100, Qty = 10-19 has price =90 and Qty = 20 and above has price =80.
3. Now create 2 PO with qty 10 in each(product price = 90), for same supplier as "Test Supplier" and merge the PO.
4. New created PO has qty=20 but the price is 90 where it should be 80.
This branch fixes the issue.
Thanks,
Somesh Khare
Unmerged revisions
- 5217. By Somesh Khare
-
[FIX] Purchase: Mergin of purchase order did not consider the Supplier Pricelist on the product form(Case: ref 574271)