Rma Batch
rma_batch · OCA/rma
Health
65/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 11 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.08 MB
Module directory on disk
Code analysis
0 migration notes
3 models
3 views
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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)