flectra/addons/sales_discount/views/sale_discount_config_view.xml
2018-01-17 12:10:36 +05:30

27 lines
986 B
XML

<?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>