Odoo Help


Edit and Create buttons by state

Pau Ubach
on 10/21/14, 2:12 AM 938 views


How can I display or not Edit and Create buttons in a form depending on state?

I know how to do it on a normal button, but not for these.



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

On 10/21/14, 7:58 AM

Create / Save / Edit / Delete are ORM methods incorporated with Framework, hence those buttons are loaded along with the Framework/XML view, which will be loaded first ... and later the data is fetched from database..

hence, once the view is loaded, one cannot change it, based on single record's data...

Very clear explanation. Thanks. 2 beers. :p

Pau Ubach
on 10/21/14, 9:02 PM

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: 10/21/14, 2:12 AM
Seen: 938 times
Last updated: 3/16/15, 8:10 AM