Repository
OCA/rma · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/rma
Last tracking update
2026-09-21 11:18:10
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
oca-ci, Souheil Bejaoui
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends the batch RMA process by adding automatic sale order
linking at batch level. It reuses the matching logic provided by the module
`rma_sale_auto_detect`, but allows it to be executed on all RMAs contained
inside an `rma.batch`.

A new batch state **Manual Treatment** is introduced.  
If at least one RMA in the batch fails to auto-match, the batch is moved to
this state, so the user can review and fix the unmatched RMAs manually.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
rma_batch_form_view rma.batch form Inherits rma_batch.rma_batch_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • state Selection
    help='Represents the preparation and validation progress of the RMA batch:\n- Draft: RMAs are being prepared\n- Manual Treatment: One or more RMAs require manual matching\n- Ready: All RMAs are completed and batch is ready to be confirmed\n- Confirmed: The batch is validated and all RMAs are confirmed\n- Cancelled: The batch is cancelled' selection_add=[('manual', 'Manual Treatment')]
Public methods (2)
  • action_link_rma_to_sale_line(self)
  • action_ready(self)