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

I have created a new database and try to install HR Pay Roll have done nothing change in the code. Just want to explore the modules. But i'm getting this error.


Element '<xpath expr="//button[@name='toggle_active']">' cannot be located in parent view

Error context:
View `hr.employee.form.timesheet`
[view_id: 578, xml_id: n/a, model: hr.employee, parent_id: 352]
None" while parsing /home/hunain/PycharmProjects/odoo/addons/hr_timesheet/views/hr_views.xml:30, near
<record id="hr_employee_view_form_inherit_timesheet" model="ir.ui.view">
頭像
捨棄
最佳答案

Hi,

Make sure that there is no custom modules used or haven't made any changes in the code. If still the issue persist update the odoo code to its latest and try the same with the new code and see. Also you can try by creating a new database before updating the odoo code.


Thanks

頭像
捨棄

Problem resolved. Thanks champ!

相關帖文 回覆 瀏覽次數 活動
1
12月 19
4662
0
3月 15
4282
1
5月 25
767
1
3月 25
1005
0
2月 25
1172