Hi,
I want to override the state of Repair Order in Odoo v14. I've tried this:
<--python-->
<--xml-->
<odoo>
<data>
<record id="view_repair_order_form_inherit" model="ir.ui.view">
<field name="name">repair.form</field>
<field name="model">repair.order</field>
<field name="inherit_id" ref="repair.view_repair_order_form" />
<field name="arch" type="xml">
<field name="state" position="replace">
<field name="state" widget="statusbar" statusbar_visible="draft,recu,in_progress,test,done"/>
</field>
</field>
</record>
</data>
</odoo>
It works, the new states appear but the string in the 'draft' and 'done' state don't change. It stays as before 'Quotation' and 'Repaired' respectively. I need to change that.
Your help will be much appreciated. Thanks in advance!