Rodney Elpidio Enciso Arias 6 лет назад
Сommit
17d0f03381
4 измененных файлов с 61 добавлено и 0 удалено
  1. 26 0
      __init__.py
  2. BIN
      __init__.pyc
  3. 20 0
      __openerp__.py
  4. 15 0
      product_search_view.xml

+ 26 - 0
__init__.py

@@ -0,0 +1,26 @@
+# -*- encoding: utf-8 -*-
+#################################################################################
+#                                                                               #
+#    product_brand for OpenERP                                                  #
+#    Copyright (C) 2009 NetAndCo (<http://www.netandco.net>).                   #
+#    Authors, Mathieu Lemercier, mathieu@netandco.net,                          #
+#             Franck Bret, franck@netandco.net                                  #
+#    Copyright (C) 2011 Akretion Benoît Guillot <benoit.guillot@akretion.com>   #
+#                                                                               #
+#    This program is free software: you can redistribute it and/or modify       #
+#    it under the terms of the GNU Affero General Public License as             #
+#    published by the Free Software Foundation, either version 3 of the         #
+#    License, or (at your option) any later version.                            #
+#                                                                               #
+#    This program is distributed in the hope that it will be useful,            #
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of             #
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              #
+#    GNU Affero General Public License for more details.                        #
+#                                                                               #
+#    You should have received a copy of the GNU Affero General Public License   #
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.      #
+#                                                                               #
+#################################################################################
+###################################################################################
+# Product Brand is an Openobject module wich enable Brand management for products #
+###################################################################################


+ 20 - 0
__openerp__.py

@@ -0,0 +1,20 @@
+# -*- encoding: utf-8 -*-
+{
+    'name': 'Search Products',
+    'version': '0.1',
+    'category': 'Product',
+    'description': """
+Busqueda de Productos por varios Parametros
+===========================================
+
+Busqueda de Productos por varios Parametros
+
+    """,
+    'author': 'Eiru Software/Rodney Enciso Arias',
+    'website': 'http://www.eiru.com.py',
+    'depends': ['product'],
+    'data': [
+        'product_search_view.xml',
+    ],
+    'installable': True,
+}

+ 15 - 0
product_search_view.xml

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+        <record id="product_search_ref" model="ir.ui.view">
+            <field name="name">product.search.refe</field>
+            <field name="model">product.template</field>
+            <field name="inherit_id" ref="product.product_template_search_view"/>
+            <field name="arch" type="xml">
+                <field name="name" position="before">
+                    <field name="ean13" filter_domain="['|','|',('name','ilike',self),('ean13','ilike',self),('default_code','ilike',self)]" string="General"/>
+                </field>
+            </field>
+        </record>
+    </data>
+</openerp>