From b1ac0fe630fc1846b69b5190faaa8f8c3ee87f87 Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Wed, 27 Apr 2016 18:52:05 +0200 Subject: [PATCH] [FIX][mis_builder] Don't forget the company for sone_parsing method. --- mis_builder/models/mis_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mis_builder/models/mis_builder.py b/mis_builder/models/mis_builder.py index 37ea7094..282c3044 100644 --- a/mis_builder/models/mis_builder.py +++ b/mis_builder/models/mis_builder.py @@ -629,7 +629,7 @@ class MisReportInstancePeriod(models.Model): if AEP.has_account_var(expr): aep = AEP(self.env) aep.parse_expr(expr) - aep.done_parsing() + aep.done_parsing(self.report_instance_id.company_id) domain = aep.get_aml_domain_for_expr( expr, self.date_from, self.date_to,