Odoo Help


Skip validate When Button Cancel is Pressed

Ken Tong
on 10/15/14, 3:40 AM 967 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 7+ 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...

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