sale_order_lot_mrp

sale_order_lot_mrp
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/10.0/sale_order_lot_mrp
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSGitHub, OCA Transbot, David Beal, oca-travis, Weblate, OCA-git-bot, Simone Rubino
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - mrp_production_note
OCA/sale-workflow:
    - sale_order_lot_generator
    - sale_order_lot_selection
odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - stock
    - procurement
    - barcodes
    - web_planner
    - resource
    - sale_stock
    - sale
    - sales_team
    - account
    - analytic
    - stock_account
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_production_lot_form mrp.production field Inherits mrp.mrp_production_form_view
Models touched (5)

New fields (1)
  • lot_id Many2one → stock.production.lot
    default=_get_default_lot args: 'stock.production.lot', 'Lot'
Public methods (0)

No public methods.

New fields (1)
  • lot_id Many2one → stock.production.lot
    index=True args: 'stock.production.lot', 'Lot'
Public methods (1)
  • button_plan(self)
    @api.multi
    We passe the production.id in the context so you can easily retrieve the production information during the process that generate the line of needed for the production order. For exemple, in the method explode() of 'mrp.bom', you can read the information of the production order to customise the needed.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_explode(self)

New fields (1)
  • mrp_production_ids One2many → mrp.production
    string='Production Order' args: 'mrp.production', 'lot_id'
Public methods (1)
  • unlink(self)
    @api.multi