Printer
printer · odoo/odoo
Health
70/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 20.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.33 MB
Module directory on disk
Code analysis
0 migration notes
3 models
4 views
0 HTTP endpoints
Description
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- stock_delivery
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
act_report_xml_view_printer |
ir.actions.report.printer | ir.actions.report | Inherits base.act_report_xml_view | |
printer_view_form |
printer.form | printer.printer | form | New |
printer_view_list |
printer.printer.view.list | printer.printer | list | New |
view_select_printers_wizard |
select.printers.wizard.form | select.printers.wizard | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
printer_idsMany2many → printer.printerstring='Printers' args: 'printer.printer'
-
get_print_jobs(self, report_name, docids, data) -> list@api.modelMethod to render reports for printers. This method is meant to be overridden by modules adding support for specific printer types (e.g. IoT). By default, we render ZPL reports as-is. Any qweb-pdf report linked to an ePOS printer is rendered to an image instead: HTML -> wkhtmltoimage -> thermal format. -
get_select_printer_wizard(self, cached: <expr>=None)Wizard to select printers before printing a report :param cached: printers already selected by the user, saved in local storage -
report_action(self, docids=None, data=None, config=True)
New fields (4)
-
ip_addressCharstring='IP Address' -
nameCharrequired=True -
report_idsMany2many → ir.actions.reportstring='Linked Reports' args: 'ir.actions.report' -
typeSelectiondefault='zpl'required=Truestring='Type' args: [('zpl', 'ZPL'), ('epos', 'ePOS')]
No public methods.
New fields (2)
-
do_not_ask_againBooleanhelp="If checked, this dialog won't appear the next time you print and the selected printers will be used automatically." args: 'Do not ask me again' -
printer_idsMany2many → printer.printerdomain="[('id', 'in', context.get('available_printer_ids', []))]" args: 'printer.printer'
No public methods.