Merge lp:~unifield-team/unifield-addons/UTP-917 into lp:unifield-addons

Proposed by jftempo
Status: Merged
Merged at revision: 4610
Proposed branch: lp:~unifield-team/unifield-addons/UTP-917
Merge into: lp:unifield-addons
Diff against target: 15 lines (+5/-0)
1 file modified
account/invoice.py (+5/-0)
To merge this branch: bzr merge lp:~unifield-team/unifield-addons/UTP-917
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+201845@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'account/invoice.py'
--- account/invoice.py 2013-11-25 15:44:59 +0000
+++ account/invoice.py 2014-01-15 20:25:56 +0000
@@ -958,6 +958,11 @@
958 move['period_id'] = period_id958 move['period_id'] = period_id
959 for i in line:959 for i in line:
960 i[2]['period_id'] = period_id960 i[2]['period_id'] = period_id
961
962 # ticket utp917 - need seqnums variable in the context if ir is in *args
963 for argdict in args:
964 if 'seqnums' in argdict:
965 context['seqnums'] = argdict['seqnums']
961966
962 move_id = self.pool.get('account.move').create(cr, uid, move, context=context)967 move_id = self.pool.get('account.move').create(cr, uid, move, context=context)
963 new_move_name = self.pool.get('account.move').browse(cr, uid, move_id).name968 new_move_name = self.pool.get('account.move').browse(cr, uid, move_id).name

Subscribers

People subscribed via source and target branches

to all changes: