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

I installed the hr_holidays app in odoo14, but when I clicked this app, the content of this app didn't show, the error is {'invisible': '('holiday_type', '!=', 'employee')'}. I have known that there is an invalid syntax and how to fix it, but I can't find the file where the error occurred, can someone tell me the way to find this unknown type file? Thanks.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

hr_holidays/views/hr_leave_views.xml:                    <span attrs="{'invisible': [('holiday_type', '!=', 'employee')]}">
hr_holidays/views/hr_leave_views.xml:                        'invisible': [('holiday_type', '!=', 'employee')]

hr_holidays/models/hr_leave_type.py:            ('holiday_type', '!=', 'employee'),

first you check,

HR employee modulle install or not.


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 21
2027
3
มี.ค. 21
3846
1
ก.ค. 25
2509
2
ก.ค. 25
7952
2
ก.ค. 25
4389