Files
Odoo-18.0-20251222/sale_order_note_template/views/sale_views.xml
tocmo0nlord adbe430761
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled
Initial commit: Odoo 18.0-20251222 extra-addons
2026-03-13 20:43:25 +00:00

31 lines
1.1 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record model="ir.ui.view" id="view_order_form_terms_template">
<field name="name">sale_order_note_templatesale.order.form</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form" />
<field name="arch" type="xml">
<xpath
expr="//group[@name='note_group']/group/field[@name='note']"
position="before"
>
<field
name="terms_template_id"
placeholder="Terms and conditions template"
nolabel="1"
colspan="4"
/>
<group name="terms_group" string="Terms and Conditions">
<field
name="terms_template_id"
placeholder="Terms and conditions template"
nolabel="1"
colspan="4"
readonly="state != 'draft'"
/>
</group>
</xpath>
</field>
</record>
</odoo>