Skip to Content
Menu
This question has been flagged
1 Odpoveď
3398 Zobrazenia

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
Zrušiť
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
Zrušiť

Problem resolved. Thanks champ!

Related Posts Replies Zobrazenia Aktivita
1
dec 19
4799
0
mar 15
4389
1
aug 25
3534
1
máj 25
1026
1
mar 25
1206