Merge lp:~unifield-team/unifield-server/vg-us-1451 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 3905
Proposed branch: lp:~unifield-team/unifield-server/vg-us-1451
Merge into: lp:unifield-server
Diff against target: 22 lines (+1/-11)
1 file modified
bin/addons/vertical_integration/report/hq_report_oca.py (+1/-11)
To merge this branch: bzr merge lp:~unifield-team/unifield-server/vg-us-1451
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+302304@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 'bin/addons/vertical_integration/report/hq_report_oca.py'
--- bin/addons/vertical_integration/report/hq_report_oca.py 2016-06-02 14:44:03 +0000
+++ bin/addons/vertical_integration/report/hq_report_oca.py 2016-08-08 16:09:28 +0000
@@ -399,17 +399,7 @@
399 up_exp_rate = rate399 up_exp_rate = rate
400 up_exp_amount = analytic_line.amount_currency400 up_exp_amount = analytic_line.amount_currency
401401
402 if period.number in (12, 13, 14, 15, 1, ) \402 if is_analytic_rev_entry:
403 and 'Revaluation - FY' in analytic_line.name:
404 # US-953 Yearly revaluation entries are build with
405 # an external ccy table: compute back rate instead of
406 # using exported period rate
407 if currency == func_currency:
408 up_exp_rate = 1.
409 elif analytic_line.amount_currency != 0.:
410 up_exp_rate = round(1 / (abs(analytic_line.amount_currency) \
411 / abs(analytic_line.amount)), 8)
412 elif is_analytic_rev_entry:
413 # US-1008 for up_expenses (file 2), match REV AJIs to JIs:403 # US-1008 for up_expenses (file 2), match REV AJIs to JIs:
414 # display AJIs booked on REV journal in func ccy and rate 1404 # display AJIs booked on REV journal in func ccy and rate 1
415 # as already done here for JIs of up_balances (file 3)405 # as already done here for JIs of up_balances (file 3)

Subscribers

People subscribed via source and target branches

to all changes: