Files
contract/agreement_sale/views/sale_order.xml
Alexandre Fayolle 0abb509f52 [IMP] move some notions from agreement_legal to agreement
we move the is_template field definition and the agreement.type model from
the agreement_legal module to the agreement module.

The fields are not displayed by default, unless the feature is enabled through a
technical feature group, this is configurable in the agreement_sale module (because agreement
in itself has no UI, and agreement_legal enables the feature by default)
2019-10-13 11:43:44 +02:00

20 lines
712 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="sale_order_agreement_form_view" model="ir.ui.view">
<field name="name">sale.order.agreement.form.view</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<field name="client_order_ref" position="after">
<field name="agreement_id"/>
</field>
<field name="partner_id" position="after">
<field name="agreement_type_id"
groups="agreement.group_use_agreement_type"
/>
</field>
</field>
</record>
</odoo>