Odoo Help

0

Invisible field based on Day on Odoo 8

By
Lulu
on 11/14/16, 4:59 AM 568 views

i'm trying to make a field that can be fill based on day. if the relate day unchose, so it can be hide.
i've tried using attrs invisible but it can't be parse.
is there another way to make it invisible based on day?

0
Lulu
On 11/15/16, 8:46 PM

Mr.Shameem thank you for your answer. I've tried using your advice, but it still error.

0

Shameem Babu @ iWesabe

--Shameem Babu @ iWesabe--
GLOBAL CREATIVE CONCEPTS TECH CO LTD
http://www.iwesabe.com
1282
| 6 3 7
KHOBAR, Saudi Arabia
--Shameem Babu @ iWesabe--

  

 iWesabe - ODOO ERP IMPLEMENTATION & CUSTOMIZATION SAUDI ARABIA.



For Queries :  shameem@iwesabe.com

Activities     :    Youtube

                           Stackoverflow 

Experience

           iWesabe                                  ◉

           Axon Communications        ❍

           Cybrosys Technologies        ❍


Shameem Babu @ iWesabe
On 11/14/16, 6:40 AM

Lulu, 

Did you try this

<field name="your_field" attrs="{'invisible': [('day', '=', 2012-04-25)]}"/>

If do not work, you create a boolean field that is computed the visibility of the field. Then set attrs to that field.

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

3 follower(s)

Stats

Asked: 11/14/16, 4:59 AM
Seen: 568 times
Last updated: 11/15/16, 8:46 PM