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

The operation cannot be completed: another model requires the record being deleted. If possible, archive it instead. Model: Payroll Note (hr.payroll.note) Constraint: hr_payroll_note_company_id_fkey 




هذه الرسالة تظهر لي عندما اقوم بحذف الفروع الخاصة بالشركة 

This Message Disappeared When I Try To Remove Company Branches  ?? 

I need Help .. 

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

Once a company is created, we will not be able to delete it as dependencies are created in the system. As per the error message, it seems you have some records in the table/model:  hr.payroll.note, having company_id value set to this company.

So clear those records or instead of deleting keep the company archived.


Hope it helps

الصورة الرمزية
إهمال