Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4097 Vues

I want to remove a company from my database, But I couldn't delete it, It's showing  

"" The operation cannot be completed: another model requires the record being deleted. If possible, archive it instead. Model: Fiscal Position (account.fiscal.position), Constraint: account_fiscal_position_company_id_fkey ""

But there is no invoice and sale orders.

Can anyone help me !!


Avatar
Ignorer
Meilleure réponse

Hi,

As per the error message, it seems you have some records in the table/model:  account_fiscal_position (account.fiscal.position) having company_id value set to this company.

So clear those records or instead of deleting keep the company archived.

Thanks

Avatar
Ignorer
Auteur

Thank you Farsana

Publications associées Réponses Vues Activité
1
déc. 24
1382
1
nov. 23
13754
3
oct. 23
9233
1
mai 21
9753
1
mai 20
3921