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

[Odoo v17 CE] Error reloading Fiscal Localization

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
localizationspain
2 Replies
2090 Tampilan
Avatar
Jordi S

· What are the steps to reproduce the issue?

Settings → Invoicing → Fiscal Localization → Reload “Package🇪🇸 Spain - Complete (2008)” → Error


· What is the current behaviour you observe?

It fails https://imgur.com/a/tYxfvqY

0
Avatar
Buang
Avatar
Jordi S
Penulis Jawaban Terbai

None of this worked... thought that maybe upgrading would do because it's an insert to the database but it didn't.

The error is:

2025-04-01 11:29:20,160 1 ERROR odoo odoo.sql_db: bad query: INSERT INTO "account_tax" ("active", "amount", "amount_type", "company_id", "country_id", "create_date", "create_uid", "description", "facturae_code", "include_base_amount", "invoice_label", "is_base_affected", "l10n_es_bien_inversion", "l10n_es_edi_facturae_tax_type", "l10n_es_type", "name", "price_include", "sequence", "tax_exigibility", "tax_group_id", "tax_scope", "type_tax_use", "write_date", "write_uid") VALUES (true, '10.0000', 'percent', 1, 68, '2025-04-01 11:29:16.205726', 2, '{"en_US": "VAT 10% import (services)"}', '01', false, DEFAULT, true, false, '01', 'sujeto_isp', '{"en_US": "10% EX S"}', false, 1, 'on_invoice', 51, 'service', 'purchase', '2025-04-01 11:29:16.205726', 2), (true, '0.0000', 'percent', 1, 68, '2025-04-01 11:29:16.205726', 2, '{"en_US": "VAT 0% intra-community (goods)"}', DEFAULT, false, DEFAULT, true, false, '01', 'sujeto', '{"en_US": "0% EU G"}', false, 1, 'on_invoice', 34, 'consu', 'purchase', '2025-04-01 11:29:16.205726', 2), (true, '0.0000', 'percent', 1, 68, '2025-04-01 11:29:16.205726', 2, '{"en_US": "VAT 0% import (goods)"}', DEFAULT, false, DEFAULT, true, false, '01', 'sujeto', '{"en_US": "0% EX G"}', false, 1, 'on_invoice', 34, 'consu', 'purchase', '2025-04-01 11:29:16.205726', 2), (true, '0.0000', 'percent', 1, 68, '2025-04-01 11:29:16.205726', 2, '{"en_US": "VAT 0% intra-community (good)"}', DEFAULT, false, '{"en_US": "Intra-Community (Goods)"}', true, false, '01', 'no_sujeto_loc', '{"en_US": "0% EU G"}', false, 1, 'on_invoice', 34, 'consu', 'sale', '2025-04-01 11:29:16.205726', 2), (true, '0.0000', 'percent', 1, 68, '2025-04-01 11:29:16.205726', 2, '{"en_US": "VAT 0% export (goods)"}', DEFAULT, false, '{"en_US": "Non-EU"}', true, false, '01', 'no_sujeto_loc', '{"en_US": "0% EX G"}', false, 1, 'on_invoice', 34, 'consu', 'sale', '2025-04-01 11:29:16.205726', 2), (true, '0.0000', 'percent', 1, 68, '2025-04-01 11:29:16.205726', 2, DEFAULT, '01', false, DEFAULT, true, false, '01', 'sujeto', DEFAULT, false, 1, 'on_invoice', 34, DEFAULT, 'sale', '2025-04-01 11:29:16.205726', 2) RETURNING "id"
ERROR: null value in column "name" of relation "account_tax" violates not-null constraint
DETAIL:  Failing row contains (403, 1, 1, 34, null, 68, 2, 2, sale, null, percent, on_invoice, null, null, null, 0.0000, t, f, f, t, null, 2025-04-01 11:29:16.205726, 2025-04-01 11:29:16.205726, null, sujeto, f, 01, 01).
2025-04-01 11:29:20,166 1 WARNING odoo odoo.http: The operation cannot be completed:
- Create/update: a mandatory field is not set.
- Delete: another model requires the record being deleted. If possible, archive it instead.

Model: Tax (account.tax)
Field: Tax Name (name)
0
Avatar
Buang
Avatar
Ritik (Wan Buffer Services)
Jawaban Terbai

​Experiencing errors when reloading the Spanish fiscal localization package in Odoo 17 Community Edition can stem from various factors. Here's a structured approach to diagnose and resolve the issue:​

1. Update the Invoicing Module:

Ensure that your Invoicing (account) module is up-to-date, as outdated modules can lead to compatibility issues with localization packages.​

  • Steps:
    • Navigate to Apps.​
    • Locate the Invoicing module.​
    • Click on Upgrade to install the latest version.​

This approach has been effective for other users encountering similar localization errors. ​

2. Verify Company Country Settings:

The fiscal localization package aligns with the country specified in your company settings. Confirm that Spain is set as the country for your company.​

  • Steps:
    • Go to Settings → Companies.​
    • Select your company.​
    • Ensure the Country field is set to Spain.​

Proper country configuration ensures the correct localization package is applied. ​

3. Check for Existing Journal Entries:

If there are existing journal entries, changing the fiscal localization package may be restricted.​

  • Solution:
    • If possible, delete draft journal entries.​
    • For posted entries, consider creating a new database if no critical data exists.​

This limitation is noted in Odoo's community discussions. ​

4. Review Error Logs:

Examining server logs can provide insights into the specific cause of the error.​

  • Steps:
    • Access your server's log files, typically located at /var/log/odoo/odoo-server.log.​
    • Look for detailed error messages related to the localization loading process.​

5. Seek Community Support:

If the issue persists, consider reaching out to the Odoo community or consulting with Odoo experts who may have encountered and resolved similar challenges.​

By systematically addressing these areas, you can identify and resolve the issues affecting the reloading of the Spanish fiscal localization package in Odoo 17 CE.

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
Odoo 15 vs 16 and accounting packages
localization
Avatar
Avatar
1
Apr 23
3546
Chile: [l10n_cl] ¿Cómo puedo agregar el campo 801 al DTE que es la orden de compra del cliente? Diselesaikan
localization
Avatar
1
Nov 24
3885
a label should be localized and it's not
localization
Avatar
0
Feb 22
2825
Is there a compiled list of all the Chart of Account localizations that Odoo support right now in version 7.0?
localization
Avatar
Avatar
1
Mar 15
4934
Can we use Electronic invoice for Mexico ?
localization
Avatar
Avatar
1
Mar 15
5510
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