Browse Source

[IMP] UI

pull/297/head
Maxime Chambreuil 6 years ago
committed by Murtuza Saleh
parent
commit
ac4a80d5a0
  1. 11
      agreement_repair/views/repair_view.xml

11
agreement_repair/views/repair_view.xml

@ -6,12 +6,19 @@
<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='product_id']" position="before">
<notebook position="inside">
<page string="Agreement">
<group>
<group id="agreement-left">
<field name="agreement_id"
domain="[('partner_id', '=', partner_id)]"/>
<field name="serviceprofile_id"
domain="[('agreement_id', '=', agreement_id)]"/>
</xpath>
</group>
<group id="agreement-right"/>
</group>
</page>
</notebook>
</field>
</record>

Loading…
Cancel
Save