Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4087 มุมมอง

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


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน

Thank you Farsana

Related Posts ตอบกลับ มุมมอง กิจกรรม
Error message when duplicating company แก้ไขแล้ว
1
ธ.ค. 24
1377
how to delete a company? แก้ไขแล้ว
1
พ.ย. 23
13735
3
ต.ค. 23
9225
1
พ.ค. 21
9751
1
พ.ค. 20
3912