Rma Lot Autocreate

rma_lot_autocreate
REPOSITORY
REPOSITORYOCA/rma
GIT
GIThttps://github.com/OCA/rma.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/rma/tree/16.0/rma_lot_autocreate
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSsbejaoui, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/rma
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/rma:
    - rma_lot
    - rma
OCA/stock-logistics-workflow:
    - stock_picking_return_lot
    - stock_restrict_lot
odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - product_expiry
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the RMA workflow by allowing automatic creation of 
stock lots when confirming an RMA.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
rma_operation_form_view rma.operation xpath Inherits rma.rma_operation_form_view
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • action_confirm(self)

New fields (4)
  • auto_create_lot Boolean
    help='If enabled, and the product is tracked and no lot/serial is set on the RMA, a new lot/serial will be created at confirmation.' string='Auto-create Lot/Serial on Confirm'
  • lot_expiration_days Integer
    help='If set, the lot expiration date will be set to Confirm Date + this many days.' string='Lot Expiration (days)'
  • lot_removal_days_before_expiration Integer
    help='If set, the lot removal date will be expiration date minus this many days. Requires an expiration to be configured.' string='Removal Days Before Expiration'
  • lot_sequence_id Many2one → ir.sequence
    domain=[('code', 'like', 'rma.lot%')] help='Sequence used to generate names for auto-created lots/serials.' string='Lot/Serial Name Sequence' args: 'ir.sequence'
Public methods (0)

No public methods.