TIP: You can type at any time to perform a new search.
MRP Open Lot Attributes
mrp_open_lot_attributes · OCA/stock-logistics-workflow
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. 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. migration-old-api-base · sourcestock_production_lot— Class 'stock_production_lot' 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. migration-old-api-base · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/stock-logistics-workflow · module folder · Try on Runboat
- Module version
- 0.1
- Category
- Generic Modules/Others
- Folder size
- 0.01 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.camptocamp.com/
- Last tracking update
- 2026-10-03 21:36:32
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Leonardo Pistone, Alexandre Fayolle, Launchpad Translations on behalf of stock-logistic-core-editors
- Odoo dependencies
- Python dependencies
- unidecode
- System dependencies
- None
- Required by
- None
- Description
This module adds buttons to edit the Production Lot information, including custom attributes, from the Finished Products tab in the Manufacturing Order.
Code Analysis
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