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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
1461
Lượt xem
Hi,
please try like this
<tree string="Orders" decoration-info="state == 'draft'" decoration-muted="state in ('done','cancel')" >
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký