TIP: You can type at any time to perform a new search.
Rma Sale Auto Detect
rma_sale_auto_detect · OCA/rma
- Repository
- OCA/rma · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/rma
- Last tracking update
- 2026-08-07 08:42:51
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- sbejaoui, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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
Code Analysis ⓘ
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 (1)
-
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)'
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.