Skip to content
Health
70/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 20.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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:
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 IDNameModelTypeStatus
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_ids Many2many → printer.printer
    string='Printers' args: 'printer.printer'
Public methods (3)
  • get_print_jobs(self, report_name, docids, data) -> list
    @api.model
    Method 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_address Char
    string='IP Address'
  • name Char
    required=True
  • report_ids Many2many → ir.actions.report
    string='Linked Reports' args: 'ir.actions.report'
  • type Selection
    default='zpl' required=True string='Type' args: [('zpl', 'ZPL'), ('epos', 'ePOS')]
Public methods (0)

No public methods.

New fields (2)
  • do_not_ask_again Boolean
    help="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_ids Many2many → printer.printer
    domain="[('id', 'in', context.get('available_printer_ids', []))]" args: 'printer.printer'
Public methods (0)

No public methods.