openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #03607
[Merge] lp:~camptocamp/openerp-humanitarian-ngo/purchase-wkfl-fix-typo-nbi into lp:openerp-humanitarian-ngo/purchase-wkfl
Nicolas Bessi - Camptocamp has proposed merging lp:~camptocamp/openerp-humanitarian-ngo/purchase-wkfl-fix-typo-nbi into lp:openerp-humanitarian-ngo/purchase-wkfl.
Requested reviews:
OpenERP for Humanitarian Core Editors (humanitarian-core-editors)
For more details, see:
https://code.launchpad.net/~camptocamp/openerp-humanitarian-ngo/purchase-wkfl-fix-typo-nbi/+merge/205318
Fix typo in purchase order copy method
--
https://code.launchpad.net/~camptocamp/openerp-humanitarian-ngo/purchase-wkfl-fix-typo-nbi/+merge/205318
Your team OpenERP for Humanitarian Core Editors is requested to review the proposed merge of lp:~camptocamp/openerp-humanitarian-ngo/purchase-wkfl-fix-typo-nbi into lp:openerp-humanitarian-ngo/purchase-wkfl.
=== modified file 'purchase_requisition_extended/model/purchase_order.py'
--- purchase_requisition_extended/model/purchase_order.py 2014-02-06 13:56:33 +0000
+++ purchase_requisition_extended/model/purchase_order.py 2014-02-07 10:01:09 +0000
@@ -74,7 +74,7 @@
newid = super(purchase_order, self).copy(cr, uid, id, default=default,
context=context)
if initial_origin and 'requisition_id' in default:
- self.write(cr, SUPERUSER_ID, [newid], {'origin': origin}, context=context)
+ self.write(cr, SUPERUSER_ID, [newid], {'origin': initial_origin}, context=context)
return newid
Follow ups