When scanning multiple serial numbers e.g., the list of pack operations can become quite long. In order to avoid that, we make it possible for pack operations to contain multiple lots. The implementation is done in the way that the links between moves and pack operations remains the way it was. The important difference is that on action_done, it will check all the reserved quants and their lots at once first and only afterwards, it will check the lots one by one to check what it can reserve. As the details for the lots for the pack operation became a real object, the wizards related to the pack operation details are not necessary anymore and were replaced by a form view of the pack operation.
10 lines
307 B
Python
10 lines
307 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
import stock_move
|
|
import stock_return_picking
|
|
import stock_change_product_qty
|
|
import make_procurement_product
|
|
import orderpoint_procurement
|
|
import stock_immediate_transfer
|
|
import stock_backorder_confirmation |