MRP Open Lot Attributes
mrp_open_lot_attributes · OCA/stock-logistics-workflow
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 140 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.01 MB
Module directory on disk
Code analysis
4 migration notes
2 models
1 view
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
stock_move— Class 'stock_move' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (2 occurrences in this file) migration-old-api-base · sourcestock_production_lot— Migrating to 16.0: the web client no longer calls `fields_view_get`: override `_get_view` instead. migration-fields-view-get · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) 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
This module adds buttons to edit the Production Lot information, including custom attributes, from the Finished Products tab in the Manufacturing Order.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mrp_production_form_lot_attribute_view |
mrp.production.lot.attribute.form | mrp.production | form | Inherits mrp.mrp_production_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (1)-
open_lot(self, cr, uid, ids, context=None)Open Production Lot in a form, with attributes if any If the production lot has custom attributes, these are shown in a dynamic view
New fields (0)
No new fields.
Public methods (2)-
fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False)Dynamically adds Save and close, Cancel buttons to the form view -
save_lot(self, cr, uid, ids, context=None)If the lot is new, assign it to the original move