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
1=== modified file 'account/invoice.py'
2--- account/invoice.py 2013-11-25 15:44:59 +0000
3+++ account/invoice.py 2014-01-15 20:25:56 +0000
4@@ -958,6 +958,11 @@
5 move['period_id'] = period_id
6 for i in line:
7 i[2]['period_id'] = period_id
8+
9+ # ticket utp917 - need seqnums variable in the context if ir is in *args
10+ for argdict in args:
11+ if 'seqnums' in argdict:
12+ context['seqnums'] = argdict['seqnums']
13
14 move_id = self.pool.get('account.move').create(cr, uid, move, context=context)
15 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: