Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1469 มุมมอง

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')" >

       

อวตาร
ละทิ้ง