Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1461 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

 Hi,

     please try like this

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

       

Ảnh đại diện
Huỷ bỏ