[FIX] product: Opening the list of products from the product's category tree view doesn't indicate the category in the filter

lp bug: https://launchpad.net/bugs/781656 fixed

bzr revid: ara@tinyerp.com-20110516110935-5xs6nw121xy1kmxq
This commit is contained in:
ARA (OpenERP) 2011-05-16 16:39:35 +05:30
parent 359adccde4
commit d071edc370
1 changed files with 1 additions and 2 deletions

View File

@ -280,8 +280,7 @@
<field name="res_model">product.product</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="domain">[('categ_id','child_of',[active_id])]</field>
<field name="context">{'categ_id':active_id}</field>
<field name="context">{'categ_id':active_id, 'search_default_categ_id':active_id}</field>
</record>
<record id="ir_product_category_open" model="ir.values">
<field eval="'tree_but_open'" name="key2"/>