📅 Version History

Follow the evolution of ProductionInterne module

🆕 Version 1.1.4 - August 19, 2025

🐛 Fixes

  • Production Limit Overrun: Fixed bug preventing input beyond "per production" capacity
  • Removed HTML max attribute that blocked form input
  • Transformed blocking error into warning for "per_production" type
  • Improved JavaScript to display warnings instead of forcing values
  • Now allows entering quantity above limit when necessary
  • New translation key: Added CapacityExceeded in 5 supported languages

🕘 Version 1.1.3 - July 7, 2025

🔧 Fixes

  • Dolibarr 19.x Compatibility: Critical compatibility fix for versions 19.x and earlier
  • Replaced getDolGlobalInt() with getDolGlobalString() with explicit conversion
  • Ensures operation on Dolibarr 16.x to 21.x
  • Virtual Stock Calculation: Major fix for stock calculation in production display
  • Uses virtual stock (real stock - reservations) instead of real stock only
  • Products with negative virtual stock are now correctly detected
  • Production tab displays and lists products to produce correctly

✨ Added

  • Demo Documentation: Complete guide for demonstration videos with user profiles
  • Multilingual Oral Script: Complete script for YouTube video in 5 languages
  • Apache Configuration: .htaccess files to secure access to version directory

📦 Modified

  • Docker: Renamed docker-compose-demo.yml to docker-compose-demo-20.yml to clarify Dolibarr version

📦 Version 1.1.2 - June 30, 2025

🐛 Critical Fixes

  • Issue #86 - Production Tab on Shipments: The Production tab now displays correctly on shipment pages by automatically retrieving the original order
  • Issue #87 - Tab Positioning and Badges: Fixed badge display and Production tab positioning on all pages
  • Issue #88 - Translations and Date Validation: Added missing translation keys and fixed date validation bug in production recording
  • Issue #89 - Production Capacity Logic: Complete refactoring of the pre-filling and validation system according to capacity type

🎯 Production Capacity Logic Improvement

  • Smart Pre-filling: Automatic quantity calculation according to the capacity type defined on the product
  • Daily Production: Calculation from launch (elapsed_days × daily_capacity)
  • Per Production: Respect of physical limit per production line
  • Per Period: Respect of temporal capacity limit on the defined period
  • Removal of Arbitrary Limits: No more blocking at 999 units - support for million-scale productions

🔧 Technical Improvements

  • Strict Business Validation: Only real physical and temporal constraints are applied
  • Explicit Error Messages: Messages differentiated by limit type (per line, per period)
  • Shipment Hook Support: Complete management of 'ordershipment' context for tab display
  • Script Cleanup: Removal of obsolete one-time correction scripts

📅 Agenda and Events Fixes

  • Complete Events: Correct recording of all production events in Dolibarr agenda
  • Fixed Action Codes: Replacement of invalid action codes (AC_PROD, AC_CLOSE) with AC_OTH_AUTO
  • Automatic Closure Tracked: Automatically completed productions now generate a closure event
  • Complete Traceability: Tracking of all production stages (creation, lines, closure) in the agenda

📦 Version 1.1.0 - June 27, 2025

✨ New Features

  • Production module for services: Complete configuration with dedicated parameters
  • New Production tab: Dedicated interface on order forms with smart badge
  • Automatic default values: Intelligent application for product extrafields
  • Overproduction management: Automatic FIFO distribution with capacity-based limits
  • Complete documentation: User guide and workflow documentation

🔧 Improvements

  • Global constants migration: Hardcoded values replacement (1/2)
  • Architectural refactoring: JavaScript removal, pure CSS migration
  • Performance optimization: Optimized SQL queries, smart cache
  • User interface: Pure CSS badges with icons, native animations

🐛 Fixes

  • Tab navigation: Production tab no longer disappears after clicking Shipments (ordershipmentcard hook)
  • Business logic: hide "To produce" products on closed/delivered orders
  • Adaptive interface: consultation-only mode for delivered orders
  • Services in production tab with conditional filtering
  • Default extrafield values without forcing external products
  • SQL migration script preserving NULL values
  • Priority normalization (0-2 to 1-5)
  • Production menu: corrected position and icon

🗑️ Removed

  • Complete JavaScript (js/productioninterne.js.php)
  • Unused CSS class (cssutils.class.php)
  • Obsolete printCommonFooter hook
  • Conflicting CSS (~270 lines)

📦 Version 1.0.0 - June 15, 2025

✨ First Stable Release

  • Complete internal production management: Creation, modification, validation and closure of production orders
  • Native Dolibarr integration: Dedicated menu, permissions, system hooks
  • Product extrafields: Production time, capacity, priority, production status
  • Advanced statuses: Draft, Confirmed, In Progress, Completed, Cancelled
  • User interface: Intuitive forms, tracking tables, filters
  • Multilingual: Support for 5 languages (FR, EN, ES, DE, IT)

🔧 Technical Features

  • Dolibarr modular architecture
  • Optimized database with indexes
  • Internal API for integrations
  • Complete logging system
  • Unit and integration tests
  • Developer documentation

🚀 Future Versions

Version 1.2.0 - Fall 2025

  • Interface improvements: Responsive mobile interface, UX enhancements
  • Advanced reports: Dashboards with KPIs, data export/import
  • Performance optimizations: Smart cache, optimized queries
  • New features: Hide completed productions, automatic purge, persistent statistics

Version 1.3.0 - Winter 2025-2026

  • Dedicated mobile interface (PWA)
  • Real-time push notifications
  • Offline mode with synchronization
  • Advanced reports with KPIs

Version 1.4.0 - Spring 2026

  • Gantt chart scheduler
  • Automatic load optimization
  • AI predictions (machine learning)
  • Enterprise calendar integration

Version 1.5.0 - Summer 2026

  • Native BOM integration
  • Full MRP support
  • Batch/serial traceability
  • Full REST API