[FIX] [TMP] mail: tmp fix of Compose a new message box. Also set some fields of the mail.compose.message wizard visible, to ease debugging. This will have to be removed.
bzr revid: tde@openerp.com-20121031165207-wnz41v2wrdfhuus0
This commit is contained in:
parent
35ef78f331
commit
e21e4e178e
|
@ -138,7 +138,7 @@ openerp.mail = function (session) {
|
|||
default_parent_id: false }, options.context || {});
|
||||
|
||||
// data of this message
|
||||
this.id = datasets.id || -1,
|
||||
this.id = datasets.id || false,
|
||||
this.last_id = this.id,
|
||||
this.model = datasets.model || false,
|
||||
this.res_model = datasets.res_model || false;
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
<form string="Compose Email" version="7.0">
|
||||
<group>
|
||||
<!-- truly invisible fields for control and options -->
|
||||
<field name="composition_mode" invisible="1"/>
|
||||
<field name="model" invisible="1"/>
|
||||
<field name="res_id" invisible="1"/>
|
||||
<field name="parent_id" invisible="1"/>
|
||||
<field name="content_subtype" invisible="1"/>
|
||||
<field name="composition_mode" invisible="0"/>
|
||||
<field name="model" invisible="0"/>
|
||||
<field name="res_id" invisible="0"/>
|
||||
<field name="parent_id" invisible="0"/>
|
||||
<field name="content_subtype" invisible="0"/>
|
||||
<!-- visible wizard -->
|
||||
<field name="partner_ids" widget="many2many_tags" placeholder="Add contacts to notify..."
|
||||
context="{'force_email':True}"
|
||||
|
|
Loading…
Reference in New Issue