Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4274 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

Thank you Farsana

Post Terkait Replies Tampilan Aktivitas
0
Sep 25
320
1
Des 24
1557
1
Des 23
14073
3
Okt 23
9447
1
Mei 21
9977