Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4391 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

Thank you Farsana

Post correlati Risposte Visualizzazioni Attività
0
set 25
386
1
dic 24
1652
1
nov 23
14291
3
ott 23
9572
1
mag 21
10141