TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/report-print-send · module folder · Try on Runboat
Module version
Category
Warehouse Management
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/report-print-send
Last tracking update
2026-09-30 01:17:11
Authors
Odoo Community Association (OCA), BCIM, MT Software
Maintainers
Odoo Community Association (OCA), BCIM, MT Software
Committers
Florent Xicluna, Akim Juillerat, Thierry Ducrest, Carlos Roca, Iván Todorovich, Weblate, Emanuel Cino, OCA-git-bot, oca-ci
Odoo dependencies
OCA/report-print-send:
odoo/odoo:
- web
Python dependencies
pycups
System dependencies
None
Required by
printing_auto_label_printer, printing_auto_stock_picking
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 info_outline

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
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
280 days ago
Last activity
41 days ago
Repository
OCA/report-print-send
Pull request
[19.0][MIG] printing_auto_base (#437)