Odoo Help

0

Reload form

By
AppJetty
on 8/26/14, 5:39 AM 915 views

Hi,

I would like to refresh my current form. Based on clicking button, a boolean fields is changed in True/False. When this boolean fields is True, I want to enable another button. This is working as expected bt the issue is I have to reload the record. I want to do it by coding instead of manuall reloading. Can anyone help ?

0
Marek Mosiewicz
On 8/26/14, 6:15 AM

You can hide button with property attrs in view. E.g. 

<button name="myInvisibleButton" attrs="{'invisible':[('myField','=','False')]}>

Above will hide button if myField is false.

 

Marek Mosiewicz

http://consultantodoo.com

I have already applied this attrs in my case. But I have to reload the page everytime.

Biztech It Consultancy Private Limited, AppJetty
on 8/26/14, 6:39 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.

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: 8/26/14, 5:39 AM
Seen: 915 times
Last updated: 3/16/15, 8:10 AM