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
1=== modified file 'bin/addons/vertical_integration/report/hq_report_oca.py'
2--- bin/addons/vertical_integration/report/hq_report_oca.py 2016-06-02 14:44:03 +0000
3+++ bin/addons/vertical_integration/report/hq_report_oca.py 2016-08-08 16:09:28 +0000
4@@ -399,17 +399,7 @@
5 up_exp_rate = rate
6 up_exp_amount = analytic_line.amount_currency
7
8- if period.number in (12, 13, 14, 15, 1, ) \
9- and 'Revaluation - FY' in analytic_line.name:
10- # US-953 Yearly revaluation entries are build with
11- # an external ccy table: compute back rate instead of
12- # using exported period rate
13- if currency == func_currency:
14- up_exp_rate = 1.
15- elif analytic_line.amount_currency != 0.:
16- up_exp_rate = round(1 / (abs(analytic_line.amount_currency) \
17- / abs(analytic_line.amount)), 8)
18- elif is_analytic_rev_entry:
19+ if is_analytic_rev_entry:
20 # US-1008 for up_expenses (file 2), match REV AJIs to JIs:
21 # display AJIs booked on REV journal in func ccy and rate 1
22 # as already done here for JIs of up_balances (file 3)

Subscribers

People subscribed via source and target branches

to all changes: