From 37cd0c3d25ee19a52eb3c71b08186c13f1ec7fb5 Mon Sep 17 00:00:00 2001 From: Dorin Hongu Date: Sun, 31 Mar 2024 08:51:29 +0300 Subject: [PATCH] fix --- l10n_ro_invoice_report/models/account_journal.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/l10n_ro_invoice_report/models/account_journal.py b/l10n_ro_invoice_report/models/account_journal.py index fccc352f..5970be4c 100644 --- a/l10n_ro_invoice_report/models/account_journal.py +++ b/l10n_ro_invoice_report/models/account_journal.py @@ -9,5 +9,4 @@ class AccountJournal(models.Model): _inherit = "account.journal" - operating_unit_id = fields.Many2one("res.partner", string="Operating Unit", - domain="[('parent_id','=',env.company.partner_id)]") + operating_unit_id = fields.Many2one("res.partner", string="Operating Unit")