Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2031 Widoki

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? 

Awatar
Odrzuć
Najlepsza odpowiedź

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.


Awatar
Odrzuć

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.

Powiązane posty Odpowiedzi Widoki Czynność
0
lis 22
1954
1
mar 16
5663
0
wrz 25
78
1
wrz 25
629
0
wrz 25
34