Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
3731 Ansichten

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.

Avatar
Verwerfen
Beste Antwort

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.


Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Nov. 21
1997
3
März 21
3804
1
Juli 25
2354
2
Juli 25
7850
2
Juli 25
4246