Merge lp:~camptocamp/openerp-humanitarian-ngo/purchase-wkfl-fix-typo-nbi into lp:openerp-humanitarian-ngo/purchase-wkfl

Proposed by Nicolas Bessi - Camptocamp
Status: Merged
Merged at revision: 75
Proposed branch: lp:~camptocamp/openerp-humanitarian-ngo/purchase-wkfl-fix-typo-nbi
Merge into: lp:openerp-humanitarian-ngo/purchase-wkfl
Diff against target: 10 lines (+1/-1)
1 file modified
purchase_requisition_extended/model/purchase_order.py (+1/-1)
To merge this branch: bzr merge lp:~camptocamp/openerp-humanitarian-ngo/purchase-wkfl-fix-typo-nbi
Reviewer Review Type Date Requested Status
Romain Deheele - Camptocamp (community) code review Approve
Leonardo Pistone Approve
Matthieu Dietrich @ camptocamp (community) code review, no test Approve
OpenERP for Humanitarian Core Editors Pending
Review via email: mp+205318@code.launchpad.net

Description of the change

Fix typo in purchase order copy method

To post a comment you must log in.
Revision history for this message
Matthieu Dietrich @ camptocamp (mdietrich-c2c) wrote :

LGTM

review: Approve (code review, no test)
Revision history for this message
Leonardo Pistone (lepistone) wrote :

looks good!

review: Approve
Revision history for this message
Romain Deheele - Camptocamp (romaindeheele) wrote :

Hello,

OK, LGTM (my own typo, sorry)

Romain

review: Approve (code review)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'purchase_requisition_extended/model/purchase_order.py'
2--- purchase_requisition_extended/model/purchase_order.py 2014-02-06 13:56:33 +0000
3+++ purchase_requisition_extended/model/purchase_order.py 2014-02-07 10:01:09 +0000
4@@ -74,7 +74,7 @@
5 newid = super(purchase_order, self).copy(cr, uid, id, default=default,
6 context=context)
7 if initial_origin and 'requisition_id' in default:
8- self.write(cr, SUPERUSER_ID, [newid], {'origin': origin}, context=context)
9+ self.write(cr, SUPERUSER_ID, [newid], {'origin': initial_origin}, context=context)
10 return newid
11
12

Subscribers

People subscribed via source and target branches