[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:
parent
69dba424e7
commit
3565ea546e
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue