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 18 CE – Work Order Expected Duration shows huge value (e.g., 120000:00) instead of correct time

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
manufacturingworkorderworking_centeroperatorsbillofmaterials
1 Balas
397 Tampilan
Avatar
Ravi Durga Prasad

Hello Odoo Community 👋,

I’m using Odoo 18 Community Edition, and I’ve found a possible bug in the Manufacturing (MRP) module related to Work Order Expected Duration calculation.

Steps to Reproduce

  1. Create a Work Center
    • Capacity = 1
    • Time Efficiency = 100%
    • Working Hours = Standard 40h/week
  2. Create a BoM
    • Product Qty = 1000
    • Add one Operation → Duration Computation = Set duration manually
    • Duration (minutes) = 60
    • Work Center = the one created above
  3. Create a Manufacturing Order
    • Product Qty = 2000
    • Confirm and check Work Orders tab

Actual Result

  • The Expected Duration field shows a very large number (e.g., 120000:00) instead of the correct 120 minutes (2 hours).

Expected Result

  • Expected Duration should be 2 hours (since BoM = 1000 → 60 min, MO = 2000 → double quantity).

📊 Comparison of All Scenarios (BoM 1000 Qty / Duration 60 min / MO 2000 Qty)

CapacityExpected DurationStatusComment
1120 min (2 h)✅ Correct formulaOne batch per cycle
200060 min (1 h)✅ CorrectParallel batch fits in one cycle
400060 min (1 h)✅ CorrectLess than capacity → one cycle
1 (bug case)120000 h❌ WrongMinutes treated as hours or seconds → overflow

Hypothesis

  • It seems Odoo treats the BoM operation “Duration (minutes)” as hours (or seconds) internally when computing duration_expected.
  • Possibly an issue in addons/mrp/models/mrp_workorder.py under _get_duration_expected or _plan_workorders.

Correct formula should be:

cycles = math.ceil((mo_qty / bom_qty) / max(capacity, 1)) expected_minutes = cycles * duration_minutes duration_expected = expected_minutes / 60.0

Environment

  • Odoo 18.0 CE (fresh DB, no custom MRP changes)
  • Manufacturing module only
  • Tested on Linux + PostgreSQL 15

Request

Could someone from Odoo or the community please confirm whether this is a known bug or a new regression in Odoo 18 CE?

If confirmed, I’d like to raise a GitHub issue or propose a small patch.


0
Avatar
Buang
Avatar
Alexander Hesse
Jawaban Terbai

Hi Ravi,

I encountered the same quite recently and clarified it with Odoo support. It's not a bug but a messed up logic.

The consumption of components in a BOM are relative to the set BOM quantity.

BUT the duration is always based on 1 piece NOT relative to the set BOM quantity.

So, with your setting, Odoo things it takes 60min to produce 1 piece. You want to produce 2.000 pieces, ergo 60 * 2.000 = 120.000min.


This is a big issue, if your duration per piece is so low that you cannot really set it up in 00:00min. Unfortunately, Odoo still does not understand what real mass production means.

The work around we found is already in your scenarios: To "misuse" the capacity setting in case you do not need it for anything else. If you set the Capacity to the same value as the BOM quantity the math is done correctly.

BR
   Alexander

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
Update production center in work order based on another field V16
manufacturing workflow many2one workorder working_center
Avatar
0
Feb 24
1666
Odoo 17.sh = How can I create and assign a whole group of operators to a Work Order in an MO? Diselesaikan
manufacturing workorder
Avatar
Avatar
1
Sep 24
2986
V16 Work Order Cancel undo
manufacturing workorder
Avatar
Avatar
1
Agu 24
2852
Multiple products on the same work order?
manufacturing workorder
Avatar
Avatar
1
Jan 23
3720
Partially finished manufacturing order (using work orders)
manufacturing workorder
Avatar
Avatar
Avatar
3
Jan 23
11758
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