I am getting "Element '%s' cannot be located in parent view") error when using an inherited view in which a field with only string attribute is used for inheriting, when I am using user language as Turkish(Probably for any other language than English). Below is the view that causes the error in the addon oh_hr_zk_attendance of Cybrosys when clicking Attandances->Manager->Attandances manu item.
<recordid="inherited_hr_attendance_view_filter"model="ir.ui.view">
<fieldname="name">inherited_hr_attendance_view_filterfield>
<fieldname="model">hr.attendancefield>
<fieldname="inherit_id"ref="hr_attendance.hr_attendance_view_filter"/>
<fieldname="arch"type="xml">
<searchstring="Hr Attendance Search"><groupexpand="0"string="Group By">
<separator/>
<filtername="date"string="Date"context="{'group_by':'check_in:day'}"/>
group>
search>
field>
record>
Error occurs at odoo/addons/base/models/ir_ui_view.py, line 673, in apply_inheritance_specs.
Because the view_id browse(at odoo/odoo/models.py", line 1520, in _fields_view_get) is returned with translated value of fields string attribute,
system doesn't match the values.
Temporary solution is deleting the translation for this field.