Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
23
sale_cancel_reason/wizard/cancel_reason_view.xml
Executable file
23
sale_cancel_reason/wizard/cancel_reason_view.xml
Executable file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="view_sale_order_cancel" model="ir.ui.view">
|
||||
<field name="name">Reason for the cancellation</field>
|
||||
<field name="model">sale.order.cancel</field>
|
||||
<field name="inherit_id" ref="sale.sale_order_cancel_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//footer" position="before">
|
||||
<br />
|
||||
<p>
|
||||
Choose the reason for the cancellation of the
|
||||
sale order.
|
||||
</p>
|
||||
<group>
|
||||
<field
|
||||
name="reason_id"
|
||||
options="{'no_create': True, 'no_open': True}"
|
||||
/>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user