[FIX] default values for membership products

still used old default value setting style (via action domain).

Question remains though: are the existing context values *used*? I
don't know so I left them there, but if they're not used or useful it
would be nice to remove them.

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

bzr revid: xmo@openerp.com-20111121113421-tudpi0pv4fqcrejb
This commit is contained in:
Xavier Morel 2011-11-21 12:34:21 +01:00
parent 69dba424e7
commit 3565ea546e
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@
<field name="name">Membership Products</field>
<field name="res_model">product.product</field>
<field name="domain">[('membership','=',True), ('type', '=', 'service')]</field>
<field name="context">{'membership':True, 'type':'service'}</field>
<field name="context">{'membership':True, 'type':'service', 'default_membership': True, 'default_type': 'service'}</field>
<field name="search_view_id" ref="membership_product_search_form_view"/>
</record>