Return Merchandise Authorization Management - Link with MRP Kits
rma_sale_mrp · OCA/rma
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 5 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
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.13 MB
Module directory on disk
Code analysis
0 migration notes
7 models
7 views
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…