Merge PR #2751 into 16.0

Signed-off-by pedrobaeza
pull/2752/head
OCA-git-bot 2024-02-22 20:35:10 +00:00
commit 9879b816b5
1 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@
'btn-odoo': !chatterTopbar.chatter.composerView,
'btn-light': chatterTopbar.chatter.composerView and chatterTopbar.chatter.composerView.composer.isLog,
}"
t-att-disabled="!chatterTopbar.chatter.isTemporary and !chatterTopbar.chatter.hasWriteAccess"
t-att-disabled="!chatterTopbar.chatter.canPostMessage"
data-hotkey="m"
t-on-click="chatterTopbar.chatter.onClickSendMessage"
>
@ -113,7 +113,7 @@
'o-active btn-odoo': chatterTopbar.chatter.composerView and chatterTopbar.chatter.composerView.composer.isLog,
'btn-light': chatterTopbar.chatter.composerView and !chatterTopbar.chatter.composerView.composer.isLog or !chatterTopbar.chatter.composerView,
}"
t-att-disabled="!chatterTopbar.chatter.isTemporary and !chatterTopbar.chatter.hasWriteAccess"
t-att-disabled="!chatterTopbar.chatter.canPostMessage"
t-on-click="chatterTopbar.chatter.onClickLogNote"
data-hotkey="shift+m"
>
@ -130,7 +130,7 @@
<button
class="o_ChatterTopbar_button o_ChatterTopbar_buttonScheduleActivity btn btn-light text-nowrap"
type="button"
t-att-disabled="!chatterTopbar.chatter.isTemporary and !chatterTopbar.chatter.hasWriteAccess"
t-att-disabled="!chatterTopbar.chatter.canPostMessage"
t-on-click="chatterTopbar.chatter.onClickScheduleActivity"
data-hotkey="shift+a"
>