Skip to content
Health
65/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
rma_batch_sale_auto_detect

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
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_id Many2one → rma.batch
    index=True ondelete='cascade' string='RMA Batch' args: 'rma.batch'
  • operation_id Many2one
    compute='_compute_operation_id' readonly=False store=True
  • partner_id Many2one
    compute='_compute_partner_id' readonly=False store=True
  • tag_ids Many2many
    compute='_compute_tag_ids' readonly=False store=True
  • user_id Many2one
    compute='_compute_user_id' readonly=False store=True
Public methods (1)
  • action_show_rma(self)

New fields (14)
  • company_id Many2one → res.company
    default=<expr> required=True string='Company' args: 'res.company'
  • count_rma Integer
    compute='_compute_count_rma'
  • date Datetime
    default=fields.Datetime.now index=True required=True
  • location_id Many2one → stock.location
    comodel_name='stock.location' domain=<expr> help='Default RMA location that will be propagated to RMA order lines'
  • name Char
    copy=False default=<expr> readonly=True required=True string='Reference'
  • operation_id Many2one → rma.operation
    comodel_name='rma.operation' string='Requested operation'
  • partner_id Many2one → res.partner
    required=True string='Customer' args: 'res.partner'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_partner_invoice_id' domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]" help='Refund address for current RMA.' readonly=False store=True string='Invoice Address'
  • partner_shipping_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_partner_shipping_id' help='Shipping address for current RMA.' readonly=False store=True string='Shipping Address'
  • rma_ids One2many → rma
    string='RMA' args: 'rma', 'batch_id'
  • state Selection
    default='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_ids Many2many → rma.tag
    comodel_name='rma.tag' string='Tags'
  • team_id Many2one → rma.team
    comodel_name='rma.team' compute='_compute_team_id' index=True store=True string='RMA team'
  • user_id Many2one → res.users
    default=<expr> index=True string='Responsible' tracking=True args: 'res.users'
Public methods (6)
  • 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)