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

Email template - list of followers

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
pythonqwebemail
2 Replies
3249 Tampilan
Avatar
Dominik Lisiakiewicz

Good morning, I want a list of followers (email address) to be added at the beginning of every email coming from odoo, regardless of whether it is an internal user or not.
I found this code,

% for follower in object.message_follower_ids:

${follower.name} ${follower.email}

% endfor


 but I can't add it to the email template. Can anyone suggest how to get it?
I cannot modify files (enterprise version), only settings possible from the backend.

0
Avatar
Buang
Avatar
shubham shiroya
Jawaban Terbai

check the below steps:

  1. In your any_think method, you are defining data as an empty dictionary. Then, you're assigning the result of self.read()[0] to data['form']. This implies that you want to pass the form data to the report. Make sure the read() method is returning the expected values. You can add some print statements to check the data['form'] before passing it to the report.

  2. The line return self.env.ref('nidal.wizreport').report_action(self, data=data) suggests that you have defined a report template with the XML ID 'nidal.wizreport'. Confirm that the XML ID is correct and that the report template exists. Also, check the report template to ensure it is properly configured to handle the data passed through the data variable.

  3. In the XML view of your wizard, the id attribute is missing for the field elements. Make sure to provide unique IDs for each field, as they are necessary for proper functioning and data binding.

  4. Check the report design and the report template associated with the XML ID 'nidal.wizreport'. Verify that the report template is correctly defined and that it handles the data passed through the data variable. Make sure you are using the correct placeholders and syntax to display the data in the report.


0
Avatar
Buang
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Jawaban Terbai

Hi,

You can create a custom template in the xml file 










<?xml version="1.0" encoding="UTF-8"?>
<odoo>
        <record id="template_id" model="mail.template">
            <field name="name">Template name</field>
            <field name="model_id" ref="module_name.model_model_name"/>
            <field name="auto_delete" eval="False"/>
            <field name="email_from">{{ (object.env.user.login) }}</field>
            <field name="subject">Type your own subject</field>
            <field name="body_html">
                <![CDATA[
               <p>
               //Write your email details
               </p>
               ]]>
            </field>
        </record>
</odoo>



mail_template = self.env.ref(module_name.tempalte_id)
mail_template.send_mail(self
.id, force_send=True,email_values={
                             
'email_to':// email address})


If you have multiple people you can create it has in loop statements

Hope it helps

0
Avatar
Buang
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
Issue with a new Product Label Template (102x102) in Odoo V17
development python qweb
Avatar
0
Des 24
1884
My custom report is changing when user Configured the Document Layout Diselesaikan
python qweb v14
Avatar
Avatar
1
Jan 23
3414
How to mapped same values in a list Diselesaikan
python qweb list
Avatar
Avatar
1
Mar 21
4018
How can display my Compnay name in t-field in Qweb (v14)
python qweb v14
Avatar
Avatar
1
Okt 20
5163
How to print invoices with there payments
python qweb odooV8
Avatar
Avatar
Avatar
Avatar
4
Jul 17
8042
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