Odoo Help


how to hide a button when you pressed it?

Lady Sharmane Udtuhan
on 7/13/13, 6:08 AM 1,293 views

how to hide a button when you pressed it?


Grover Menacho

--Grover Menacho--
| 5 7 8
La Paz, Bolivia
--Grover Menacho--

Odoo Developer

Grover Menacho
On 7/13/13, 2:42 PM

There are ways to do it. You can't do it directly with a function or something like that.

  1. If your button change the state of the record just write invisible when state=something
  2. If you are going to so something in other field with your button you can just make it invisible when that field is filled
  3. Or you can add an invisible bool field. The return of your button can be that boolean value: True. So if that boolean field is true you can add that attribute to your button.

There are tons of ways it depends waht are you doing with your button.

thAnks for your answer @grover.. :D

Lady Sharmane Udtuhan
on 7/14/13, 11:21 PM

You're welcome.

GH Mediacloud, Grover Menacho
on 7/15/13, 12:31 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

0 follower(s)


Asked: 7/13/13, 6:08 AM
Seen: 1293 times
Last updated: 3/16/15, 8:10 AM