The `use_create_components_lots` option of manufacturing picking type was never read as the context to get the active production order was not always specified. Also, this field was not taken into account to display or not the 'generate serial' and import 'lot buttons' closes odoo/odoo#162581 Related: odoo/enterprise#61137 Signed-off-by: Quentin Wolfs (quwo) <quwo@odoo.com>