Printing Auto Base

printing_auto_base
REPOSITORY
REPOSITORYOCA/report-print-send
GIT
GIThttps://github.com/OCA/report-print-send.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/report-print-send/tree/18.0/printing_auto_base
VERSION
VERSION 1.3.1
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), BCIM, MT Software
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), BCIM, MT Software
COMMITTERS
COMMITTERSAkim Juillerat, Florent Xicluna, Thierry Ducrest, Emanuel Cino, Weblate, OCA-git-bot, Iván Todorovich, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/report-print-send
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/report-print-send:
    - base_report_to_printer
odoo/odoo:
    - web
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pycups
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
printing_auto_view_form printing.auto.view.form printing.auto form New
printing_auto_view_tree printing.auto.view.tree printing.auto list New
Models touched (2)

New fields (12)
  • action_on_error Selection
    default='log' required=True args: [('log', 'Record an error'), ('raise', 'Raise an Exception')], 'Action on error'
  • attachment_domain Char
    default='[]' args: 'Attachment domain'
  • condition Char
    default='[]' help='Give a domain that must be valid for printing this'
  • data_source Selection
    default='report' help='Choose to print the result of an odoo report or a pre-existing attachment (useful for labels received from carriers that are recorded on the picking as an attachment)' required=True string='Data source' args: [('report', 'Report'), ('attachment', 'Attachment')]
  • model Char
    required=True string='Related Document Model'
  • name Char
    required=True
  • nbr_of_copies Integer
    default=1 args: 'Number of Copies'
  • printer_id Many2one → printing.printer
    args: 'printing.printer', 'Printer'
  • printer_tray_id Many2one → printing.tray.output
    args: 'printing.tray.output', 'Tray'
  • record_change Char
    help="Select on which document the report must be executed. Use a path using a dotted notation starting from any record field. For example, if your record is a stock.picking, you can access the next picking with 'move_lines.move_dest_ids.picking_id'" args: 'Record change'
  • report_id Many2one → ir.actions.report
    args: 'ir.actions.report'
  • sequence Integer
    default=10
Public methods (1)
  • do_print(self, records)

New fields (2)
  • auto_printing_ids Many2many → printing.auto
    string='Auto Printing Configuration' args: 'printing.auto'
  • printing_auto_error Text
    copy=False readonly=True args: 'Printing error'
Public methods (1)
  • handle_print_auto(self)
    Print some report or attachment directly to the corresponding printer.
REPOSITORY
REPOSITORYOCA/report-print-send
GIT
GIThttps://github.com/OCA/report-print-send.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/report-print-send/tree/14.0/printing_auto_base
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), BCIM, MT Software
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), BCIM, MT Software
COMMITTERS
COMMITTERSJacques-Etienne Baudoux, Pierre Verkest, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/report-print-send
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/report-print-send:
    - base_report_to_printer
odoo/odoo:
    - web
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pycups
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
printing_auto_view_form printing.auto.view.form printing.auto form New
printing_auto_view_tree printing.auto.view.tree printing.auto tree New
Models touched (2)

New fields (11)
  • action_on_error Selection
    default='log' required=True args: [('log', 'Record an error'), ('raise', 'Raise an Exception')], 'Action on error'
  • attachment_domain Char
    default='[]' args: 'Attachment domain'
  • condition Char
    default='[]' help='Give a domain that must be valid for printing this' args: 'Condition'
  • data_source Selection
    default='report' help='Choose to print the result of an odoo report or a pre-existing attachment (useful for labels received from carriers that are recorded on the picking as an attachment)' required=True string='Data source' args: [('report', 'Report'), ('attachment', 'Attachment')]
  • model Char
    required=True string='Related Document Model'
  • name Char
    required=True string='Name'
  • nbr_of_copies Integer
    default=1 args: 'Number of Copies'
  • printer_id Many2one → printing.printer
    args: 'printing.printer', 'Printer'
  • printer_tray_id Many2one → printing.tray
    args: 'printing.tray', 'Tray'
  • record_change Char
    help="Select on which document the report must be executed. Use a path using a dotted notation starting from any record field. For example, if your record is a stock.picking, you can access the next picking with 'move_lines.move_dest_ids.picking_id'" args: 'Record change'
  • report_id Many2one → ir.actions.report
    args: 'ir.actions.report'
Public methods (1)
  • do_print(self, records)

New fields (2)
  • auto_printing_ids Many2many → printing.auto
    string='Auto Printing Configuration' args: 'printing.auto'
  • printing_auto_error Text
    args: 'Printing error'
Public methods (1)
  • handle_print_auto(self)
    Print some report or attachment directly to the corresponding printer.
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/report-print-send
PULL REQUEST
PULL REQUEST[19.0][MIG] printing_auto_base (#437)