server-ux/barcode_action/demo/barcode_action_demo.xml

22 lines
785 B
XML
Raw Permalink Normal View History

2021-03-23 19:15:27 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<flectra>
<data>
<record id="res_partner_find" model="ir.actions.act_window">
<field name="name">Find Partner</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">barcode.action</field>
<field name="view_mode">form</field>
<field
name="context"
>{'default_model': 'res.partner', 'default_method': 'find_res_partner_by_ref_using_barcode'}</field>
<field name="target">new</field>
</record>
<menuitem
id="menu_orders_customers"
name="Find partners"
action="res_partner_find"
parent="base.menu_administration"
/>
</data>
</flectra>