Previsously picking batch done button automatically run backorder for picking that need and set a quantity done for picking without it This commit changes the function done for picking wave in order to call the needed wizard(set qty_done automatically or asking for a backorder). Also it override the immediate transfer wizard in order to pass the picking to backorder found in done function through the process action. pick_to_backorder_ids is needed in immediate transfer since we need to pass the backorders from the done function in stock_picking_batch through the immediate transfer wizard.
5 lines
133 B
Python
5 lines
133 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import test_batch_picking
|