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
- Apskaita
- Atsarga
- PoS
- Projektas
- MRP
This question has been flagged
2
Replies
2616
Rodiniai
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!
Registracija| Related Posts | Replies | Rodiniai | Veikla | |
|---|---|---|---|---|
|
|
0
kov. 25
|
2060 | ||
|
|
0
saus. 25
|
4376 | ||
|
|
1
rugp. 23
|
15993 | ||
|
change password
Solved
|
|
1
rugp. 23
|
14572 | |
|
|
1
liep. 23
|
11898 |