Merge lp:~unifield-team/unifield-addons/unifield-addons-UF_1307 into lp:unifield-addons

Proposed by jftempo
Status: Merged
Merged at revision: 4554
Proposed branch: lp:~unifield-team/unifield-addons/unifield-addons-UF_1307
Merge into: lp:unifield-addons
Diff against target: 12 lines (+2/-0)
1 file modified
account/invoice.py (+2/-0)
To merge this branch: bzr merge lp:~unifield-team/unifield-addons/unifield-addons-UF_1307
Reviewer Review Type Date Requested Status
UniField Dev Team Pending
Review via email: mp+120601@code.launchpad.net
To post a comment you must log in.
4552. By Matthieu Dietrich <mdietrich@chloups211>

UF-1307: [FIX] issue with unit tests

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 2012-03-14 13:18:15 +0000
+++ account/invoice.py 2012-08-22 09:39:39 +0000
@@ -342,6 +342,8 @@
342 ctx = context.copy()342 ctx = context.copy()
343 if vals.get('type', 'in_invoice') in ('out_invoice', 'out_refund'):343 if vals.get('type', 'in_invoice') in ('out_invoice', 'out_refund'):
344 ctx = self.get_log_context(cr, uid, context=ctx)344 ctx = self.get_log_context(cr, uid, context=ctx)
345 if 'type' in vals:
346 ctx.update({'type': vals['type']})
345 message = _("Invoice '%s' is waiting for validation.") % name347 message = _("Invoice '%s' is waiting for validation.") % name
346 self.log(cr, uid, inv_id, message, context=ctx)348 self.log(cr, uid, inv_id, message, context=ctx)
347 return res349 return res

Subscribers

People subscribed via source and target branches

to all changes: