From ee1ef7746c9af75af943465788fbdb2771ccae86 Mon Sep 17 00:00:00 2001 From: David Beal Date: Tue, 13 Aug 2024 17:34:35 +0200 Subject: [PATCH] wip --- .../models/partner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/account_factoring_receivable_balance_eurofactor/models/partner.py b/account_factoring_receivable_balance_eurofactor/models/partner.py index b5b614c..cdffe69 100644 --- a/account_factoring_receivable_balance_eurofactor/models/partner.py +++ b/account_factoring_receivable_balance_eurofactor/models/partner.py @@ -10,7 +10,9 @@ class ResPartner(models.Model): _inherit = "res.partner" factor_bank_id = fields.Many2one( - comodel_name="res.partner.bank", groups="account.group_account_manager" + comodel_name="res.partner.bank", + company_dependent=True, + groups="account.group_account_manager", ) def _get_partner_eurof_mapping(self):