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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
2084
Views
Mr.Shameem thank you for your answer. I've tried using your advice, but it still error.
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Aug 23
|
12546 | ||
change password
Solved
|
|
1
Aug 23
|
11042 | |
|
1
Jul 23
|
7223 | ||
|
4
Apr 23
|
8676 | ||
|
2
Feb 23
|
17590 |