Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1462 Переглядів

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. 

Аватар
Відмінити
Найкраща відповідь

 Hi,

     please try like this

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

       

Аватар
Відмінити