Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
30
sale_global_discount/views/sale_order_views.xml
Executable file
30
sale_global_discount/views/sale_order_views.xml
Executable file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- Copyright 2020 Tecnativa - David Vidal
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<record id="view_order_form" model="ir.ui.view">
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="currency_id" position="before">
|
||||
<field
|
||||
name="global_discount_ids"
|
||||
widget="many2many_tags"
|
||||
groups="base_global_discount.group_global_discount"
|
||||
/>
|
||||
<field
|
||||
name="global_discount_ids_readonly"
|
||||
string="Sale Global Discounts"
|
||||
widget="many2many_tags"
|
||||
groups="!base_global_discount.group_global_discount"
|
||||
/>
|
||||
</field>
|
||||
<xpath expr="//group[@name='sale_total']" position="before">
|
||||
<group colspan="2" class="oe_subtotal_footer oe_right">
|
||||
<field name="amount_untaxed_before_global_discounts" />
|
||||
<field name="amount_global_discount" />
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user