{ 'name': 'Product Lot Sequence Per Product', 'version': '1.2.1', 'category': 'Inventory/Inventory', 'summary': 'Per-product lot/serial sequences with performance optimization for large batches', 'description': """ Product Lot Sequence Per Product ================================= Features: --------- * Per-product custom lot/serial number sequences * Performance optimized for large quantities (500,000+ units) * Batch processing for efficient lot creation * 8-10x speedup for large batch operations * Support for receipts, manufacturing orders, and manual generation * Date format codes support (%(y)s, %(month)s, %(day)s, etc.) * Automatic lot generation for subcontracting moves * Auto-generate button (+ icon) for subcontract receipts Performance: ----------- * Batch sequence allocation using PostgreSQL generate_series() * Single database query for multiple lot generation * Automatic optimization for quantities > 10 units * Tested with up to 500,000 units New in v1.2.1: ----------- * Working automatic lot generation for subcontracting moves * Clean UI with essential buttons only * Robust field compatibility for Odoo 18 * Enhanced error handling and user feedback """, 'author': 'Suherdy Yacob', 'depends': [ 'stock', 'mrp', 'mrp_subcontracting', ], 'data': [ 'security/ir.model.access.csv', 'views/product_views.xml', 'wizard/subcontract_lot_generator_views.xml', 'views/stock_picking_views.xml', 'views/stock_move_views.xml', ], 'installable': True, 'auto_install': False, 'application': False, 'license': 'LGPL-3', }