[CHG][mis_builder] Use company to get date_from

pull/189/head
Adrien Peiffer (ACSONE) 2016-04-27 18:01:21 +02:00 committed by Stéphane Bidoul
parent 7203d99252
commit 72d153c2cc
1 changed files with 1 additions and 1 deletions

View File

@ -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', '=',