Skip to Content
Menu
This question has been flagged
2372 Views

Hello guys,

I'm trying to improve and adapt the hr.expense module for my company.

I inserted some Many2one fields like "x_restaurant_product", "x_hotel_product", with product.product as reference.

And then I get this error :

deletion: you may be trying to delete a record while other records still reference it   

creation/update: a mandatory field is not correctly set

[object with reference: product_id - product.id]

How could I solve this problem ? And I have to precise, I do not have access to the python files, so I'm looking for a solution via the Odoo interface, like an edit in the my hr.expense.form view.

Thanks a lot, regards



 



Avatar
Discard