Merge lp:~openerp-dev/openobject-addons/7.0-opw-596790-skh into lp:openobject-addons/7.0

Proposed by Somesh Khare
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-596790-skh
Merge into: lp:openobject-addons/7.0
Diff against target: 12 lines (+1/-1)
1 file modified
product/product_view.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-596790-skh
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+183129@code.launchpad.net

Description of the change

Hello Sir,

[FIX]product: clicking on parent category do not shows the products of its child category.

Steps to reproduce:
1. Create a fresh db and install only sale module.
2. Select Sale > Products > Products by Category.
3. Click on the category (eg: Saleable), You can only see the products those have the selected category in the category field not its childs category.

This branch fixes this issue, Kindly review the branch and please share your view on it.

Thanks & Regards,
Somesh Khare

To post a comment you must log in.

Unmerged revisions

9387. By Somesh Khare(OpenERP) <email address hidden>

[FIX]product: clicking on parent category do not shows the products of its child category (Ref: Case 596790)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'product/product_view.xml'
2--- product/product_view.xml 2013-03-22 12:56:01 +0000
3+++ product/product_view.xml 2013-08-30 11:21:50 +0000
4@@ -13,7 +13,7 @@
5 <filter string="Consumable" name="consumable" icon="terp-accessories-archiver" domain="[('type','=','consu')]" help="Consumable products"/>
6 <separator/>
7 <filter string="Can be Sold" name="filter_to_sell" icon="terp-accessories-archiver-minus" domain="[('sale_ok','=',1)]"/>
8- <field name="categ_id"/>
9+ <field name="categ_id" operator="child_of"/>
10 <group expand="0" string="Context...">
11 <field name="pricelist_id" context="{'pricelist': self}" groups="product.group_sale_pricelist"/>
12 <field name="company_id" groups="base.group_multi_company"/>