i'm trying to make a field that can be fill based on day. if the relate day unchose, so it can be hide.
i've tried using attrs invisible but it can't be parse.
is there another way to make it invisible based on day?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- โปรเจกต์
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
2
ตอบกลับ
2610
มุมมอง
Mr.Shameem thank you for your answer. I've tried using your advice, but it still error.
Lulu,
Did you try this
<field name="your_field" attrs="{'invisible': [('day', '=', 2012-04-25)]}"/>If do not work, you create a boolean field that is computed the visibility of the field. Then set attrs to that field.
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
0
มี.ค. 25
|
2057 | ||
|
|
0
ม.ค. 25
|
4373 | ||
|
|
1
ส.ค. 23
|
15990 | ||
|
change password
แก้ไขแล้ว
|
|
1
ส.ค. 23
|
14561 | |
|
|
1
ก.ค. 23
|
11890 |