You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

67 lines
2.5 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2014 - Today: GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<record id="view_pos_place_tree" model="ir.ui.view">
<field name="model">pos.place</field>
<field name="arch" type="xml">
<tree>
<field name="code"/>
<field name="name"/>
<field name="company_id" groups="base.group_multi_company"/>
</tree>
</field>
</record>
<record id="view_pos_place_form" model="ir.ui.view">
<field name="model">pos.place</field>
<field name="arch" type="xml">
<form>
<sheet>
<div class="oe_button_box" name="button_box">
<button name="toggle_active" type="object" class="oe_stat_button" icon="fa-archive">
<field name="active" widget="boolean_button" options="{&quot;terminology&quot;: &quot;archive&quot;}"/>
</button>
</div>
<div class="oe_title">
<div class="oe_edit_only">
<label for="code" string="Code"/>
</div>
<h1>
<field name="code"/>
</h1>
<div class="oe_edit_only">
<label for="name" string="Name"/>
</div>
<h1>
<field name="name"/>
</h1>
</div>
<group>
<group>
<field name="company_id" groups="base.group_multi_company"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="action_pos_place" model="ir.actions.act_window">
<field name="name">Places</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">pos.place</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem id="menu_pos_place"
parent="point_of_sale.menu_point_config_product"
groups="group_pos_place_manager"
action="action_pos_place"/>
</odoo>