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

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

By
Alcaline
on 7/7/14, 9:03 PM 1,161 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.

Alcaline
on 7/7/14, 10:41 PM
1

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 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

Alcaline,

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.

Thanks.

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