12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?xml version="1.0" encoding="utf-8"?>
- <!-- Copyright 2017 OpenSynergy Indonesia
- License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
- <openerp>
- <data>
- <record id="pos_floor_view_tree" model="ir.ui.view">
- <field name="name">Tree PoS Floor</field>
- <field name="model">pos.floor</field>
- <field name="arch" type="xml">
- <tree>
- <field name="name"/>
- <field name="type"/>
- <field name="pos_config_id" string="TPV"/>
- </tree>
- </field>
- </record>
- <record id="pos_floor_view_form" model="ir.ui.view">
- <field name="name">Form PoS Floor</field>
- <field name="model">pos.floor</field>
- <field name="arch" type="xml">
- <form string="Floors">
- <sheet>
- <group col="4">
- <field name="type" widget="radio"/>
- <field name="name" string="Nombre del grupo"/>
- <field name="pos_config_id" string="Terminal de Venta" widget="many2many_tags"
- options="{'no_create_edit': True,'no_quick_create': True}"/>
- </group>
- <field name="table_ids" string="Mesas/Delivery">
- <tree string="Mesas/Delivery" create="false">
- <field name="name"/>
- </tree>
- </field>
- </sheet>
- </form>
- </field>
- </record>
- <record id="pos_floor_action" model="ir.actions.act_window">
- <field name="name">Agrupar por</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">pos.floor</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="help" type="html">
- <p class="oe_view_nocontent_create">
- Pulse para registrar un nuevo piso o delivery.
- </p>
- </field>
- </record>
- <menuitem
- id="pos_floor_menu"
- name="Grupos"
- parent="point_of_sale.menu_point_config_product"
- groups="point_of_sale.group_pos_manager"
- action="pos_floor_action"
- />
- </data>
- </openerp>
|