[IMP] mail : Improved the terminologies.

bzr revid: mdi@tinyerp.com-20121008084804-9mmxzdlyxhyarf0j
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-10-08 14:18:04 +05:30
parent 46c83756da
commit 09e5d404df
3 changed files with 5 additions and 5 deletions

View File

@ -580,11 +580,11 @@ class mail_message(osv.Model):
partner_wo_email_lst.append(partner)
if not partner_wo_email_lst:
return {}
warning_msg = _('The following partners chosen as recipients for the email have no email address linked :')
warning_msg = _('The following contacts do not have an email address specified.')
for partner in partner_wo_email_lst:
warning_msg += '\n- %s' % (partner.name)
return {'warning': {
'title': _('Partners email addresses not found'),
'title': _('Email not found'),
'message': warning_msg,
}
}

View File

@ -9,7 +9,7 @@
sequence="10"/>
<!-- Left-side menu: Feeds -->
<menuitem id="mail_feeds" name="Feeds" parent="mail.mail_feeds_main" groups="base.group_user" sequence="10"/>
<menuitem id="mail_feeds" name="Feed" parent="mail.mail_feeds_main" groups="base.group_user" sequence="10"/>
<menuitem id="mail_my_stuff" name="Organizer" parent="mail.mail_feeds_main"/>
<record id="mail_inboxfeeds" model="ir.ui.menu">

View File

@ -58,10 +58,10 @@
<field name="subject" colspan="2" nolabel="1" placeholder="Subject..."
class="oe_mail_compose_message_subject"
attrs="{'invisible':[('content_subtype', '=', 'plain')]}"/>
<field name="body_text" colspan="2" nolabel="1" placeholder="What are you working on ?"
<field name="body_text" colspan="2" nolabel="1" placeholder="What are you working on?"
class="oe_mail_compose_message_body"
attrs="{'invisible':[('content_subtype', '=', 'html')]}"/>
<field name="body" colspan="2" nolabel="1" placeholder="What are you working on ?"
<field name="body" colspan="2" nolabel="1" placeholder="What are you working on?"
class="oe_mail_compose_message_body_html"
attrs="{'invisible':[('content_subtype', '=', 'plain')]}"/>
<field name="partner_ids" colspan="2" nolabel="1" widget="many2many_tags" placeholder="Add contacts to notify..."