Report to printer - Paper tray selection
printer_tray · OCA/report-print-send
Health
55/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 101 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
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.11 MB
Module directory on disk
Code analysis
2 migration notes
5 models
6 views
0 HTTP endpoints
Migration considerations
PrintingPrinter— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourcePrintingReportXMLAction— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
act_report_xml_view |
ir.actions.report.xml.add.printer.tray | ir.actions.report.xml | Inherits base_report_to_printer.act_report_xml_view | |
printing_printer_view_form |
printing.printer.form | printing.printer | form | Inherits base_report_to_printer.printing_printer_view_form |
printing_report_xml_action_view_form |
printing.report.xml.action.form | printing.report.xml.action | form | Inherits base_report_to_printer.printing_report_xml_action_view_form |
printing_report_xml_action_view_tree |
printing.report.xml.action.form | printing.report.xml.action | form | Inherits base_report_to_printer.printing_report_xml_action_view_tree |
view_users_form |
res.users.form.add.printer.tray | res.users | form | Inherits base_report_to_printer.view_users_form |
view_users_prefs |
res.users.form.printing.tray | res.users | form | Inherits base_report_to_printer.view_users_form_simple_modif |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
printer_tray_idMany2one → printing.traycomodel_name='printing.tray'domain="[('printer_id', '=', printing_printer_id)]"string='Paper Source'
-
onchange_printing_printer_id(self)@api.onchange('printing_printer_id')Reset the tray when the printer is changed
New fields (1)
-
tray_idsOne2many → printing.traycomodel_name='printing.tray'inverse_name='printer_id'string='Paper Sources'
-
print_options(self, report=None, format=None, copies=1)@api.multiHook to define Tray
New fields (1)
-
printer_tray_idMany2one → printing.traycomodel_name='printing.tray'domain="[('printer_id', '=', printer_id)]"string='Paper Source'
-
behaviour(self)@api.multi -
onchange_printer_id(self)@api.onchange('printer_id')Reset the tray when the printer is changed
New fields (3)
-
nameCharrequired=True -
printer_idMany2one → printing.printercomodel_name='printing.printer'ondelete='cascade'readonly=Truerequired=Truestring='Printer' -
system_nameCharreadonly=Truerequired=True
No public methods.
New fields (1)
-
printer_tray_idMany2one → printing.traycomodel_name='printing.tray'domain="[('printer_id', '=', printing_printer_id)]"string='Default Printer Paper Source'
-
onchange_printing_printer_id(self)@api.onchange('printing_printer_id')Reset the tray when the printer is changed
Loading…
Loading…
Loading…