Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

How can I disable globaly that customers can receive mails and notifications?

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
mailv7notifications
6 Replies
11174 Tampilan
Avatar
Miguel Fernández

We use only CRM modules in OpenERP

I want use all emails in OpenERP internally only, without mails sent to our customers.

How can I do it?

I can't trust in my users to manually check off the checkboxes when they send messages from lead/opportunities. It is by default checked.

Any idea?

2
Avatar
Buang
Lucio

Hi, I know this is and old question, but I found it while googling for another issue. I think the best way to avoid this will be to just disable the email suggestion (Not actually disable, but avoid adding clients as suggested recipients). To do this, you have to overwrite the function message_get_suggested_recipients. The function is defined in the mail_thread class, but the later is supposed to be inherited for other classes (in the case of the question, crm_lead) so you can just overwrite there. The function returns a dictionary like: return {: [(,,)]} so you can just do something like: def message_get_suggested_recipients(self, cr, uid, ids, context=None): ret = dict(((x,[]) for x in ids)) return ret And this way you will just avoid adding suggested recipients as actual recipients. Obviously, this wont avoid someone manually adding a client as recipient, but it will have to be intentionally. Hope it helps!

Lucio

Sorry to put this as a comment, but I was not able to post an answer nor "Conver as an anwer" I was getting, 403 Forbidden.

Avatar
Bonnet Denis
Jawaban Terbai

I use a custom js script that unchecked the boxes. I've change the on_toggle_quick_composer function of ThreadComposeMessage Class of mail module :

    /*---------------------------------------------------------
     * OpenERP checkboxes décochées par défaut dans le fil de discussion.
     *---------------------------------------------------------*/
openerp.paramJuliana = function(instance){
    var module2 = instance.mail // loading the namespace of the 'sample' module

    module2.ThreadComposeMessage.include({
        on_toggle_quick_composer: function (event) {
            var self = this;
            var $input = $(event.target);
            this.compute_emails_from();
            var email_addresses = _.pluck(this.recipients, 'email_address');

            var suggested_partners = $.Deferred();

            // if clicked: call for suggested recipients
            if (event.type == 'click') {
                this.is_log = $input.hasClass('oe_compose_log');
                suggested_partners = this.parent_thread.ds_thread.call('message_get_suggested_recipients', [[this.context.default_res_id]]).done(function (additional_recipients) {
                    var thread_recipients = additional_recipients[self.context.default_res_id];
                    _.each(thread_recipients, function (recipient) {
                        var parsed_email = module2.ChatterUtils.parse_email(recipient[1]);
                        if (_.indexOf(email_addresses, parsed_email[1]) == -1) {
                            self.recipients.push({
                                'checked': false,
                                'partner_id': recipient[0],
                                'full_name': recipient[1],
                                'name': parsed_email[0],
                                'email_address': parsed_email[1],
                                'reason': recipient[2],
                            })
                        }
                    });
                });
            }
            else {
                suggested_partners.resolve({});
            }

            // when call for suggested partners finished: re-render the widget
            $.when(suggested_partners).pipe(function (additional_recipients) {
                if ((!self.stay_open || (event && event.type == 'click')) && (!self.show_composer || !self.$('textarea:not(.oe_compact)').val().match(/\S+/) && !self.attachment_ids.length)) {
                    self.show_composer = !self.show_composer || self.stay_open;
                    self.reinit();
                }
                if (!self.stay_open && self.show_composer && (!event || event.type != 'blur')) {
                    self.$('textarea:not(.oe_compact):first').focus();
                }
            });

            return suggested_partners;
        },
    });

};

And I set the email @ in font bold and red by changing the template of .oe_recipients label CSS class

0
Avatar
Buang
Avatar
Diego Crespo
Jawaban Terbai

This is exactly what I need to do since it is very dangerous and easy to send internal conversations to potential customers in the middle of a negotiation. I need to disable this checkbox and change the default status to uncheked. Can someone please help by pointing me the steps or the path to edit this file? I am new to OpenERP.

0
Avatar
Buang
Avatar
Flyguy
Jawaban Terbai

You could delete the outgoing mail server. That way the system won't send any mails. And then just use the messaging inside OERP for the users internally.

0
Avatar
Buang
Miguel Fernández
Penulis

But then I'll lost the capability of send mails to my users or between them too.

Avatar
Fabien Pinckaers (fp)
Jawaban Terbai

Take the latest revision, it has a "Log a note" feature instead of the "Send a message" one.

0
Avatar
Buang
Miguel Fernández
Penulis

Thank you. I see that, but I'm looking for a way to disable the "Send a message" button.

FRACHT FWO CZECH

Could you please explain how this disables email sending globally, thanks.

Avatar
Lithin T
Jawaban Terbai

@Fabien Pinckaers

This is a serious issue that we are also facing, Please provide us a better solution for this, as sending a notification to our real customers for each and every internal conversation between our employs(openerp users).

0
Avatar
Buang
Lucio

Hi, I know this is and old question, but I found it while googling for another issue. I think the best way to avoid this will be to just disable the email suggestion (Not actually disable, but avoid adding clients as suggested recipients). To do this, you have to overwrite the function message_get_suggested_recipients. The function is defined in the mail_thread class, but the later is supposed to be inherited for other classes (in the case of the question, crm_lead) so you can just overwrite there. The function returns a dictionary like: return {: [(,,)]} so you can just do something like: def message_get_suggested_recipients(self, cr, uid, ids, context=None): ret = dict(((x,[]) for x in ids)) return ret And this way you will just avoid adding suggested recipients as actual recipients. Obviously, this wont avoid someone manually adding a client as recipient, but it will have to be intentionally. Hope it helps!

Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Mail Notification : Customize the text Diselesaikan
mail notifications
Avatar
Avatar
Avatar
2
Nov 23
7216
Send an email automatically after an order or a purchase Diselesaikan
mail notifications
Avatar
Avatar
Avatar
Avatar
Avatar
9
Des 22
25525
How to send emails
mail v7
Avatar
Avatar
2
Mar 15
6245
How to setup local email server on v7
mail v7
Avatar
Avatar
1
Mar 15
8356
Avoid message "You have been assigned to" for new invoices Diselesaikan
mail notifications invoicing
Avatar
Avatar
Avatar
Avatar
Avatar
4
Jul 25
8082
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now