[MERGE] Sync with trunk.
authorThibault Delavallée <tde@openerp.com>
Thu, 29 Nov 2012 11:36:58 +0000 (12:36 +0100)
committerThibault Delavallée <tde@openerp.com>
Thu, 29 Nov 2012 11:36:58 +0000 (12:36 +0100)
bzr revid: tde@openerp.com-20121129113658-x23z7w5e54mr4j9v

1  2 
addons/mail/mail_thread.py
addons/mail/mail_thread_view.xml
addons/mail/static/src/js/mail.js

Simple merge
                'search_default_message_unread': True
              }</field>
              <field name="params" eval="&quot;{
 -                'domain': [('partner_ids.user_ids', 'in', [uid])],
 +                'domain': [
 +                    ('partner_ids.user_ids', 'in', [uid])
 +                ],
                  'view_mailbox': True,
-                 'read_action': 'read', }&quot;"/>
+                 'read_action': 'read',
+                 'show_compose_message': False }&quot;"/>
              <field name="help" type="html">
                  <p>
                      <b>No private message.</b>
                'search_default_message_unread': True
              }</field>
              <field name="params" eval="&quot;{
 -                'domain': [('favorite_user_ids', 'in', [uid])],
 +                'domain': [
 +                    ('starred', '=', True),
 +                ],
                  'view_mailbox': True,
-                 'read_action': 'read', }&quot;"/>
+                 'read_action': 'read',
+                 'compose_as_todo': True }&quot;"/>
              <field name="help" type="html">
                  <p>
                      <b>No todo.</b>
                'default_res_id': uid
              }</field>
              <field name="params" eval="&quot;{
 -                'domain': ['|', ('notification_ids.partner_id.user_ids', 'in', [uid]), ('author_id.user_ids', 'in', [uid])],
 +                'domain': [
 +                    '|',
 +                    ('notification_ids.partner_id.user_ids', 'in', [uid]),
 +                    ('author_id.user_ids', 'in', [uid]),
 +                ],
-                 'view_mailbox': True, }&quot;"/>
+                 'view_mailbox': True,
+                 'show_compose_message': False }&quot;"/>
              <field name="help" type="html">
                  <p>
                      No message found and no message sent yet.
Simple merge