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
=== added directory 'product_search_code'
=== added file 'product_search_code/__init__.py'
--- product_search_code/__init__.py 1970-01-01 00:00:00 +0000
+++ product_search_code/__init__.py 2012-07-25 22:59:38 +0000
@@ -0,0 +1,26 @@
1#!/usr/bin/python
2# -*- encoding: utf-8 -*-
3###########################################################################
4# Module Writen to OpenERP, Open Source Management Solution
5# Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/
6# All Rights Reserved.
7# info Vauxoo (info@vauxoo.com)
8############################################################################
9# Coded by: Juan Carlos Hernandez Funes (juan@vauxoo.com)
10# Planned by: Moises Augusto Lopez Calderon (moylop260@vauxoo.com)
11############################################################################
12#
13# This program is free software: you can redistribute it and/or modify
14# it under the terms of the GNU Affero General Public License as
15# published by the Free Software Foundation, either version 3 of the
16# License, or (at your option) any later version.
17#
18# This program is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21# GNU Affero General Public License for more details.
22#
23# You should have received a copy of the GNU Affero General Public License
24# along with this program. If not, see <http://www.gnu.org/licenses/>.
25#
26##############################################################################
027
=== added file 'product_search_code/__openerp__.py'
--- product_search_code/__openerp__.py 1970-01-01 00:00:00 +0000
+++ product_search_code/__openerp__.py 2012-07-25 22:59:38 +0000
@@ -0,0 +1,43 @@
1#!/usr/bin/python
2# -*- encoding: utf-8 -*-
3###########################################################################
4# Module Writen to OpenERP, Open Source Management Solution
5# Copyright (c) 2011 Vauxoo - http://www.vauxoo.com/
6# All Rights Reserved.
7# info Vauxoo (info@vauxoo.com)
8############################################################################
9# Coded by: Juan Carlos Hernandez Funes (juan@vauxoo.com)
10# Planned by: Moises Augusto Lopez Calderon (moylop260@vauxoo.com)
11############################################################################
12#
13# This program is free software: you can redistribute it and/or modify
14# it under the terms of the GNU Affero General Public License as
15# published by the Free Software Foundation, either version 3 of the
16# License, or (at your option) any later version.
17#
18# This program is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21# GNU Affero General Public License for more details.
22#
23# You should have received a copy of the GNU Affero General Public License
24# along with this program. If not, see <http://www.gnu.org/licenses/>.
25#
26##############################################################################
27{
28 "name" : "Product Search Code and Variants",
29 "version" : "1.0",
30 "depends" : ["product"],
31 "author" : "Vauxoo",
32 "description" : """This module inherits the fields and variants of the product code to view search""",
33 "website" : "http://vauxoo.com",
34 "category" : "Generic Modules",
35 "init_xml" : [],
36 "demo_xml" : [],
37 "test": [],
38 "update_xml" : [
39 'product_view.xml',
40 ],
41 "active": False,
42 "installable": True,
43}
044
=== added file 'product_search_code/product_view.xml'
--- product_search_code/product_view.xml 1970-01-01 00:00:00 +0000
+++ product_search_code/product_view.xml 2012-07-25 22:59:38 +0000
@@ -0,0 +1,17 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<openerp>
3 <data>
4 <record id="product_search_form_inh_search" model="ir.ui.view">
5 <field name="name">product.search.form.inh.search</field>
6 <field name="inherit_id" ref="product.product_search_form_view"/>
7 <field name="model">product.product</field>
8 <field name="type">search</field>
9 <field name="arch" type="xml">
10 <xpath expr="/search[@string='Product']/field[@name='categ_id']" position="after">
11 <field name="default_code"/>
12 <field name="variants"/>
13 </xpath>
14 </field>
15 </record>
16 </data>
17</openerp>