[FIX] analytic: wrong domain creation

Leftover typo from #36804 .

closes odoo/odoo#40478

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Victor Feyens
2019-11-19 10:09:46 +00:00
parent 32dd2e97ec
commit eae9055f49
+1 -1
View File
@@ -83,7 +83,7 @@ class AccountAnalyticAccount(models.Model):
Curr = self.env['res.currency']
analytic_line_obj = self.env['account.analytic.line']
domain = [
('account_id', 'in', self.ids)
('account_id', 'in', self.ids),
('company_id', 'in', [False] + self.env.companies.ids)
]
if self._context.get('from_date', False):