Add in feature to allow auto-printing of reception report labels at picking validation when there are lines assigned in the reception report (i.e. any MTO linkages/move_dest_ids). Note that a little fix hack was necessary for this feature (i.e. override of ir.actions.report to ensure that the doc_ids/docs are correctly set) since this report was originally designed to be called ONLY from the JS + using the report link to pass the correct parameters, which cannot be done in the same way via the standard ir.actions.report.report_action method Part of task: 3046178 - general auto-print goal Part-of: odoo/odoo#126791
24 lines
671 B
Python
24 lines
671 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import barcode
|
|
from . import ir_actions_report
|
|
from . import product_strategy
|
|
from . import res_company
|
|
from . import res_partner
|
|
from . import res_config_settings
|
|
from . import stock_location
|
|
from . import stock_move
|
|
from . import stock_move_line
|
|
from . import stock_orderpoint
|
|
from . import stock_lot
|
|
from . import stock_picking
|
|
from . import stock_quant
|
|
from . import stock_rule
|
|
from . import stock_warehouse
|
|
from . import stock_scrap
|
|
from . import product
|
|
from . import stock_package_level
|
|
from . import stock_package_type
|
|
from . import stock_storage_category
|