OdooWiki OCA HUB

Printing Auto Base

printing_auto_base folder_open OCA/report-print-send open_in_new
Warehouse Management License: AGPL-3

Base module to support automatic printing of a report or attachments.

Check other repo like stock-logistics-reporting module printingauto_stock_picking for printing documents related to a stock transfer.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you set up rules that automatically send a report or an existing attachment to a printer when a document is processed, without clicking anything. Other modules use it to add automatic printing to their own documents.

This is a technical building block: it adds a new configuration screen where you describe what should be printed automatically, and a reusable behaviour that other modules attach to their documents.

On the configuration screen you give the rule a name, choose the document type it applies to, and pick the data source: either an Odoo report or an attachment already stored on the record (for example a carrier label). Depending on that choice you select the report or enter a filter for the attachments. You can also set a filter that must be true for printing to happen, a path to print from a related document instead of the current one, the printer and its tray, the number of copies, and what to do if printing fails: record the error or raise an exception.

Odoo checks the configuration: a report must be selected when the source is a report, and an attachment filter must be filled in when the source is an attachment. When printing runs, the rule is applied to the records, the content is rendered or read, and each copy is sent to the chosen printer. If printing succeeds, a message is posted on the document saying how many documents were sent and to which printer; if it fails and the rule is set to record errors, the error text is stored on the document instead of blocking the user.

It touches printing.auto, printing.auto.mixin, ir.actions.report, printing.printer and printing.tray.output.

Models and fields (2)
  • printing.auto · new modelname, model (Related Document Model), sequence, condition, report_id, printer_id, data_source (Data source), nbr_of_copies (Number of Copies), record_change (Record change), action_on_error, printer_tray_id, attachment_domain (Attachment domain)
  • printing.auto.mixin · new modelauto_printing_ids (Auto Printing Configuration), printing_auto_error (Printing error)

Text generated by AI (DeepSeek) from reading the Odoo 18.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/report-print-send.

terminal Installation and usage

No verified information

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.

info

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.