Odoo Help

0

Edit and Create buttons by state

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

Hi,

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.

Thanks,
Pau

1
deep
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.

Register

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)

Stats

Asked: 10/21/14, 2:12 AM
Seen: 798 times
Last updated: 3/16/15, 8:10 AM