[MERGE] Sync with trunk
authorThibault Delavallée <tde@openerp.com>
Wed, 17 Jul 2013 07:47:10 +0000 (09:47 +0200)
committerThibault Delavallée <tde@openerp.com>
Wed, 17 Jul 2013 07:47:10 +0000 (09:47 +0200)
bzr revid: tde@openerp.com-20130717074710-2jz58nqwe7hnyyij

1  2 
addons/mail/__openerp__.py
addons/mail/mail_message.py
addons/mail/static/src/css/mail.css
addons/mail/static/src/js/mail.js
addons/mail/static/src/xml/mail.xml

Simple merge
Simple merge
Simple merge
@@@ -962,8 -967,24 +967,29 @@@ openerp.mail = function (session) 
              this.$('.oe_reply').on('click', this.on_message_reply);
              this.$('.oe_star').on('click', this.on_star);
              this.$('.oe_msg_vote').on('click', this.on_vote);
++<<<<<<< TREE
 +            this.$('.oe_mail_expand').on('click', this.on_expand);
 +            this.$('.oe_mail_reduce').on('click', this.on_expand);
++=======
+             this.$('.oe_mail_action_model').on('click', this.on_record_clicked);
+         },
+         on_record_clicked: function  (event) {
+             event.stopPropagation();
+             var state = {
+                 'model': this.model,
+                 'id': this.res_id,
+                 'title': this.record_name
+             };
+             session.webclient.action_manager.do_push_state(state);
+             this.do_action({
+                 res_model: state.model,
+                 res_id: state.id,
+                 type: 'ir.actions.act_window',
+                 views: [[false, 'form']]
+             });
+             return false;
++>>>>>>> MERGE-SOURCE
          },
  
          /* Call the on_compose_message on the thread of this message. */
Simple merge