Browse Source

[CHG][mis_builder] Use company to get date_from

pull/189/head
Adrien Peiffer (ACSONE) 9 years ago
committed by Stéphane Bidoul
parent
commit
72d153c2cc
  1. 2
      mis_builder/models/aep.py

2
mis_builder/models/aep.py

@ -185,7 +185,7 @@ class AccountingExpressionProcessor(object):
# for income and expense account, get balance from the beginning
# of the current fiscal year
fy_date_from = \
self.company.compute_fiscalyear_dates(date_from)['date_from']
company.compute_fiscalyear_dates(date_from)['date_from']
domain = ['|',
('date', '>=', fy_date_from),
('account_id.user_type_id.include_initial_balance', '=',

Loading…
Cancel
Save