in manufacturing order, I replace the workcenter line
<field name="workcenter_lines" position="replace">
<field name="workcenter_lines" string="Work Center" readonly="1" context="{'form_view_ref':'mrp_operations.mrp_production_workcenter_form_view_inherit','tree_view_ref':'mrp_operations.mrp_production_workcenter_tree_view_inherit'}" />
</field>
when I run it it gives the error:
AttributeError: View definition error for inherited view 'mrp_operations.mrp_production_form_inherit_view2' on model 'mrp.production': Element '<xpath expr="//field[@name='workcenter_lines']/tree/field[@name='hour']">' not found in parent view 'mrp.mrp_production_form_view'
what should I do to solve the problem?