Odoo Help


openerp 7: set client side form_invalid from server side on_change function

indra kurniawan
on 7/31/13, 5:06 AM 750 views

Hi, how do we set form's is valid state when returning from on_change function in the server side; all I have seen is using pop up warning. but user still can press the save button.

instead of just a warning/error message I want to set the is valid flag of the form so user cannot submit the form.

Thank you

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

0 follower(s)


Asked: 7/31/13, 5:06 AM
Seen: 750 times
Last updated: 3/16/15, 8:10 AM