Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
5673 Переглядів

 I want to add a button here, how can I do that?

Аватар
Відмінити
Найкраща відповідь

Hi,

Use the following code for adding the button in chatter

<t t-extend="mail.chatter.Composer">
<t t-jquery=".o_composer_send" t-operation="after">
<div class="col-lg-4">
<button class="btn btn-primary" style="margin-top: 10px;"
type="button">
Button Name
</button>
</div>

</t>
</t>

You can write the JavaScript code for adding functionality for the added button

Regards

Аватар
Відмінити
Найкраща відповідь

Hi
you can add button after schedule activity button using following code

<t t-extend="mail.chatter.Buttons">

    <t t-jquery=".o_chatter_button_schedule_activity" t-operation="after">

        <button class="btn btn-link">Button Name</button>

    </t>

</t>

need to write JavaScript code if you want to perform some operation on click button




Аватар
Відмінити
Автор

This works. Thanks.

Related Posts Відповіді Переглядів Дія
1
лют. 25
1599
2
груд. 24
2585
0
лист. 24
2207
3
трав. 24
4817
0
січ. 25
2764