Skip to Content
Menu
This question has been flagged
3 Replies
2177 Views

hi guys , i'm getting this error , can anyone help ?!


The operation cannot be completed, probably due to the following:
- 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: website_id - website.id]

Avatar
Discard
Best Answer

Hi,

If you are getting this error on a button click, check whether the button action is creating some record in any model. This error is thrown when value for a required field is not provided during the creation. In the error message the field is specified, the field is website_id .

You can get some hint about the error from here: How To Fix Mandatory Field is Not Correctly Set Error in Odoo

Thanks

Avatar
Discard
Best Answer

Hi,

There is a known issue already reported about that in GitHub, Please check the below threads:

https://github.com/odoo/odoo/issues/25078 

https://github.com/odoo/odoo/pull/25144

Avatar
Discard
Author Best Answer

thank you for your answer , i get the error whenever i want to save a module settings , sales , crm , invoicing ... 

ok i'll check the link thank you

Avatar
Discard