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
- Buchhaltung
- Lager
- PoS
- Projekte
- MRP
Diese Frage wurde gekennzeichnet
2
Antworten
2609
Ansichten
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.
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
|
0
März 25
|
2057 | ||
|
|
0
Jan. 25
|
4372 | ||
|
|
1
Aug. 23
|
15986 | ||
|
change password
Gelöst
|
|
1
Aug. 23
|
14559 | |
|
|
1
Juli 23
|
11889 |