TIP: You can type at any time to perform a new search.
Rma Batch
rma_batch · OCA/rma
- Repository
- OCA/rma · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.08 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, Samir GUESMI
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
The goal of this module is to introduce an **RMA Batch** — a container that groups several RMAs belonging to the same return event. It allows users to manage all related RMAs together, ensuring that shared information (customer, responsible, team, tags, date) stays synchronized and that batch actions apply consistently across all linked RMAs.
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
rma_batch_form_view |
rma.batch | form | New | |
rma_batch_list_view |
rma.batch | list | New | |
rma_form_view |
rma | form | Inherits rma.rma_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (5)
-
batch_idMany2one → rma.batchindex=Trueondelete='cascade'string='RMA Batch' args: 'rma.batch' -
operation_idMany2onecompute='_compute_operation_id'readonly=Falsestore=True -
partner_idMany2onecompute='_compute_partner_id'readonly=Falsestore=True -
tag_idsMany2manycompute='_compute_tag_ids'readonly=Falsestore=True -
user_idMany2onecompute='_compute_user_id'readonly=Falsestore=True
-
action_show_rma(self)
New fields (14)
-
company_idMany2one → res.companydefault=<expr>required=Truestring='Company' args: 'res.company' -
count_rmaIntegercompute='_compute_count_rma' -
dateDatetimedefault=fields.Datetime.nowindex=Truerequired=True -
location_idMany2one → stock.locationcomodel_name='stock.location'domain=<expr>help='Default RMA location that will be propagated to RMA order lines' -
nameCharcopy=Falsedefault=<expr>readonly=Truerequired=Truestring='Reference' -
operation_idMany2one → rma.operationcomodel_name='rma.operation'string='Requested operation' -
partner_idMany2one → res.partnerrequired=Truestring='Customer' args: 'res.partner' -
partner_invoice_idMany2one → res.partnercomodel_name='res.partner'compute='_compute_partner_invoice_id'domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]"help='Refund address for current RMA.'readonly=Falsestore=Truestring='Invoice Address' -
partner_shipping_idMany2one → res.partnercomodel_name='res.partner'compute='_compute_partner_shipping_id'help='Shipping address for current RMA.'readonly=Falsestore=Truestring='Shipping Address' -
rma_idsOne2many → rmastring='RMA' args: 'rma', 'batch_id' -
stateSelectiondefault='draft'help='Represents the preparation and validation progress of the RMA batch:\n- Draft: The batch is being prepared. RMAs can still be added or edited.\n- Ready: All required information for the batch and its RMAs is complete. The batch is ready to be confirmed.\n- Confirmed: The batch has been validated and all linked RMAs are confirmed.\n- Cancelled: The batch and its related RMAs are cancelled or ignored.'string='Status'tracking=True args: [('draft', 'Draft'), ('ready', 'Ready'), ('confirmed', 'Confirmed'), ('cancelled', 'Cancelled')] -
tag_idsMany2many → rma.tagcomodel_name='rma.tag'string='Tags' -
team_idMany2one → rma.teamcomodel_name='rma.team'compute='_compute_team_id'index=Truestore=Truestring='RMA team' -
user_idMany2one → res.usersdefault=<expr>index=Truestring='Responsible'tracking=True args: 'res.users'
-
action_cancel(self) -
action_confirm(self) -
action_draft(self) -
action_open_rma(self) -
action_ready(self) -
create(self, vals_list)@api.model_create_multi
New fields (0)
No new fields.
Public methods (1)-
action_create_returns(self)