Merge lp:~odossmann/unifield-wm/UFTP_342 into lp:unifield-wm

Proposed by jftempo
Status: Merged
Merged at revision: 2316
Proposed branch: lp:~odossmann/unifield-wm/UFTP_342
Merge into: lp:unifield-wm
Diff against target: 19 lines (+7/-2)
1 file modified
account_hq_entries/wizard/hq_entries_validation.py (+7/-2)
To merge this branch: bzr merge lp:~odossmann/unifield-wm/UFTP_342
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+239813@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_hq_entries/wizard/hq_entries_validation.py'
--- account_hq_entries/wizard/hq_entries_validation.py 2014-09-29 08:06:39 +0000
+++ account_hq_entries/wizard/hq_entries_validation.py 2014-10-28 09:28:13 +0000
@@ -250,8 +250,13 @@
250 # create new distribution (only for expense accounts)250 # create new distribution (only for expense accounts)
251 distrib_id = self.create_distribution_id(cr, uid, line.currency_id.id, line, line.account_id_first_value)251 distrib_id = self.create_distribution_id(cr, uid, line.currency_id.id, line, line.account_id_first_value)
252 aml_obj.write(cr, uid, counterpart_id, {252 aml_obj.write(cr, uid, counterpart_id, {
253 'reversal': True, 'name': 'REV - ' + original_move.name, 'account_id': original_account_id,253 'reversal': True,
254 'analytic_distribution_id': distrib_id, 'reversal_line_id': original_move.id, 'partner_txt': original_move.partner_txt or ''254 'name': 'REV - ' + original_move.name,
255 'account_id': original_account_id,
256 'analytic_distribution_id': distrib_id,
257 'reversal_line_id': original_move.id,
258 'partner_txt': original_move.partner_txt or '',
259 'reference': line.ref or ' ', # UFTP-342: if HQ entry reference is empty, do not display anything. As a field function exists for account_move_line object, so we add a blank char to avoid this problem
255 }, context=context, check=False, update_check=False)260 }, context=context, check=False, update_check=False)
256261
257 # create the analytic lines as a reversed copy of the original262 # create the analytic lines as a reversed copy of the original

Subscribers

People subscribed via source and target branches