Skip to Content
Menu
This question has been flagged
1 Reply
1485 Views

A bank account was falsely linked to a supplier, so that all subsequent payments to/from that account are also linked to that (wrong) partner.
When trying to delete the bank account from the supplier I receive this error:

The operation cannot be completed: another model requires the record to be deleted. Archive it if possible.
Model: Journal Entry (account.move) 
Beperking: account_move_partner_bank_id_fkey


As far as I can see I have unreconciled all payments related to this partner; and reset all invoices to concepts. What other steps should I take? 

Avatar
Discard
Best Answer

Good morning, 


we have the same problem, both a customer and a supplier have the same bank account in Odoo. We would like to remove the bank account from the customer, then this message pops up.


Avatar
Discard

To generalise this question, the offending entry exists in the res.partner.bank model. There seems to be no user interface for this model, so the proffered "Archive it if possible" is not an option without resorting to custom coding (at least in Odoo 14, but I don't think it changed since).

The problem frequently pops up with payments (either inbound or outbound) through clearing houses such as Mollie, Stripe or Tikkie. When a clearing house bank account gets associated with a specific supplier or customer, there appears to be no way to undo that.

If ever I come up with a proper solution, even if it's only achievable through scripting, I'll post it here. So far a solution has escaped me.

Related Posts Replies Views Activity
0
Nov 22
1613
1
Mar 16
5314
1
Jul 25
70
0
Jul 25
93
1
Jul 25
166