Rma Sale Auto Detect
rma_sale_auto_detect · OCA/rma
Health
70/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.07 MB
Module directory on disk
Code analysis
0 migration notes
3 models
2 views
0 HTTP endpoints
Description
This addon automatically links RMA records to the most relevant sale order lines based on delivered quantities and an eligibility period defined on the RMA operation.
The module will:
- Search sale order lines delivered to the same partner
- Filter them by the operation's allowed return period
- Consume delivered quantities in chronological order
- Link the RMA to the corresponding stock move(s)
- Split the RMA if multiple deliveries or partial matches are needed
- Flag the RMA if no matching sale delivery was found
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
rma_form_view |
rma | form | Inherits rma.rma_view_form | |
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 3
New fields (5)
-
has_sale_auto_detect_issueBooleanreadonly=True -
ignore_sale_auto_detectBooleanreadonly=True -
return_eligibility_daysIntegercompute='_compute_return_eligibility_days'help='Defines the time window in which sales can be linked automatically to RMA lines. Example: 30 days (change of mind), 730 days (warranty), 0 to disable, or a large number for lifetime warranty.'readonly=Falsestore=Truestring='Return eligibility duration (days)' -
return_eligibility_period_exceededBooleancompute='_compute_return_eligibility_period_exceeded' -
sale_auto_detect_noteTextreadonly=True
-
action_confirm(self) -
action_draft(self) -
action_link_rma_to_sale_line(self)automatically link RMAs to the most relevant sale order lines
New fields (2)
-
return_eligibility_daysIntegerdefault=30help='Defines the time window in which sales can be linked automatically to RMA lines. Example: 30 days (change of mind), 730 days (warranty), 0 to disable, or a large number for lifetime warranty.'string='Return eligibility duration (days)' -
return_eligibility_orderSelectiondefault='older_first'help='This will change the way of eligible sale orders are retrieved.'required=Trueselection=[('older_first', 'Older First'), ('recent_first', 'Recent First')]
No public methods.
New fields (1)
-
rma_returnable_uom_qtyFloatcompute='_compute_rma_returnable_uom_qty'digits='Product Unit of Measure'help='Quantity of this delivery move still eligible to be returned through RMA'string='RMA Returnable Quantity'
No public methods.