Merge lp:~akretion-team/openobject-addons/trunk-add-search-by-manufacturer into lp:openobject-addons

Proposed by Raphaël Valyi - http://www.akretion.com
Status: Needs review
Proposed branch: lp:~akretion-team/openobject-addons/trunk-add-search-by-manufacturer
Merge into: lp:openobject-addons
Diff against target: 20 lines (+10/-0)
1 file modified
product_manufacturer/product_manufacturer_view.xml (+10/-0)
To merge this branch: bzr merge lp:~akretion-team/openobject-addons/trunk-add-search-by-manufacturer
Reviewer Review Type Date Requested Status
Olivier Dony (Odoo) Pending
Review via email: mp+211090@code.launchpad.net

Description of the change

allows to search product by manufacturer and manufacturer reference

To post a comment you must log in.

Unmerged revisions

9214. By Raphaël Valyi - http://www.akretion.com

[IMP] added search by manufacturer and manufacturer reference

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'product_manufacturer/product_manufacturer_view.xml'
2--- product_manufacturer/product_manufacturer_view.xml 2013-10-27 12:31:04 +0000
3+++ product_manufacturer/product_manufacturer_view.xml 2014-03-14 16:46:24 +0000
4@@ -47,6 +47,16 @@
5 </form>
6 </field>
7 </record>
8+ <record id="product_manufacturer_search_form_view" model="ir.ui.view">
9+ <field name="name">product.manufacturer.search.form</field>
10+ <field name="model">product.product</field>
11+ <field name="inherit_id" ref="product.product_search_form_view"/>
12+ <field name="arch" type="xml">
13+ <field name="name" position="after">
14+ <field name="manufacturer" string="Manufacturer" filter_domain="['|', ('manufacturer', 'ilike', self), ('manufacturer_pname', 'ilike', self)]"/>
15+ </field>
16+ </field>
17+ </record>
18
19 </data>
20 </openerp>

Subscribers

People subscribed via source and target branches

to all changes: