Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1460 Näkymät

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. 

Avatar
Hylkää
Paras vastaus

 Hi,

     please try like this

<tree string="Orders" decoration-info="state == 'draft'" decoration-muted="state in ('done','cancel')" >

       

Avatar
Hylkää