Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1769 Tampilan

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
Buang
Jawaban Terbai

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
Buang

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.

Post Terkait Replies Tampilan Aktivitas
0
Nov 22
1773
1
Mar 16
5509
2
Agu 25
1055
1
Agu 25
191
2
Agu 25
162