From 72d153c2cc89df1ebdecbd8fce8c030ea9680315 Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Wed, 27 Apr 2016 18:01:21 +0200 Subject: [PATCH] [CHG][mis_builder] Use company to get date_from --- mis_builder/models/aep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mis_builder/models/aep.py b/mis_builder/models/aep.py index 3a877569..579cd6d9 100644 --- a/mis_builder/models/aep.py +++ b/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', '=',