Merge lp:~unifield-team/unifield-wm/UF_2199 into lp:unifield-wm

Proposed by jftempo
Status: Merged
Merged at revision: 1852
Proposed branch: lp:~unifield-team/unifield-wm/UF_2199
Merge into: lp:unifield-wm
Diff against target: 14 lines (+2/-2)
1 file modified
account_corrections/wizard/analytic_distribution_wizard.py (+2/-2)
To merge this branch: bzr merge lp:~unifield-team/unifield-wm/UF_2199
Reviewer Review Type Date Requested Status
UniField Dev Team Pending
Review via email: mp+195938@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_corrections/wizard/analytic_distribution_wizard.py'
2--- account_corrections/wizard/analytic_distribution_wizard.py 2013-11-05 17:14:26 +0000
3+++ account_corrections/wizard/analytic_distribution_wizard.py 2013-11-20 10:58:13 +0000
4@@ -190,8 +190,8 @@
5 'distribution_id': distrib_id,
6 'currency_id': ml and ml.currency_id and ml.currency_id.id or company_currency_id,
7 })
8- # create the ana line
9- self.pool.get('funding.pool.distribution.line').create_analytic_lines(cr, uid, [new_distrib_line], ml.id, date=wizard.date, document_date=orig_document_date, source_date=orig_date)
10+ # create the ana line (pay attention to take original date as posting date as UF-2199 said it.
11+ self.pool.get('funding.pool.distribution.line').create_analytic_lines(cr, uid, [new_distrib_line], ml.id, date=orig_date, document_date=orig_document_date, source_date=orig_date)
12
13 for line in to_delete:
14 # delete distrib line

Subscribers

People subscribed via source and target branches