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

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 21
1973
3
thg 3 21
3769
1
thg 7 25
2321
2
thg 7 25
7799
2
thg 7 25
4201