<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <record id="view_repair_order_discount_form" model="ir.ui.view">
        <field name="name">repair.discount.form</field>
        <field name="model">repair.order</field>
        <field name="inherit_id" ref="repair.view_repair_order_form" />
        <field name="arch" type="xml">
            <xpath
                expr="//field[@name='operations']/tree/field[@name='price_subtotal']"
                position='before'
            >
                <field name="discount" />
            </xpath>
            <xpath
                expr="//field[@name='fees_lines']/tree/field[@name='price_unit']"
                position='after'
            >
                <field name="discount" />
            </xpath>
        </field>
    </record>
</odoo>
