The rational is: Currently we have 2 columns. One for reservation, the other for quantity picked. However in real time, either you follow the reservation and everything goes well. Otherwise you pick something else. In the case where you pick somewhere else than reserved, you would like to modify the reservation to have something similar and free the quantity you didn't pick and expect the system to not suggest the ones you took. In other hand, we always want to have the reserve quantity similar to the done. On top, having two columns could be confusing for the end user. The cons: -The qty_done column could be use during the picking, to remember if something has been pick or still to pick. - For some flow (put in pack), it's easier to write a part of the quantity to pack and still want to reserve the full amount of product. We goes back and choose a ligther interface over complex feature. Changes: Qty done and reserved qty are merged into a single column. A new checkbox on the move exists to mark it as picked or not Since the reservation always follow the quantity, it's now possible to have more reserved quantity than stock. However the system will never propose it and the inventory showing reserved > quantity should be a warning. The system should never modify a move that has been picked. We don't want to overide the user action. Regression: Not able to pick a single stock.move.line closes odoo/odoo#137864 Related: odoo/enterprise#48709 Related: odoo/upgrade#5310 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
25 lines
892 B
Python
25 lines
892 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import product_label_layout
|
|
from . import stock_assign_serial_numbers
|
|
from . import stock_picking_return
|
|
from . import stock_change_product_qty
|
|
from . import stock_inventory_conflict
|
|
from . import stock_inventory_warning
|
|
from . import stock_inventory_adjustment_name
|
|
from . import stock_label_type
|
|
from . import stock_lot_label_layout
|
|
from . import stock_scheduler_compute
|
|
from . import stock_backorder_confirmation
|
|
from . import stock_quantity_history
|
|
from . import stock_rules_report
|
|
from . import stock_warn_insufficient_qty
|
|
from . import product_replenish
|
|
from . import stock_track_confirmation
|
|
from . import stock_package_destination
|
|
from . import stock_orderpoint_snooze
|
|
from . import stock_request_count
|
|
from . import stock_replenishment_info
|
|
from . import stock_quant_relocate
|