Odoo Help

Welcome!

This community 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.

0

Skip validate When Button Cancel is Pressed

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

--deep--
1617
| 5 4 7
Bengaluru, India
--deep--

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

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

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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