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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- 项目
- MRP
此问题已终结
1
回复
4392
查看
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
|
2455 | ||
|
|
3
3月 21
|
4600 | ||
|
|
1
12月 25
|
415 | ||
|
|
3
9月 25
|
3841 | ||
|
|
0
8月 25
|
1225 |