- <record id="pos_category_form_view" model="ir.ui.view">
- <field name="name">pos.category.form</field>
- <field name="model">pos.category</field>
- <field name="arch" type="xml">
- <form string="Product PoS Categories" version="7.0">
- <sheet>
- <field name="image_medium" widget='image' class="oe_avatar oe_right"/>
- <div class="oe_left">
- <group>
- <field name="name"/>
- <field name="parent_id"/>
- <field name="sequence"/>
- </group>
- </div>
- </sheet>
- </form>
- </field>
- </record>
- <record id="pos_category_tree_view" model="ir.ui.view">
- <field name="name">pos.category.tree</field>
- <field name="model">pos.category</field>
- <field name="field_parent" eval="False"/>
- <field name="arch" type="xml">
- <tree string="Product PoS Categories">
- <field name="sequence" invisible="1"/>
- <field name="complete_name"/>
- </tree>
- </field>
- </record>
- <record id="pos_category_action" model="ir.actions.act_window">
- <field name="name">Product Categories</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">pos.category</field>
- <field name="view_type">form</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 define a new category.
- </p><p>
- Categories are used to browse your products through the
- touchscreen interface.
- </p><p>
- If you put a photo on the category, the layout of the
- touchscreen interface will automatically. We suggest not to put
- a photo on categories for small (1024x768) screens.
- </p>
- </field>
- </record>
- <menuitem action="pos_category_action" id="menu_pos_category" parent="menu_point_of_sale_product" sequence="0" />