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
    Supply Chain
    • 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
    • Discuss
    • Kecerdasan Buatan
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • 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
    • Manajemen Properti
    • 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 IndustriInauguration Odoo Lyon
  • 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
    • Konsultasi
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan
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

Report doesn't include attachment

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
attach
2 Replies
1681 Tampilan
Avatar
abcd

I have duplicate "Quote PDF" report to create my custom report "Custom PDF Quote" 

I am surprise this duplicate report does NOT manage PDF attachment with "Quote Builder"


Did I miss something in my duplicate action.

I thaught, duplicate will bring at list same functionnality as initial report


Thanks for help

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

When you duplicate a report action in Odoo, it copies the report definition itself but does not automatically carry over the attachment logic the original "Quote PDF" report has an attachment field expression (like object.name + '.pdf') and an attachment_use flag set to True on the ir.actions.report record, and these are sometimes left blank or set to False on the duplicate. Here's how to fix it:

# In your module's data XML or by updating the duplicated report record,
# make sure these fields are set on your custom report action:

<record id="your_custom_quote_report_action" model="ir.actions.report">
    <field name="name">Custom PDF Quote</field>
    <field name="model">sale.order</field>
    <field name="report_type">qweb-pdf</field>
    <field name="report_name">your_module.your_custom_report_template</field>

    <!-- These two fields are what carry the attachment behavior -->
    <field name="attachment">object.name + '.pdf'</field>
    <field name="attachment_use">True</field>
</record>

Or if you prefer to fix it directly via Odoo UI, go to Settings → Technical → Reporting → Reports, find your duplicated "Custom PDF Quote" report, and manually fill in the Attachment field with the same expression as the original (e.g. object.name + '.pdf') and tick the Reload from Attachment checkbox. The attachment field is a Python expression evaluated against the record (object), and attachment_use tells Odoo to store and reuse the generated PDF rather than regenerating it each time both are silently left empty during duplication, which is why the Quote Builder PDF attachment stops working on the copy.


Hope it helps

0
Avatar
Buang
Avatar
D Enterprise
Jawaban Terbai

Hii,

Try this 

Go to Settings → Technical → Reports → Reports

Find your custom report

Enable these fields:

Attachment Use : ✔Checked

Attachment :

(Custom PDF Quote - %(name)s)


Or use the same as original:


(Sale Order - %(name)s)



I hope it is usefull



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
◤🎯GUÍA✈Latam✪Teléfono Bogotá Colombia◥ GUÍA Latam Colombia ¿Cómo hablar con un asesor de Latam en Colombia?
attach
Avatar
0
Mei 26
58
¿Cómo llamar a Lufthansa desde México?
attach
Avatar
0
Mei 26
2
( Ayuda-Airlines-RD)¿Cómo llamar a Delta desde República Dominicana?
attach
Avatar
0
Mei 26
2
Oficina@Avianca@Guatemala¿Cómo me comunico con Avianca Guatemala?
attach
Avatar
0
Mei 26
38
🌺🐛🐠 {{Official Iberia telefono Guatemala}}🚎🧤🏂 ¿Cómo llamar al servicio de atención al cliente de Iberia?
attach
Avatar
0
Mei 26
8
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
  • Karir
  • 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah software terintegrasi dengan 70+ aplikasi seperti CRM, Akuntansi, Inventaris, Sales, eCommerce, Marketing, POS; plus fitur lokal Indonesia!

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