Skip to content

Commit

Permalink
FIX acc_facto_balance: field collision with acc_paym_order
Browse files Browse the repository at this point in the history
  • Loading branch information
bealdav committed Sep 8, 2023
1 parent b1d95c8 commit b705581
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion account_factoring_receivable_balance/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
string="In currency"
/>
<field name="move_id" optional="show" />
<field name="partner_bank_id" optional="show" />
<field name="bank_id" optional="show" />
<field name="full_reconcile_id" optional="hide" />
<field
name="account_id"
Expand Down

0 comments on commit b705581

Please sign in to comment.