71 lines
3 KiB
XML
71 lines
3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<data>
|
|
<record model="ir.ui.view" id="view_shop_form_balance">
|
|
<field name="name">balance.sale.shop.form</field>
|
|
<field name="model">balance.sale.shop</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<sheet string="Sale_shop">
|
|
<group>
|
|
<field name="name"/>
|
|
<field name="balance_ids" />
|
|
</group>
|
|
</sheet>
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="sale_balance_form_view">
|
|
<field name="name">sale.balance.form</field>
|
|
<field name="model">sale.balance</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<group>
|
|
<form string="Balances">
|
|
<group>
|
|
<field name="name" />
|
|
<field name="shop_id"/>
|
|
<field name="network" />
|
|
<field name="model_id" />
|
|
<field name="ip" />
|
|
<field name="port" />
|
|
</group>
|
|
</form>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="sale_balance_tree_view">
|
|
<field name="name">sale.balance.form</field>
|
|
<field name="model">sale.balance</field>
|
|
<field name="type">tree</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Balances" editable="top">
|
|
<field name="name" />
|
|
<field name="network" />
|
|
<field name="model_id" />
|
|
<field name="ip" />
|
|
<field name="port" />
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_sale_tree" model="ir.actions.act_window">
|
|
<field name="name">Sale balance shop</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">balance.sale.shop</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="view_id" eval="False"/>
|
|
<field name="help" type="html">
|
|
<p class="oe_view_nocontent_create">
|
|
Click to create balance shop.
|
|
</p>
|
|
</field>
|
|
</record>
|
|
|
|
<menuitem action="action_sale_tree" id="menu_sale_tree"
|
|
parent="point_of_sale.menu_point_config_product" sequence="1"
|
|
/>
|
|
|
|
</data>
|
|
</odoo>
|