Odoo Help


how to disable a BUTTON? when you click it automatically disable the button?

on 7/7/14, 9:03 PM 2,342 views

This might be a simple question.but,does any one know how to disable a button after clicking it in OpenERP? Please help!!!!! Thanks for all your help....

thank you for your reply Serpent Consulting Services Pvt. Ltd. do you any other samples for this because the one you gave a while ago is not working.

on 7/7/14, 10:41 PM

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 7/7/14, 10:17 PM


You should use attrs option in xml side. So when you click on the button, some field gets some value updates and your button becomes invisible/readonly basedon that field.

The blog here explains in detail.


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: 7/7/14, 9:03 PM
Seen: 2342 times
Last updated: 3/16/15, 8:10 AM