[CHG][mis_builder] Use company to get date_from
parent
7203d99252
commit
72d153c2cc
|
@ -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…
Reference in New Issue