Weighing deferred label printing
This module is aimed to speed up the label printing process by returning the control of the user's screen and triggering the printing in a background process. If something goes wrong, the user is informed with a notification that can be used to retry the process.
auto_awesome What this module does
AI-generated from the code · Odoo 15.0This module makes weighing label printing run in the background so the screen is released immediately. If printing fails, the user gets a notification with a retry/download option.
When you record a weight in the weighing wizard and the option to print a label is enabled, the label printing is sent to a background process instead of blocking your screen. The wizard closes right away, and the label is printed after the transaction is committed.
- The behaviour is controlled by a system setting called
stock_weighing_threaded_print.print_in_new_thread. When it is active, printing is deferred; when it is off, printing works as before. - If the background print succeeds, you receive a success notification saying the label was printed.
- If it fails, you get a warning notification titled "Direct print issue" listing the affected operations. The notification includes a button to download the label instead, so you can still get the document.
- The module extends
stock.move.lineand theweighing.wizardto add this deferred printing logic. - It relies on the
base_report_to_printermodule to send the report to the printer and onweb_notifyto show the success or warning messages.
No new menus or screens are added; the change happens inside the existing weighing workflow and label printing actions.
Models and fields (2)
- stock.move.line · extends an existing model
- weighing.wizard · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/stock-weighing.
terminal Installation and usage
OCA documentation · Odoo 15.0Configuration
Source · Odoo 15.0The default behavior is to print in main thread, but it can be configured by following these steps:
- Activate developer mode.
- Go to Settings > Technical > Parameters > System Parameters.
- Create a stock_weighing_threaded_print.print_in_new_thread key.
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.