mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
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)
20 lines
712 B
XML
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>
|