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

Credit note creation fails after upgrade from Odoo 17 → 18 (Subscriptions) – UoM becomes “False”

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
UOM18
1 Balas
98 Tampilan
Avatar
george

Hi everyone,

I’m dealing with a strange issue that started right after upgrading one of my databases from Odoo 17 Enterprise to Odoo 18 Enterprise. The problem appears on invoices that come from Subscriptions. (I dont have a normal sales on this project, they sell only services with subscription)


What’s happening

When I try to create a credit note using the standard “Add Credit Note” button on a posted customer invoice, Odoo throws this error instead of generating the credit note:

The unit of measure Units defined on the order line doesn't belong to the same category as the unit of measure False defined on the product. Please correct the UoM on the order line or on the product. They should belong to the same category.

The key part is that Odoo says the product’s UoM is False, even though in the product form the UoM is definitely set and it was working fine before the upgrade.



What I already checked
  • The product UoM is correctly set (in the UI and in DB).

  • The sale order line UoM is set.

  • Invoice line UoM appears normal.

  • All UoMs belong to the same category.

  • No custom modules involved.

  • I verified the DB entries directly (product_template, sale_order_line, account_move_line).

If anyone has run into this before, or knows how to properly fix UoM data for subscription invoices in Odoo 18, I’d really appreciate any guidance. Thanks in advance!


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

Hi,


The issue is caused by subscription-generated invoices that, after the upgrade from Odoo 17 to 18, contain hidden NULL values in the product_uom_id field. Even though the UI shows a correct unit of measure, the database value is missing. When you try to create a credit note, Odoo re-checks the UoM compatibility, sees that one side is False/NULL, and raises the “UoM category mismatch” error. This only affects subscription invoices because Odoo 18 changed how recurring invoices are generated, and some migrated records lost their UoM links.

To confirm the issue, you can inspect the invoice lines directly in the database, where you will likely find missing UoM entries. Fixing it requires updating those invoice lines to restore the correct UoM based on the product, and also correcting the subscription templates so that future invoices include proper UoM values. For a long-term solution, a small custom module can enforce that Odoo always assigns a UoM whenever it generates invoice lines.

In short, this is a data integrity issue caused by the 17→18 upgrade, and the solution is to repair the affected invoice lines and prevent the problem from recurring by ensuring subscription products always carry their UoM through to invoice creation.


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
In odoo18 is there any modules for inventory adjustment for many products from a single record as in odoo 14 ? Diselesaikan
18
Avatar
Avatar
1
Feb 25
1590
UOM for a bar - Needing some assistance Diselesaikan
UOM
Avatar
Avatar
Avatar
Avatar
4
Des 24
4703
What are the major updates in the HR module of Odoo version 18 that enhance employee management and recruitment?
18
Avatar
Avatar
1
Okt 24
2919
change Uom Diselesaikan
UOM
Avatar
Avatar
Avatar
2
Apr 24
11688
another UOM question
UOM
Avatar
Avatar
1
Des 22
2931
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