LaOsaCoop/Odoo16#12 migration pos_balance_multishop + pos_balance_epelsa

This commit is contained in:
Luis 2025-05-22 13:09:29 +02:00
parent 46ad866011
commit 7b37ed92a1
20 changed files with 1328 additions and 2 deletions

View file

@ -0,0 +1,71 @@
<?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>