Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1299 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit