|
|
@ -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> |
|
|
|
|
|
|
|