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

In Odoo, I have a scenario where I need to conditionally hide a field based on the content of an HTML field. However, the HTML field always contains <p><br/></p> tags, even when it's technically empty. Is there a way to check if the HTML field is "empty" (i.e., contains no meaningful content) and hide another field based on that in the XML side using attrs? How can I achieve this without relying on just the <p><br/></p> content?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 25
2
2
thg 7 25
356
0
thg 7 25
432
0
thg 7 25
1064
1
thg 5 25
1547