Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3725 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
lis 21
1990
3
bře 21
3795
1
čvc 25
2347
2
čvc 25
7830
2
čvc 25
4222