TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/stock-logistics-barcode · module folder · Try on Runboat
Module version
1.0.0
Category
Extra Tools
Folder size
0.12 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-barcode
Last tracking update
2026-08-07 08:42:58
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Carlos Lopez, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
python-barcode
System dependencies
None
Required by
stock_picking_product_barcode_report_secondary_unit
Description
This module allows you to select how many copies of barcode labels do
you want to print.

Code Analysis info_outline

Views touched (15)
XML IDNameModelTypeStatus
base_label base_label ir.ui.view qweb New
base_label_document base_label_document ir.ui.view qweb New
inherit_act_report_xml_view ir.actions.report.form ir.actions.report form Inherits base.act_report_xml_view
label_barcode_report label_barcode_report ir.ui.view qweb New
label_barcode_report_package_content label_barcode_report_package_content ir.ui.view qweb New
label_barcode_report_quant_package label_barcode_report_quant_package ir.ui.view qweb New
label_barcode_report_quant_package_wiz label_barcode_report_quant_package_wiz ir.ui.view qweb New
label_custom_report label_custom_report ir.ui.view qweb New
product_packaging_form_view product.packaging form Inherits product.product_packaging_form_view
product_packaging_tree_view product.packaging tree Inherits product.product_packaging_tree_view
report_label_barcode report_label_barcode ir.ui.view qweb New
report_label_barcode_quant_package report_label_barcode_quant_package ir.ui.view qweb New
report_label_custom report_label_custom ir.ui.view qweb New
res_config_settings_view_form res.config.settings.view.form.inherit.barcode.format res.config.settings form Inherits stock.res_config_settings_view_form
view_stock_barcode_selection_printing stock.barcode.selection.printing.form stock.picking.print form New
HTTP endpoints (1)
Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) ReportController.report_barcode inherited http ALL
Models touched (6)

New fields (2)
  • is_barcode_label Boolean
    string='Barcode label'
  • is_custom_label Boolean
    string='Custom label'
Public methods (0)

No public methods.

New fields (1)
  • print_one_label_by_item Boolean
    help='If checked, Odoo take into account the units included in the packaging to compute number of labels'
Public methods (0)

No public methods.

New fields (2)
  • barcode_default_report Many2one → ir.actions.report
    comodel_name='ir.actions.report' domain=[('is_barcode_label', '=', True)] string='Default template for barcode labels'
  • barcode_report_default_format Selection
    string='Method to choose the barcode formating' args: [('gs1_128', 'Display GS1_128 format for barcodes')]
Public methods (0)

No public methods.

New fields (2)
  • barcode_default_report Many2one → ir.actions.report
    comodel_name='ir.actions.report' readonly=False related='company_id.barcode_default_report' string='Default template for barcode labels'
  • barcode_report_default_format Selection
    readonly=False related='company_id.barcode_report_default_format' string='Method to choose the barcode formating'
Public methods (0)

No public methods.

New fields (10)
  • company_id Many2one
    related='wizard_id.company_id'
  • label_qty Integer
    compute='_compute_label_qty' readonly=False store=True args: 'Quantity of Labels'
  • lot_id Many2one → stock.lot
    string='Lot/Serial Number' args: 'stock.lot'
  • move_line_id Many2one → stock.move.line
    readonly=True args: 'stock.move.line', 'Move'
  • product_id Many2one → product.product
    domain="[('id', '=', product_id)]" required=True string='Product' args: 'product.product'
  • product_packaging_id Many2one → product.packaging
    check_company=True comodel_name='product.packaging' domain="[('product_id', '=', product_id)]" groups='product.group_stock_packaging' string='Packaging'
  • quantity Float
    digits='Product Unit of Measure' required=True
  • result_package_id Many2one → stock.quant.package
    comodel_name='stock.quant.package' string='Dest. package'
  • uom_id Many2one → uom.uom
    string='Unit of Measure' args: 'uom.uom'
  • wizard_id Many2one → stock.picking.print
    string='Wizard' args: 'stock.picking.print'
Public methods (0)

No public methods.

New fields (10)
  • barcode_format Selection
    default=<expr> selection=[('gs1_128', 'Display GS1_128 format for barcodes')]
  • barcode_report Many2one → ir.actions.report
    comodel_name='ir.actions.report' default=_default_barcode_report domain=[('is_barcode_label', '=', True)] required=True string='Report to print'
  • company_id Many2one → res.company
    default=<expr> args: 'res.company'
  • html_content Html
  • is_custom_label Boolean
    compute='_compute_is_custom_label'
  • label_qty Integer
    default=1
  • lang Selection → res.lang
    comodel_name='res.lang' selection=_get_lang
  • picking_ids Many2many → stock.picking
    args: 'stock.picking'
  • product_print_moves One2many → stock.picking.line.print
    args: 'stock.picking.line.print', 'wizard_id', 'Moves'
  • stock_move_line_ids Many2many → stock.move.line
    args: 'stock.move.line'
Public methods (3)
  • create_label_print_wiz_from_move_line(self, report_id, stock_move_lines)
    Helper method to create this wizard from other models to print labels
  • default_get(self, fields)
    @api.model
  • print_labels(self)

Loading…

Loading…

Loading…

Loading…