| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/rma |
| GIT | |
| GIT | https://github.com/OCA/rma.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/rma/tree/16.0/rma_lot_autocreate |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | sbejaoui, Weblate, OCA-git-bot, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/rma |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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 - 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. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
rma_operation_form_view |
rma.operation | xpath | Inherits rma.rma_operation_form_view |
No new fields.
Public methods (1)action_confirm(self)
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'
No public methods.