Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
6086 Zobrazení

I was looking for something like "reply button" As this is in messaging sytem of Openerp7. I want the reply button in the form view of a record. As I have included the following in my views:

<div class="oe_chatter">
                    <field name="message_follower_ids" widget="mail_followers"/>
                    <field name="message_ids" widget="mail_thread"/>
 </div>

I am getting the chatter in the bottom, but I was looking for the reply button as a thread . As it is in the Messaging. I Changed the mail.js In mail_thread Widget I changed the init function with 'show_reply_button': true, The reply button is appearing but when I click on reply it doesnot open in the thread. And there is very little help or no help available on net and documentation is not rich so as to reach somewhere near to my requirements.

Avatar
Zrušit
Autor Nejlepší odpověď

I got the answer I updated the mail.js with the following:

instance.mail.RecordThread.include({
    init: function (parent, node) {
            this._super.apply(this, arguments);
            this.node = _.clone(node);
            this.node.params = _.extend({
                'display_indented_thread': 1,
                'show_reply_button': true,

            }, this.node.params);

            }
         });
Avatar
Zrušit
Nejlepší odpověď

Is this available in Odoo 10?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
úno 23
12405
2
čvc 25
1263
1
čvc 25
1696
1
kvě 25
780
2
kvě 25
1376