Repository
OCA/rma · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/rma
Last tracking update
2026-09-23 17:21:01
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
OCA-git-bot, oca-ci, Souheil Bejaoui
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends the standard RMA flow and the behavior of
`sale_stock_restocking_fee_invoicing` by allowing:

- Fixed or percentage-based restocking fees.
- Restocking fees configurable on the RMA operation or directly on the RMA itself.
- Automatic fee application at last step of RMA receipt.
- Integration with different refund strategies:
  - Update sale order quantity.
  - Manual refund after receipt.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
rma_form_view rma form Inherits rma.rma_view_form
rma_operation_form_view rma.operation form Inherits rma.rma_operation_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (2)
  • restocking_fee_amount Float
  • restocking_fee_type Selection
    help='Define whether the restocking fee is a fixed amount or a percentage.' args: [('fixed', 'Fixed Amount'), ('percent', 'Percentage')]
Public methods (0)

No public methods.

New fields (5)
  • manual_restocking_fee_invoice_needed Boolean
    compute='_compute_manual_restocking_fee_invoice_needed'
  • restocking_fee_amount Float
    compute='_compute_restocking_fee' readonly=False store=True
  • restocking_fee_invoice_id Many2one → account.move
    comodel_name='account.move' readonly=True
  • restocking_fee_type Selection
    compute='_compute_restocking_fee' readonly=False store=True
  • restocking_fee_visibility Boolean
    compute='_compute_restocking_fee_visibility'
Public methods (2)
  • action_view_restocking_fee_invoice(self)
  • write(self, vals)
    Be able to propagate restocking fees on all moves of the chain even if added once the reception move is already created.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.