This commit replaces the opening of the stock moves detailed operation wizard by the one2Many record preview. This means creating a move in a picking is still done via a new line but the edition is done via the `fa-list` button that open the record in the web client. The goal is to reduce the RPCs call as much as possible. The stock move lines data are stored in the stock move record until the picking save. Additionally, this commit change a bit the immediate transfers flows. The stock move show only initial demand (`product_uom_qty`) but the column wording is still "Done". In the detailed operation view, the stock move line `qty_done` is displayed as "Reserved". At picking validation, the user is expected to enter the same quantity in `product_uom_qty` and `quantity_done`. If `product_uom_qty` is equals to 0, the done quantity is used as actual transfer quantity. If `product_uom_qty` is different than 0 but small than the done quantity, an error is raised. Task: 3256447 Part-of: odoo/odoo#124409
28 lines
807 B
Python
28 lines
807 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from . import test_stock_flow
|
|
from . import test_product
|
|
from . import test_warehouse
|
|
from . import test_stock_location_search
|
|
from . import test_quant
|
|
from . import test_quant_inventory_mode
|
|
from . import test_generate_serial_numbers
|
|
from . import test_immediate
|
|
from . import test_inventory
|
|
from . import test_move
|
|
from . import test_move2
|
|
from . import test_move_lines
|
|
from . import test_multicompany
|
|
from . import test_robustness
|
|
from . import test_packing
|
|
from . import test_packing_neg
|
|
from . import test_proc_rule
|
|
from . import test_wise_operator
|
|
from . import test_report
|
|
from . import test_report_stock_quantity
|
|
from . import test_report_tours
|
|
from . import test_stock_return_picking
|
|
from . import test_stock_lot
|
|
from . import test_picking
|
|
from . import test_picking_tours
|