Odoo Help


[SOLVED] How to make button clickable before setting mandatory fields in wizard ? - odoo 9

on 11/15/16, 6:16 AM 493 views

I have created a wizard in odoo 9 . It hasn't close button in default. I have created a close button.

<button string="Discard" name="cancel_wizard" type="object"/>
def cancel_wizard(self):

It do not close before setting all mandatory fields.

Can you explain any solution, Thanks in advance !

ayman mohammed adam
On 11/15/16, 7:18 AM

dear shameem@aχoncoms,

<button string="Discard" class="oe_link" special="cancel"/>

you can make something like this in your code and then not need to do any thing in .py file

I hOpe I helped you ...

Wonderful, It is working :)

on 11/16/16, 12:19 AM

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: 11/15/16, 6:16 AM
Seen: 493 times
Last updated: 11/16/16, 1:29 AM