Files
manufacture/mrp_repair_discount/views/mrp_repair_view.xml
Alex Comba 1ac9e411f3 mrp_repair_discount: fix wrong AGPL badge image in README
[MIG] Mig mrp_discount to v10 and added discount on fees lines
2017-09-20 09:08:49 +02:00

17 lines
711 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="view_repair_order_discount_form" model="ir.ui.view">
<field name="name">mrp.repair.discount.form</field>
<field name="model">mrp.repair</field>
<field name="inherit_id" ref="mrp_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>