rma_sale
This module integrates Return Merchandise Authorization (RMA) functionality with sales orders in Odoo, enabling the creation of RMAs directly from confirmed sales orders.
Key Features
- sale.order: Adds rma_ids field to link RMAs to the sale order
- sale.order: Adds rma_count computed field to display the number of linked RMAs
- sale.order: Adds action_create_rma method to open the RMA creation wizard from the sale order form
- sale.order: Adds action_view_rma method to view RMAs linked to the sale order
- sale.order: Includes RMA refunds in the invoiced computation
- sale.order.line: Prepares RMA data based on delivered quantities and stock moves
- rma: Adds order_id field to link the RMA to a sale order with domain restrictions
- rma: Computes allowed_picking_ids, allowed_move_ids, and allowed_product_ids based on the linked sale order
- rma: Clears product and picking fields when the sale order is changed
- rma: Links reception moves to sale lines during refund creation
- rma: Sets the salesman from the sale order on generated refunds
- rma: Links refund lines to sale order lines for full quantity returns
- rma: Links procurement groups to sale orders for replacement deliveries
- account.move: Unlinks reception moves when refunds are cancelled
- account.move: Relinks reception moves when refunds are set back to draft
- account.move: Unlinks reception moves when refunds are deleted
- res.company: Adds show_full_page_sale_rma setting for portal RMA creation mode
- res.config.settings: Provides configuration interface for the full page RMA setting
- portal: Adds controllers for requesting RMAs from the customer portal
- portal: Adds RMA request form template with quantity, operation, and description fields
- portal: Adds 'Request RMAs' button to sale order portal page
- portal: Displays RMA count on sale order portal page
- portal: Shows sale order information on RMA portal page
- portal: Supports single-page RMA request mode based on company setting
- wizard: Provides SaleOrderRmaWizard for creating multiple RMAs from a sale order
- wizard: Provides SaleOrderLineRmaWizard for individual RMA line configuration
- views: Adds 'Create RMA' button to sale order form
- views: Adds RMA count stat button to sale order form
- views: Adds order_id field to RMA form