TIP: You can type at any time to perform a new search.
Return Merchandise Authorization Management - Link with MRP Kits
rma_sale_mrp · OCA/rma
- Repository
- OCA/rma · module folder · Try on Runboat
- Module version
- 1.1.0
- Category
- RMA
- Folder size
- 0.13 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, eduezerouali-tecnativa
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module enables RMAs for kits, wich isn't compatible with the base modules. In the backend side, we can return separate component while in the frontend side, customers can return the whole kit and the proper RMAs will be generated.
Code Analysis ⓘ
Views touched (7)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
portal_my_rmas |
My RMA Orders MRP | ir.ui.view | qweb | Inherits rma.portal_my_rmas |
portal_rma_page |
RMA Kits | ir.ui.view | qweb | Inherits rma.portal_rma_page |
report_rma_document |
report_rma_document | ir.ui.view | qweb | Inherits rma_sale.report_rma_document |
rma_view_form |
rma | form | Inherits rma_sale.rma_view_form | |
rma_view_tree |
rma | tree | Inherits rma.rma_view_tree | |
sale_order_portal_template |
Request RMA MRP | ir.ui.view | qweb | Inherits rma_sale.sale_rma_request_form |
sale_order_rma_wizard_form_view |
sale.order.rma.wizard | form | Inherits rma_sale.sale_order_rma_wizard_form_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
kit_qtyFloatdigits='Product Unit of Measure'help='To how many kits this components corresponds to. Used mainly for refunding the right quantity'readonly=Truestring='Kit quantity' -
phantom_bom_productMany2one → product.productcomodel_name='product.product'readonly=Truestring='Related kit product' -
rma_kit_registerCharreadonly=True
-
action_draft(self) -
action_refund(self)We want to process them altogether
New fields (0)
No new fields.
Public methods (1)-
get_delivery_rma_data(self)Get the phantom lines we'll be showing in the wizard
New fields (0)
No new fields.
Public methods (2)-
get_delivery_move(self) -
prepare_sale_rma_data(self)We'll take both the sale order product and the phantom one so we can play with them when filtering or showing to the customer
New fields (4)
-
kit_qty_doneFloathelp='Used to inform kit qty used in the rma. Will be useful to refund'readonly=True -
per_kit_quantityFloatreadonly=True -
phantom_bom_productMany2one → product.productcomodel_name='product.product' -
phantom_kit_lineBooleanreadonly=True
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
component_line_idsOne2many → sale.order.line.rma.wizard.componentcomodel_name='sale.order.line.rma.wizard.component'inverse_name='wizard_id'string='Component Lines'
-
create(self, vals_list)@api.model_create_multiSplit component lines -
create_rma(self, from_portal=None)We kept the component lines in the shade and now we need to take the ones linked to the phatom lines (kits) to create the proper RMA for each component according to the proper component quantities
Loading…
Loading…
Loading…
Loading…
Loading…