Rma Lot Autocreate
rma_lot_autocreate · OCA/rma
Health
47/100
poor
-
Security25/25No findings
-
Activity12/25Last human commit 16 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
1 migration note
2 models
1 view
0 HTTP endpoints
Migration considerations
rma_operation_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module extends the RMA workflow by allowing automatic creation of stock lots when confirming an RMA.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
rma_operation_form_view |
rma.operation | form | Inherits rma.rma_operation_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (1)-
action_confirm(self)
New fields (4)
-
auto_create_lotBooleanhelp='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_daysIntegerhelp='If set, the lot expiration date will be set to Confirm Date + this many days.'string='Lot Expiration (days)' -
lot_removal_days_before_expirationIntegerhelp='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_idMany2one → ir.sequencedomain=[('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.