Odoo Help


How to solve this error Integrity Error 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: order_id - order.id] ?

Mohammed Khamis
on 3/2/15, 12:59 AM 559 views

I try to insert data in sale order line table this table has FK refer to sale order (I want this FK as Null ) but when I insert data to this table raise for me this error althoght I maked this FK on_delete (set null) and not required but still raise for me this error please help me how to solv this error

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/2/15, 12:59 AM
Seen: 559 times
Last updated: 3/16/15, 8:10 AM