openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #03523
[Merge] lp:~yann-papouin/ocb-addons/6.1-bug-983764-partner-task-procurement into lp:ocb-addons/6.1
Yann Papouin has proposed merging lp:~yann-papouin/ocb-addons/6.1-bug-983764-partner-task-procurement into lp:ocb-addons/6.1.
Requested reviews:
OpenERP Community Backports Team (ocb)
Related bugs:
Bug #983764 in OpenERP Community Backports (Addons): "partner not filled on task with project_mrp"
https://bugs.launchpad.net/ocb-addons/+bug/983764
For more details, see:
https://code.launchpad.net/~yann-papouin/ocb-addons/6.1-bug-983764-partner-task-procurement/+merge/205117
--
https://code.launchpad.net/~yann-papouin/ocb-addons/6.1-bug-983764-partner-task-procurement/+merge/205117
Your team OpenERP Community Backports Team is requested to review the proposed merge of lp:~yann-papouin/ocb-addons/6.1-bug-983764-partner-task-procurement into lp:ocb-addons/6.1.
=== modified file 'project_mrp/project_procurement.py'
--- project_mrp/project_procurement.py 2011-12-19 16:54:40 +0000
+++ project_mrp/project_procurement.py 2014-02-06 10:40:47 +0000
@@ -79,6 +79,7 @@
'description': procurement.note,
'project_id': project and project.id or False,
'company_id': procurement.company_id.id,
+ 'partner_id': procurement.sale_line_id and procurement.sale_line_id.order_id.partner_id.id,
},context=context)
self.write(cr, uid, [procurement.id], {'task_id': task_id, 'state': 'running'}, context=context)
return task_id
Follow ups