Add modules pos_no_product_template_menu and pos_usability

This commit is contained in:
Alexis de Lattre
2016-01-01 10:14:51 +01:00
parent b26164e05c
commit 26930e6a84
6 changed files with 141 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 Akretion (http://www.akretion.com/)
@author Alexis de Lattre <alexis.delattre@akretion.com>
The licence is in the file __openerp__.py
-->
<openerp>
<data>
<record id="product_template_search_view" model="ir.ui.view">
<field name="name">pos_usability.product.template.search</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_search_view"/>
<field name="arch" type="xml">
<filter name="filter_to_sell" position="after">
<filter name="available_in_pos" string="Available in the Point of Sale"
domain="[('available_in_pos', '=', 1)]"/>
</filter>
</field>
</record>
</data>
</openerp>