Odoo Help

0

Skip validate When Button Cancel is Pressed

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

0
deep
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.

Register

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)

Stats

Asked: 10/15/14, 3:40 AM
Seen: 764 times
Last updated: 3/16/15, 8:10 AM