Skip to Content
Menu
This question has been flagged
1 Reply
3353 Views

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">
Avatar
Discard
Best Answer

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

Avatar
Discard

Problem resolved. Thanks champ!

Related Posts Replies Views Activity
1
Dec 19
4774
0
Mar 15
4383
1
Aug 25
3518
1
May 25
994
1
Mar 25
1188