Skip to content

Commit

Permalink
Merge pull request #83 from unaiberis/16.0-repair_type
Browse files Browse the repository at this point in the history
[16.0][IMP] repair_type: Add repair_type_id in tree view
  • Loading branch information
anajuaristi authored Jan 17, 2025
2 parents 7db44ca + f454d3f commit 4eb4b9e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions repair_type/views/repair.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_repair_order_tree_inherit" model="ir.ui.view">
<field name="name">repair.order.tree.inherit</field>
<field name="model">repair.order</field>
<field name="inherit_id" ref="repair.view_repair_order_tree" />
<field name="arch" type="xml">
<xpath expr="//tree/field[1]" position="before">
<field name="repair_type_id" optional="show" />
</xpath>
</field>
</record>

<record id="repair_type_form_inherit" model="ir.ui.view">
<field name="name">repair.type.inherit</field>
<field name="model">repair.order</field>
Expand Down

0 comments on commit 4eb4b9e

Please sign in to comment.