123456789101112131415161718192021222324252627 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record id="salesman_commission_tree_view" model="ir.ui.view">
- <field name="name">salesman_commission_tree_view</field>
- <field name="model">salesman.commission</field>
- <field name="arch" type="xml">
- <tree string="salesman_commission" editable="botom">
- <field name="sale_type" required="1"/>
- <field name="sale_commission" required="1"/>
- </tree>
- </field>
- </record>
- <record model="ir.actions.act_window" id="action_salesman_commission">
- <field name="name">Comisión por tipo de venta</field>
- <field name="res_model">salesman.commission</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree</field>
- </record>
- <menuitem name="Comisiones" parent="account.menu_finance" id="commission_parent_menu" sequence="5"/>
- <menuitem name="Establecer Comisión" parent="commission_parent_menu" id="commission_submenu2" action="action_salesman_commission"/>
- </data>
- </openerp>
|