Odoo Help

0

Modify "Reply" Butto to open full email composer not the compact composer

By
Tobias Frankl
on 9/4/16, 3:08 PM 366 views

I want to change the behavior of the mail module slightly. I want to always open the full email composer and never the small preview composer that works inline.

"Reply" and "Send a message" open normaly tha small inline composer.

Is that easily achivable?

Version 8.

The reason for this change is, that in the small composer the situation with followers and recipients is not clearly visible to users.

Should be somewhere in mail.js:

/* Call the on_compose_message on the thread of this message. */

on_message_reply:function (event) {

event.stopPropagation();

this.create_thread();

this.thread.on_compose_message(event);

return false;

},

Tobias Frankl
on 9/4/16, 6:03 PM

this.thread.ds_thread.call("oe_full", {context: this.context}).then(function(action){

self.do_action(action);

Was me trying - but my js is to bad.

Tobias Frankl
on 9/5/16, 2:05 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 9/4/16, 3:08 PM
Seen: 366 times
Last updated: 9/4/16, 5:02 PM