Odoo Help


Skip validate When Button Cancel is Pressed

Ken Tong
on 10/15/14, 3:40 AM 585 views

Dear All,

How can I skip validate the field if button "Cancel" is clicked.

I have set some attibutes like required=True for some field. However, i do not need it as required when cancel button is clicked.


Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

On 10/15/14, 8:32 AM

You can't do it... which ever button you click on form,  it firsts saves the record and then proceeds with the functionality as per the Button definition...

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: 10/15/14, 3:40 AM
Seen: 585 times
Last updated: 3/16/15, 8:10 AM