MRP Open Lot Attributes

mrp_open_lot_attributes
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/6.1/mrp_open_lot_attributes
VERSION
VERSION 0.1
CATEGORY
CATEGORYGeneric Modules/Others
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAlexandre Fayolle, Leonardo Pistone, Launchpad Translations on behalf of stock-logistic-core-editors
WEBSITE
WEBSITEhttp://www.camptocamp.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:04:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - production_lot_custom_attributes
    - base_custom_attributes
odoo/odoo:
    - mrp
    - procurement
    - base
    - process
    - product
    - decimal_precision
    - stock
    - account
    - base_setup
    - analytic
    - board
    - edi
    - email_template
    - mail
    - base_tools
    - resource
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
mrp_production_form_lot_attribute_view mrp.production.lot.attribute.form mrp.production xpath Inherits mrp.mrp_production_form_view
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