Merge lp:~vauxoo/addons-vauxoo/addons_vauxoo_product_search_code_dev_carlos into lp:addons-vauxoo

Proposed by Juan Carlos Hernandez
Status: Rejected
Rejected by: Moisés López - http://www.vauxoo.com
Proposed branch: lp:~vauxoo/addons-vauxoo/addons_vauxoo_product_search_code_dev_carlos
Merge into: lp:addons-vauxoo
Diff against target: 101 lines (+86/-0)
3 files modified
product_search_code/__init__.py (+26/-0)
product_search_code/__openerp__.py (+43/-0)
product_search_code/product_view.xml (+17/-0)
To merge this branch: bzr merge lp:~vauxoo/addons-vauxoo/addons_vauxoo_product_search_code_dev_carlos
Reviewer Review Type Date Requested Status
Gabriela Quilarque Pending
Moisés López - http://www.vauxoo.com Pending
Review via email: mp+116779@code.launchpad.net

Description of the change

add fields code_default and variants in search the view product

To post a comment you must log in.
Revision history for this message
Moisés López - http://www.vauxoo.com (moylop260) wrote :

Este desarrollo fue propuesto, debido a que desaparecieron estos campos.
Pero OpenERP lo sustituyó con funcionalidad, que hace depreciado este cambio.

Unmerged revisions

353. By Juan Carlos Hernandez

[IMP][product_search_code] add fields code_default and variants in search the view product

352. By Juan Carlos Hernandez

[ADD][product_search_code] add module product_search_code

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'product_search_code'
2=== added file 'product_search_code/__init__.py'
3--- product_search_code/__init__.py 1970-01-01 00:00:00 +0000
4+++ product_search_code/__init__.py 2012-07-25 22:59:38 +0000
5@@ -0,0 +1,26 @@
6+#!/usr/bin/python
7+# -*- encoding: utf-8 -*-
8+###########################################################################
9+# Module Writen to OpenERP, Open Source Management Solution
10+# Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/
11+# All Rights Reserved.
12+# info Vauxoo (info@vauxoo.com)
13+############################################################################
14+# Coded by: Juan Carlos Hernandez Funes (juan@vauxoo.com)
15+# Planned by: Moises Augusto Lopez Calderon (moylop260@vauxoo.com)
16+############################################################################
17+#
18+# This program is free software: you can redistribute it and/or modify
19+# it under the terms of the GNU Affero General Public License as
20+# published by the Free Software Foundation, either version 3 of the
21+# License, or (at your option) any later version.
22+#
23+# This program is distributed in the hope that it will be useful,
24+# but WITHOUT ANY WARRANTY; without even the implied warranty of
25+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26+# GNU Affero General Public License for more details.
27+#
28+# You should have received a copy of the GNU Affero General Public License
29+# along with this program. If not, see <http://www.gnu.org/licenses/>.
30+#
31+##############################################################################
32
33=== added file 'product_search_code/__openerp__.py'
34--- product_search_code/__openerp__.py 1970-01-01 00:00:00 +0000
35+++ product_search_code/__openerp__.py 2012-07-25 22:59:38 +0000
36@@ -0,0 +1,43 @@
37+#!/usr/bin/python
38+# -*- encoding: utf-8 -*-
39+###########################################################################
40+# Module Writen to OpenERP, Open Source Management Solution
41+# Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/
42+# All Rights Reserved.
43+# info Vauxoo (info@vauxoo.com)
44+############################################################################
45+# Coded by: Juan Carlos Hernandez Funes (juan@vauxoo.com)
46+# Planned by: Moises Augusto Lopez Calderon (moylop260@vauxoo.com)
47+############################################################################
48+#
49+# This program is free software: you can redistribute it and/or modify
50+# it under the terms of the GNU Affero General Public License as
51+# published by the Free Software Foundation, either version 3 of the
52+# License, or (at your option) any later version.
53+#
54+# This program is distributed in the hope that it will be useful,
55+# but WITHOUT ANY WARRANTY; without even the implied warranty of
56+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
57+# GNU Affero General Public License for more details.
58+#
59+# You should have received a copy of the GNU Affero General Public License
60+# along with this program. If not, see <http://www.gnu.org/licenses/>.
61+#
62+##############################################################################
63+{
64+ "name" : "Product Search Code and Variants",
65+ "version" : "1.0",
66+ "depends" : ["product"],
67+ "author" : "Vauxoo",
68+ "description" : """This module inherits the fields and variants of the product code to view search""",
69+ "website" : "http://vauxoo.com",
70+ "category" : "Generic Modules",
71+ "init_xml" : [],
72+ "demo_xml" : [],
73+ "test": [],
74+ "update_xml" : [
75+ 'product_view.xml',
76+ ],
77+ "active": False,
78+ "installable": True,
79+}
80
81=== added file 'product_search_code/product_view.xml'
82--- product_search_code/product_view.xml 1970-01-01 00:00:00 +0000
83+++ product_search_code/product_view.xml 2012-07-25 22:59:38 +0000
84@@ -0,0 +1,17 @@
85+<?xml version="1.0" encoding="UTF-8"?>
86+<openerp>
87+ <data>
88+ <record id="product_search_form_inh_search" model="ir.ui.view">
89+ <field name="name">product.search.form.inh.search</field>
90+ <field name="inherit_id" ref="product.product_search_form_view"/>
91+ <field name="model">product.product</field>
92+ <field name="type">search</field>
93+ <field name="arch" type="xml">
94+ <xpath expr="/search[@string='Product']/field[@name='categ_id']" position="after">
95+ <field name="default_code"/>
96+ <field name="variants"/>
97+ </xpath>
98+ </field>
99+ </record>
100+ </data>
101+</openerp>