Stock Barcodes GS1 Secondary Unit

stock_barcodes_gs1_secondary_unit
REPOSITORY
REPOSITORYOCA/stock-logistics-barcode
GIT
GIThttps://github.com/OCA/stock-logistics-barcode.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-barcode/tree/15.0/stock_barcodes_gs1_secondary_unit
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSCarlos Dauden, sergio-teruel, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-barcode
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:31
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_secondary_unit
OCA/stock-logistics-barcode:
    - stock_barcodes_gs1
    - stock_barcodes
OCA/stock-logistics-warehouse:
    - stock_secondary_unit
OCA/web:
    - web_widget_numeric_step
odoo/odoo:
    - barcodes
    - web
    - base
    - stock
    - product
    - mail
    - base_setup
    - bus
    - web_tour
    - uom
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - barcodes_gs1_nomenclature
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_template_form_view product.template field Inherits product_secondary_unit.product_template_form_view
view_stock_barcodes_read_form wiz.stock.barcodes.read div Inherits stock_barcodes.view_stock_barcodes_read_form
view_stock_barcodes_read_picking_form wiz.stock.barcodes.read.picking xpath Inherits stock_barcodes.view_stock_barcodes_read_picking_form
view_stock_barcodes_todo_kanban wiz.stock.barcodes.read.todo xpath Inherits stock_barcodes.view_stock_barcodes_todo_kanban
Models touched (6)

New fields (1)
  • barcode Char
    copy=False help='International Article Number used for product identification.' index=True
Public methods (0)

No public methods.

New fields (2)
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' string='Secondary uom'
  • secondary_uom_qty Float
    digits='Product Unit of Measure' string='Secondary UOM Qty'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' related='product_id.product_tmpl_id'
  • secondary_single_qty Float
    digits='Product Unit of Measure' string='Secondary single Qty'
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' string='Secondary uom'
  • secondary_uom_qty Float
    digits='Product Unit of Measure' string='Secondary UOM Qty'
  • total_secondary_uom_qty Float
    digits='Product Unit of Measure' store=False string='Second. Demand'
  • total_secondary_uom_qty_done Float
    digits='Product Unit of Measure' store=False string='Second. Done'
Public methods (5)
  • action_clean_values(self)
  • action_secondary_uom_scaned_post(self, secondary_uom)
  • onchange_product_id(self)
    @api.onchange('product_id')
  • onchange_secondary_uom_qty(self)
    @api.onchange('secondary_uom_id', 'secondary_uom_qty', 'secondary_single_qty')
  • reset_qty(self)

New fields (2)
  • total_secondary_uom_qty Float
    compute='_compute_total_secondary_uom'
  • total_secondary_uom_qty_done Float
    compute='_compute_total_secondary_uom'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • fields_to_fill_from_pending_line(self)
    @api.model
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/stock-logistics-barcode
PULL REQUEST
PULL REQUEST[18.0][MIG] stock_barcodes_gs1_secondary_unit: Migration to 18.0 (#756)