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

external id not found error odoo17

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
qwebreportsexternal_idv17
1 Balas
5587 Tampilan
Avatar
Esaie Labah

I am trying to migrate my customize module which works well on odoo 16 to odoo 17 but I have an error external id not found I tried to check I noticed when I install the module in odoo 17 the reports are not created in reports so what means that the xml code can't find the external id I created the reports manually and it worked now I don't understand why the reports are not automatically created when I install my module yet the reports are in the module

Please help me to sort this out

Thanks in advance

0
Avatar
Buang
Avatar
Shajahan
Jawaban Terbai

1. Check Module Dependencies

Ensure that all dependencies required by your module are specified in the __manifest__.py file and that these dependencies are installed before your module. Missing or incorrectly specified dependencies can prevent the proper creation of reports.

pythonCopy code'depends': ['base', 'sale', 'report'],  # Example dependencies

2. Review Data File Loading

Check the __manifest__.py file to confirm that all XML files, especially those defining the reports, are correctly listed under the 'data' or 'qweb' keys:

pythonCopy code'data': [
    'views/report_templates.xml',
    'views/some_other_views.xml',
],
'qweb': [
    'static/src/xml/report_qweb.xml',
],

Make sure that the paths are correct and that the files are actually in those locations in your module directory.

3. Examine Report XML Definitions

Review the XML files where you define the reports. Check for any changes in the report definition syntax between Odoo 16 and Odoo 17. Ensure that the syntax matches what Odoo 17 expects. For instance, the way reports are defined or registered might have changed:

xmlCopy code

4. External IDs and Upgrade Issues

If your module was upgraded or developed in an environment where it was installed before, there might be issues with lingering data or IDs:

  • Ensure that the external IDs used in your XML are unique and not conflicting with existing IDs in the database.
  • If possible, test the installation on a fresh database to see if the issue persists.

5. Debugging Installation

Install your module with debugging logs enabled to catch any errors during the installation. You can do this by running Odoo with log level set to debug:

bashCopy code./odoo-bin --log-level=debug_sql # Provides detailed logging

This can provide insights into what happens when your module's data files are processed.

6. Manual Creation vs. Automatic Creation

Since you mentioned that creating the reports manually works, it suggests that the definitions are mostly correct but might not be processed due to sequencing or dependency issues. Ensure that the module installation process doesn't have interrupted flows or missing steps that could lead to the XML files not being processed.

7. Check Security and Access Rights

Make sure that all necessary security and access rights are defined for the reports. Sometimes, missing access rights can prevent elements from being created or accessed properly.

8. Module Structure and Cyclic Dependencies

Check if there is a cyclic dependency within your module or between your module and others. This can sometimes result in parts of the module not being loaded correctly.

Following these steps should help identify and resolve the issue with reports not being automatically created when you install your module in Odoo 17. If the problem persists, consider reaching out to the Odoo community forums or filing a support ticket with Odoo if you have an enterprise contract.

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
How to Change TABLE Format in QWEB reports? With different table Border and Color.? Diselesaikan
qweb reports
Avatar
Avatar
Avatar
Avatar
Avatar
4
Jan 25
46173
QWEB Report template has inconsistent row heights (see screenshot)
qweb reports
Avatar
0
Okt 24
2334
Qweb reports inconsistent table row height
qweb reports
Avatar
0
Okt 24
5
How to override the existing view form with self made QWeb template?
qweb v17
Avatar
0
Sep 24
1820
images in report does not load
qweb reports
Avatar
Avatar
1
Mei 23
3951
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