İçereği Atla
Menü
Bu soru işaretlendi
4 Cevaplar
14264 Görünümler

I only want to keep the "Log a note" feature in opportunities and partners.

Avatar
Vazgeç

If you got the solution then please let me know as I also want to know the solution

Please someone answer this question

En İyi Yanıt

Hey there, I don't know if someone else is faced with a similar issue.
I'm using Odoo version 15. and for disable the Send Message option on version 15 you can change the xml code on this location.

addons/mail/static/src/components/chatter_topbar/chatter_topbar.xml :

You can add simple a style in the "Send Message", I added style="display:none;"

<button class="btn btn-link o_ChatterTopbar_button o_ChatterTopbar_buttonSendMessage"type="button"t-att-class="{                                'o-active': chatter.composerView and !chatter.composerView.composer.isLog,                                'o-bordered': chatter.hasExternalBorder,                            }"t-att-disabled="chatter.isDisabled"title="Send a message"data-hotkey="m"t-on-click="chatter.onClickSendMessage">                            Send messagebutton>


Avatar
Vazgeç
En İyi Yanıt

In odoo13, i tried to uninstall crm_sms that did not work. So I followed Stefan's suggestion, comment the html under chatter.xml (no more mail.xml in odoo13), it works

Avatar
Vazgeç
En İyi Yanıt

Kind of late, but it may help some others.

For Odoo v13.

I've achieved it by uninstalling sms module from apps, it works for all sms features in Odoo, but if you want to disable them only for CRM there's a module named crm_sms I suppose uninstalling it would disable the feature for CRM only. 

Avatar
Vazgeç
En İyi Yanıt

For now I've changed /usr/lib/pymodules/python2.6/openerp/addons/mail/static/src/xml/mail.xml

146c146
< <input type="checkbox" t-att-data="recipient.full_name"/>
---
> <input type="checkbox" t-att-checked="recipient.checked ? 'checked' : undefined" t-att-data="recipient.full_name"/>

This way, our users have to explicitely choose to send a message externally. It's not what you originally wanted but it might be a workaround for the interim.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 15
18036
0
Mar 24
1502
3
Şub 25
26127
0
May 15
3652
1
Mar 15
4610