Product Serial Unique Number
product_unique_serial · OCA/stock-logistics-workflow
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 86 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.09 MB
Module directory on disk
Code analysis
9 migration notes
4 models
2 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
StockMove— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceStockProductionLot— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceStockTransferDetails— Migrating to 16.0: the web client no longer calls `fields_view_get`: override `_get_view` instead. migration-fields-view-get · sourceview_product_unique_serial_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_product_unique_serial_form |
view.product.unique.serial.form | product.template | form | Inherits stock.view_template_property_form |
view_production_lot_form_inh_pus |
stock.production.lot.form.inh.pus | stock.production.lot | form | Inherits stock.view_production_lot_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (1)
-
lot_unique_okBooleanhelp='Forces set qty=1 to specify a Unique Serial Number for all moves' args: 'Unique lot'
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.multiCheck move quantity to verify that has qty = 1 if 'lot unique' is ok on product -
check_unicity_qty_available(self, operation_or_move)@api.modelCheck quantity on lot to verify that has qty = 1 if 'lot unique' is ok on product
New fields (2)
-
last_location_idMany2one → stock.locationcompute='_get_last_location_id'store=Truestring='Last location' args: 'stock.location' -
refCharhelp="Internal reference number in this case it is same of manufacturer's serial number"readonly=Truerelated='name'store=True args: 'Internal Reference'
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.modelAllow create serial only with incoming picking Set option "no_create = True" when picking type is different to incoming.