Stock production lot expired date

stock_production_lot_expired_date
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/17.0/stock_production_lot_expired_date
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Deriman-Alonso
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product_expiry
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to facilitate the input of stock production lot
expired dates:

- Add settings on stock to choose the base date for stock production lot
- Add onchanges on stock production lot to compute expired dates from
  base date

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
stock_config_settings_form_view stock.config.settings.form (in stock_production_lot_expired_date) res.config.settings data Inherits stock.res_config_settings_view_form
Models touched (2)

New fields (1)
  • production_lot_base_date Selection
    config_parameter='stock_production_lot_expired_date.production_lot_base_date' selection='_selection_production_lot_base_date' string='Base date to compute expiration dates'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (4)
  • onchange_alert_date(self)
    @api.onchange('alert_date')
  • onchange_expiration_date(self)
    @api.onchange('expiration_date')
  • onchange_removal_date(self)
    @api.onchange('removal_date')
  • onchange_use_date(self)
    @api.onchange('use_date')
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/16.0/stock_production_lot_expired_date
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, hda
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product_expiry
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
stock_config_settings_form_view stock.config.settings.form (in stock_production_lot_expired_date) res.config.settings xpath Inherits stock.res_config_settings_view_form
Models touched (2)

New fields (1)
  • production_lot_base_date Selection
    config_parameter='stock_production_lot_expired_date.production_lot_base_date' selection='_selection_production_lot_base_date' string='Base date to compute expiration dates'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (4)
  • onchange_alert_date(self)
    @api.onchange('alert_date')
  • onchange_expiration_date(self)
    @api.onchange('expiration_date')
  • onchange_removal_date(self)
    @api.onchange('removal_date')
  • onchange_use_date(self)
    @api.onchange('use_date')