flectra/addons/sales_discount/views/sale_discount_config_view.xml

27 lines
986 B
XML
Raw Normal View History

2018-01-11 06:23:48 +01:00
<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record id="sale_discount_config_view_form" model="ir.ui.view">
<field name="name">sale.discount.config</field>
<field name="model">sale.discount.config</field>
<field name="priority" eval="3"/>
<field name="arch" type="xml">
<tree editable="top" string="Sale Discount Configuration">
<field name="group_id"/>
<field name="fix_amount"/>
<field name="percentage"/>
</tree>
</field>
</record>
<record id="action_sale_discount_config" model="ir.actions.act_window">
<field name="name">Sales Discounts</field>
<field name="res_model">sale.discount.config</field>
<field name="view_type">form</field>
<field name="view_mode">tree</field>
</record>
<menuitem id="menu_sale_order"
action="action_sale_discount_config"
parent="sale.menu_sale_config"/>
</flectra>