From b7055814c50fa5ce29aac63286ded5a964ab76f2 Mon Sep 17 00:00:00 2001 From: David Beal Date: Fri, 8 Sep 2023 10:14:40 +0200 Subject: [PATCH] FIX acc_facto_balance: field collision with acc_paym_order --- account_factoring_receivable_balance/models/account_move.py | 3 ++- .../views/subrogation_receipt.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/account_factoring_receivable_balance/models/account_move.py b/account_factoring_receivable_balance/models/account_move.py index 916f318..6fe44cc 100644 --- a/account_factoring_receivable_balance/models/account_move.py +++ b/account_factoring_receivable_balance/models/account_move.py @@ -13,10 +13,11 @@ class AccountMoveLine(models.Model): string="Subrogation Receipt", check_company=True, ) - partner_bank_id = fields.Many2one( + bank_id = fields.Many2one( comodel_name="res.bank", related="move_id.partner_bank_id.bank_id", string="Recipient Bank", + help="Bank of the partner", ) partner_ref = fields.Char(string="Partn.", compute="_compute_partner_ref") diff --git a/account_factoring_receivable_balance/views/subrogation_receipt.xml b/account_factoring_receivable_balance/views/subrogation_receipt.xml index 1de6316..136ab99 100644 --- a/account_factoring_receivable_balance/views/subrogation_receipt.xml +++ b/account_factoring_receivable_balance/views/subrogation_receipt.xml @@ -114,7 +114,7 @@ string="In currency" /> - +