تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3963 أدوات العرض

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
ديسمبر 24
1296
1
نوفمبر 23
13609
3
أكتوبر 23
9130
1
مايو 21
9676
1
مايو 20
3878