[FIX] mass_mailing: email_template: finally found how to specify

a form view id in an action; do not use view_id that seems to be used for
that, but changes the view order (always form by default)... bleurg.

bzr revid: tde@openerp.com-20140325093007-g3hy9m8kcac9x1xs
This commit is contained in:
Thibault Delavallée 2014-03-25 10:30:07 +01:00
parent 7185a68775
commit b01ecbec97
1 changed files with 4 additions and 2 deletions

View File

@ -82,8 +82,10 @@
<field name="res_model">email.template</field>
<field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field>
<field name="view_id" ref="email_template.email_template_form_minimal"/>
<field name="context">{'search_default_use_in_mass_mailing': 1}</field>
<field name="context">{
'search_default_use_in_mass_mailing': 1,
'form_view_ref': 'email_template.email_template_form_minimal',
}</field>
</record>
<!-- Add Templates in Marketing / Mass mailing menu -->