跳至內容
選單
此問題已被標幟
1 回覆
3807 瀏覽次數

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.


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
11月 21
2073
3
3月 21
3902
3
9月 25
2663
0
8月 25
223
1
8月 25
2220