Report Labels
report_label · OCA/reporting-engine
Health
75/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 12 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
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
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 |
|---|---|---|---|---|
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_idMany2one → report.paperformat.labelargs: 'report.paperformat.label', 'Label Paper Format' -
label_template_view_idMany2one → ir.ui.viewcomodel_name='ir.ui.view'domain=[('type', '=', 'qweb')]help='The QWeb template key to render the labels'string='Label QWeb Template' -
stateSelectionondelete={'report_label': 'cascade'}selection_add=[('report_label', 'Print self-adhesive labels')]
No public methods.
New fields (5)
-
label_paperformat_idMany2one → report.paperformat.labeldefault=<expr>readonly=Truerequired=True args: 'report.paperformat.label', 'Label Paper Format' -
label_template_view_idMany2one → ir.ui.viewcomodel_name='ir.ui.view'default=<expr>readonly=Truerequired=Truestring='Label QWeb Template' -
line_idsOne2many → report.label.wizard.linedefault=_default_line_idsrequired=True args: 'report.label.wizard.line', 'wizard_id', 'Lines' -
model_idMany2one → ir.modeldefault=<expr>required=True args: 'ir.model', 'Model' -
offsetIntegerhelp='Number of labels to skip when printing'
-
print_report(self)
New fields (5)
-
quantityIntegerdefault=1required=True -
res_idIntegerrequired=True args: 'Resource ID' -
res_nameCharcompute='_compute_res_name' -
sequenceIntegerdefault=10 -
wizard_idMany2one → report.label.wizardondelete='cascade'required=True args: 'report.label.wizard', 'Wizard'
No public methods.
New fields (13)
-
label_background_colorChardefault='#FFFFFF' -
label_heightFloatdefault=42.3required=True args: 'Label Height (mm)' -
label_margin_bottomFloatdefault=2 args: 'Label Margin Bottom (mm)' -
label_margin_leftFloatdefault=2 args: 'Label Margin Left (mm)' -
label_margin_rightFloatdefault=2 args: 'Label Margin Right (mm)' -
label_margin_topFloatdefault=2 args: 'Label Margin Top (mm)' -
label_padding_bottomFloatdefault=2 args: 'Label Padding Bottom (mm)' -
label_padding_leftFloatdefault=2 args: 'Label Padding Left (mm)' -
label_padding_rightFloatdefault=2 args: 'Label Padding Right (mm)' -
label_padding_topFloatdefault=2 args: 'Label Padding Top (mm)' -
label_widthFloatdefault=60required=True args: 'Label Width (mm)' -
nameCharrequired=True -
paperformat_idMany2one → report.paperformatondelete='cascade'required=Truestring='Paper Format' args: 'report.paperformat'
No public methods.
Loading…
Loading…
Loading…
Loading…