Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 12 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 12.0

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

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.19 MB
Module directory on disk
Code analysis 0 migration notes 5 models 6 views 0 HTTP endpoints

Description

This module allows you to create self-adhesive label printing actions on any model.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 6

XML IDNameModelTypeStatus
label_template_partner_address Partner Label: Address ir.ui.view qweb New
paperformat_label_view_list report.paperformat.label list New
report_label_template report_label_template ir.ui.view qweb New
report_label_wizard_view_form report.label.wizard form New
view_paperformat_label_view_form report.paperformat.label form New
view_server_action_form ir.actions.server form Inherits base.view_server_action_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (0)

No new fields.

Public methods (1)
  • get_paperformat(self)
    @api.model

New fields (3)
  • label_paperformat_id Many2one → report.paperformat.label
    args: 'report.paperformat.label', 'Label Paper Format'
  • label_template_view_id Many2one → ir.ui.view
    comodel_name='ir.ui.view' domain=[('type', '=', 'qweb')] help='The QWeb template key to render the labels' string='Label QWeb Template'
  • state Selection
    ondelete={'report_label': 'cascade'} selection_add=[('report_label', 'Print self-adhesive labels')]
Public methods (0)

No public methods.

New fields (5)
  • label_paperformat_id Many2one → report.paperformat.label
    default=<expr> readonly=True required=True args: 'report.paperformat.label', 'Label Paper Format'
  • label_template_view_id Many2one → ir.ui.view
    comodel_name='ir.ui.view' default=<expr> readonly=True required=True string='Label QWeb Template'
  • line_ids One2many → report.label.wizard.line
    default=_default_line_ids required=True args: 'report.label.wizard.line', 'wizard_id', 'Lines'
  • model_id Many2one → ir.model
    default=<expr> required=True args: 'ir.model', 'Model'
  • offset Integer
    help='Number of labels to skip when printing'
Public methods (1)
  • print_report(self)

New fields (5)
  • quantity Integer
    default=1 required=True
  • res_id Integer
    required=True args: 'Resource ID'
  • res_name Char
    compute='_compute_res_name'
  • sequence Integer
    default=10
  • wizard_id Many2one → report.label.wizard
    ondelete='cascade' required=True args: 'report.label.wizard', 'Wizard'
Public methods (0)

No public methods.

New fields (13)
  • label_background_color Char
    default='#FFFFFF'
  • label_height Float
    default=42.3 required=True args: 'Label Height (mm)'
  • label_margin_bottom Float
    default=2 args: 'Label Margin Bottom (mm)'
  • label_margin_left Float
    default=2 args: 'Label Margin Left (mm)'
  • label_margin_right Float
    default=2 args: 'Label Margin Right (mm)'
  • label_margin_top Float
    default=2 args: 'Label Margin Top (mm)'
  • label_padding_bottom Float
    default=2 args: 'Label Padding Bottom (mm)'
  • label_padding_left Float
    default=2 args: 'Label Padding Left (mm)'
  • label_padding_right Float
    default=2 args: 'Label Padding Right (mm)'
  • label_padding_top Float
    default=2 args: 'Label Padding Top (mm)'
  • label_width Float
    default=60 required=True args: 'Label Width (mm)'
  • name Char
    required=True
  • paperformat_id Many2one → report.paperformat
    ondelete='cascade' required=True string='Paper Format' args: 'report.paperformat'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…