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
3995 Widoki

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


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

Thank you Farsana

Powiązane posty Odpowiedzi Widoki Czynność
1
gru 24
1329
1
lis 23
13658
3
paź 23
9163
1
maj 21
9715
1
maj 20
3888