Skip to Content
Menu
This question has been flagged
1 Atsakyti
4284 Rodiniai

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 !!


Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Autorius

Thank you Farsana

Related Posts Replies Rodiniai Veikla
0
rugs. 25
322
1
gruod. 24
1559
1
gruod. 23
14075
3
spal. 23
9452
1
geg. 21
9978