İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

Odoo 18 CE – Work Order Expected Duration shows huge value (e.g., 120000:00) instead of correct time

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
manufacturingworkorderworking_centeroperatorsbillofmaterials
1 Cevapla
325 Görünümler
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
Vazgeç
Avatar
Alexander Hesse
En İyi Yanıt

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
Vazgeç
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
Update production center in work order based on another field V16
manufacturing workflow many2one workorder working_center
Avatar
0
Şub 24
1647
Odoo 17.sh = How can I create and assign a whole group of operators to a Work Order in an MO? Çözüldü
manufacturing workorder
Avatar
Avatar
1
Eyl 24
2898
V16 Work Order Cancel undo
manufacturing workorder
Avatar
Avatar
1
Ağu 24
2761
Multiple products on the same work order?
manufacturing workorder
Avatar
Avatar
1
Oca 23
3693
Partially finished manufacturing order (using work orders)
manufacturing workorder
Avatar
Avatar
Avatar
3
Oca 23
11684
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة 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, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

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