Printing Auto Base
printing_auto_base · OCA/report-print-send
Health
82/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by20/252 modules depend on it
-
Maturity12/25In 2 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
0 migration notes
2 models
2 views
0 HTTP endpoints
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.
Dependencies
- Odoo dependencies
- Python dependencies
- pycups
- System dependencies
- None
- Required by
- printing_auto_label_printer, printing_auto_stock_picking
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_errorSelectiondefault='log'required=True args: [('log', 'Record an error'), ('raise', 'Raise an Exception')], 'Action on error' -
attachment_domainChardefault='[]' args: 'Attachment domain' -
conditionChardefault='[]'help='Give a domain that must be valid for printing this' -
data_sourceSelectiondefault='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=Truestring='Data source' args: [('report', 'Report'), ('attachment', 'Attachment')] -
modelCharrequired=Truestring='Related Document Model' -
nameCharrequired=True -
nbr_of_copiesIntegerdefault=1 args: 'Number of Copies' -
printer_idMany2one → printing.printerargs: 'printing.printer', 'Printer' -
printer_tray_idMany2one → printing.tray.outputargs: 'printing.tray.output', 'Tray' -
record_changeCharhelp="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_idMany2one → ir.actions.reportargs: 'ir.actions.report' -
sequenceIntegerdefault=10
-
do_print(self, records)
New fields (2)
-
auto_printing_idsMany2many → printing.autostring='Auto Printing Configuration' args: 'printing.auto' -
printing_auto_errorTextcopy=Falsereadonly=True args: 'Printing error'
-
handle_print_auto(self)Print some report or attachment directly to the corresponding printer.
Loading…
Loading…