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
- Kirjanpito
- Varastointi
- PoS
- Projekti
- MRP
Tämä kysymys on merkitty
2
Vastaukset
2613
Näkymät
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.
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
|
0
maalisk. 25
|
2059 | ||
|
|
0
tammik. 25
|
4375 | ||
|
|
1
elok. 23
|
15992 | ||
|
change password
Ratkaistu
|
|
1
elok. 23
|
14571 | |
|
|
1
heinäk. 23
|
11892 |