Changed necessary fields

bzr revid: nicolas.vanhoren@openerp.com-20120813160654-kdebwwds8eysxtar
This commit is contained in:
niv-openerp 2012-08-13 18:06:54 +02:00
parent 2d10577000
commit 1ea43c0a23
3 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@ class mail_message_common(osv.TransientModel):
help="Type of message, usually 'html' or 'plain', used to select "\
"plain-text or rich-text contents accordingly"),
'body_text': fields.text('Text Contents', help="Plain-text version of the message"),
'body_html': fields.text('Rich-text Contents', help="Rich-text/HTML version of the message"),
'body_html': fields.html('Rich-text Contents', help="Rich-text/HTML version of the message"),
'body': fields.function(get_body, fnct_search = search_body, type='text',
string='Message Content', store=True,
help="Content of the message. This content equals the body_text field "\

View File

@ -44,7 +44,7 @@
</group>
<notebook>
<page string="Body (Rich)">
<field name="body_html" widget="text_html"/>
<field name="body_html"/>
</page>
<page string="Body (Plain)">
<field name="body_text" widget="text"/>
@ -138,7 +138,7 @@
</group>
<notebook>
<page string="Body (Rich)">
<field name="body_html" widget="text_html"/>
<field name="body_html"/>
</page>
<page string="Body (Plain)">
<field name="body_text" widget="text"/>

View File

@ -50,7 +50,7 @@
<field name="body_text" colspan="2" nolabel="1" placeholder="What are you working on ?"
class="oe_mail_compose_message_body_text"/>
<field name="body_html" colspan="2" nolabel="1" placeholder="What are you working on HTML ?"
class="oe_mail_compose_message_body_html oe_mail_compose_message_invisible" widget="text_html"/>
class="oe_mail_compose_message_body_html oe_mail_compose_message_invisible"/>
<field name="dest_partner_ids" colspan="2" nolabel="1" widget="many2many_tags"
placeholder="Add contacts to notify..."
class="oe_mail_compose_message_partner_ids oe_mail_compose_message_invisible"/>