Merge lp:~openerp-dev/openobject-addons/6.0-opw-382052-han into lp:openobject-addons/6.0
Status: | Approved |
---|---|
Approved by: | Naresh(OpenERP) |
Approved revision: | 5041 |
Proposed branch: | lp:~openerp-dev/openobject-addons/6.0-opw-382052-han |
Merge into: | lp:openobject-addons/6.0 |
Diff against target: |
24 lines (+6/-0) 1 file modified
project_mrp/project_procurement.py (+6/-0) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-382052-han |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Naresh(OpenERP) (community) | Approve | ||
Hardik Ansodariya (OpenERP) | Pending | ||
Xavier ALT | Pending | ||
Review via email: mp+99310@code.launchpad.net |
This proposal supersedes a proposal from 2012-03-20.
Description of the change
Hello,
Fixed the issue of when we have a product in type 'Service' that generates a task
when confirming a Sales Order, the name of the partner is not kept from the
order
Thanks
Hardik
Unmerged revisions
- 5041. By Hardik Ansodariya (OpenERP)
-
[Fixed] project_mrp: Add validation if line_id then get partner_id else False (Maintanace Case: 382052)
- 5040. By Hardik Ansodariya (OpenERP)
-
[Fixed] project_mrp: Add validation if line_id then get partner_id else False (Maintanace Case: 382052)
- 5039. By Hardik Ansodariya (OpenERP)
-
[FIX] project_mrp: project_mrp: when confirming a Sales Order, the name of the partner is not kept by using procurement_id (Maintenance Case : 382052)
- 5038. By Hardik Ansodariya (OpenERP)
-
[FIX] project_mrp: when confirming a Sales Order, the name of the partner is not kept from the :(Maintenance Case : 382052)
Hello,
Better than searching for sale order with "name" like procurement "origin", we could use "procurement_id" on sale.order.line. Looking at sale/sale.py, line 731, the _exact_ "procurement_id" is written on sale.order.line just after it's creation.
And also, make sure if we do not found any sale.order.line, we should not browse it + task 'partner_id' field should stay as False.
Cheers,
Xavier