Product Serial Unique Number

product_unique_serial
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/8.0/product_unique_serial
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYstock
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Vauxoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Vauxoo
COMMITTERS
COMMITTERSGitHub, Carlos Dauden, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot, Oihane Crucelaegui, Osval Reyes, Pedro
WEBSITE
WEBSITEhttp://www.vauxoo.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_no_negative
odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_product_unique_serial_form view.product.unique.serial.form product.template xpath Inherits stock.view_template_property_form
view_production_lot_form_inh_pus stock.production.lot.form.inh.pus stock.production.lot xpath Inherits stock.view_production_lot_form
Models touched (4)

New fields (1)
  • lot_unique_ok Boolean
    help='Forces set qty=1 to specify a Unique Serial Number for all moves' args: 'Unique lot'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (5)
  • check_after_action_done(self, operation_or_move)
    @api.model
  • check_before_action_done(self, operation_or_move)
    @api.model
  • check_tracking(self, move, lot_id)
    @api.model
  • check_unicity_move_qty(self)
    @api.multi
    Check move quantity to verify that has qty = 1 if 'lot unique' is ok on product
  • check_unicity_qty_available(self, operation_or_move)
    @api.model
    Check quantity on lot to verify that has qty = 1 if 'lot unique' is ok on product

New fields (2)
  • last_location_id Many2one → stock.location
    compute='_get_last_location_id' store=True string='Last location' args: 'stock.location'
  • ref Char
    help="Internal reference number in this case it is same of manufacturer's serial number" readonly=True related='name' store=True args: 'Internal Reference'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • domain_str_append(self, old_domain_str, subdomain_str)
  • fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
    @api.model
    Allow create serial only with incoming picking Set option "no_create = True" when picking type is different to incoming.