Repository
OCA/rma · module folder · Try on Runboat
Module version
1.4.1
Category
RMA
Folder size
0.09 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
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Víctor Martínez, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
rma_sale_delivery
Description
This module extends the functionality of the RMA module to allow to
choose a default behavior for the shipping method used on the RMA
receipt/returns to the customer.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings form Inherits stock.res_config_settings_view_form
rma_choose_delivery_carrier_form_view rma.choose.delivery.carrier.form rma.choose.delivery.carrier form New
rma_rma_wizard_form_view rma.rma.wizard form Inherits rma.rma_rma_wizard_form_view
rma_view_form rma.view.form rma form Inherits rma.rma_view_form
view_stock_return_picking_form stock.return.picking form Inherits rma.view_stock_return_picking_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (9)

New fields (0)

No new fields.

Public methods (2)
  • available_carriers_picking(self, partner, picking)
  • available_carriers_rma(self, partner, rma)

New fields (4)
  • rma_delivery_strategy Selection
    default='mixed_method' selection=[('fixed_method', 'Fixed method'), ('customer_method', 'Customer method'), ('mixed_method', 'Customer method (fallback to fixed)'), ('rma_method', 'RMA method')] string='RMA delivery method strategy'
  • rma_fixed_delivery_method Many2one → delivery.carrier
    comodel_name='delivery.carrier' string='Default RMA delivery method'
  • rma_fixed_reception_strategy Many2one → delivery.carrier
    comodel_name='delivery.carrier' string='Default RMA reception method'
  • rma_reception_strategy Selection
    default='mixed_method' selection=[('fixed_method', 'Fixed method'), ('customer_method', 'Customer method'), ('mixed_method', 'Customer method (fallback to fixed)'), ('rma_method', 'RMA method')] string='RMA reception method strategy'
Public methods (0)

No public methods.

New fields (4)
  • rma_delivery_strategy Selection
    readonly=False related='company_id.rma_delivery_strategy'
  • rma_fixed_delivery_method Many2one
    readonly=False related='company_id.rma_fixed_delivery_method'
  • rma_fixed_reception_strategy Many2one
    readonly=False related='company_id.rma_fixed_reception_strategy'
  • rma_reception_strategy Selection
    readonly=False related='company_id.rma_reception_strategy'
Public methods (0)

No public methods.

New fields (5)
  • available_carrier_ids Many2many → delivery.carrier
    comodel_name='delivery.carrier' compute='_compute_available_carrier_ids'
  • carrier_id Many2one → delivery.carrier
    comodel_name='delivery.carrier' domain="[('id', 'in', available_carrier_ids)]" string='Carrier'
  • reception_carrier_id Many2one → delivery.carrier
    comodel_name='delivery.carrier' domain="[('id', 'in', available_carrier_ids)]" string='Reception Carrier'
  • rma_delivery_strategy Selection
    related='company_id.rma_delivery_strategy'
  • rma_reception_strategy Selection
    related='company_id.rma_reception_strategy'
Public methods (1)
  • action_open_choose_carrier_wizard(self)

New fields (6)
  • available_carrier_ids Many2many → delivery.carrier
    comodel_name='delivery.carrier' compute='_compute_available_carrier_ids'
  • carrier_id Many2one → delivery.carrier
    comodel_name='delivery.carrier' domain="[('id', 'in', available_carrier_ids)]" required=True string='Carrier'
  • carrier_type Selection
    default='reception' readonly=True args: [('reception', 'Reception'), ('delivery', 'Delivery')]
  • company_id Many2one
    related='rma_id.company_id'
  • partner_id Many2one
    related='rma_id.partner_shipping_id'
  • rma_id Many2one → rma
    comodel_name='rma' default=<expr>
Public methods (2)
  • button_confirm(self)
  • default_get(self, fields_list)
    @api.model

New fields (5)
  • available_reception_carrier_ids Many2many → delivery.carrier
    comodel_name='delivery.carrier' compute='_compute_available_reception_carrier_ids'
  • company_id Many2one
    related='rma_id.company_id'
  • partner_shipping_id Many2one
    related='rma_id.partner_shipping_id'
  • reception_carrier_id Many2one → delivery.carrier
    comodel_name='delivery.carrier' domain="[('id', 'in', available_reception_carrier_ids)]" string='Reception Carrier'
  • rma_reception_strategy Selection
    related='company_id.rma_reception_strategy'
Public methods (1)
  • default_get(self, fields_list)
    @api.model

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • available_reception_carrier_ids Many2many → delivery.carrier
    comodel_name='delivery.carrier' compute='_compute_available_reception_carrier_ids'
  • partner_id Many2one
    related='picking_id.partner_id'
  • reception_carrier_id Many2one → delivery.carrier
    comodel_name='delivery.carrier' domain="[('id', 'in', available_reception_carrier_ids)]" string='Reception Carrier'
  • rma_reception_strategy Selection
    related='picking_id.company_id.rma_reception_strategy'
Public methods (1)
  • default_get(self, fields)
    @api.model

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…