Hi! I would like to prevent the modification of a recording after clicking on the button to save. I use decoration-muted like that ( "decoration-muted ="state in('e')" ) but it doesn't worked.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Buchhaltung
- Lager
- PoS
- Project
- MRP
Diese Frage wurde gekennzeichnet
1
Antworten
1459
Ansichten
Hi,
please try like this
<tree string="Orders" decoration-info="state == 'draft'" decoration-muted="state in ('done','cancel')" >
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