Inter Company Module for RMA
rma_inter_company · OCA/rma
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.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.11 MB
Module directory on disk
Code analysis
0 migration notes
5 models
1 view
0 HTTP endpoints
Description
Automatically create an Inter Company RMA so that it can be managed independently but still remain linked.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
rma_view_form |
rma.view.form | rma | form | Inherits rma.rma_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (2)
-
intercompany_origin_rma_idMany2one → rmacomodel_name='rma'copy=Falsereadonly=Truestring='Intercompany Origin RMA' -
intercompany_rma_idMany2one → rmacomodel_name='rma'copy=Falsereadonly=Truestring='Intercompany RMA'
-
action_cancel(self)Perform the same action in the intercompany RMAs. -
action_confirm(self) -
action_draft(self)Perform the same action in the intercompany RMAs. -
action_refund(self)Perform the same action in the intercompany RMAs. -
action_refund_without_invoice(self)Perform the same action in the intercompany RMAs. -
create_replace(self, scheduled_date, warehouse, product, qty, uom)Perform the same action in the intercompany RMAs. -
create_return(self, scheduled_date, qty=None, uom=None)Perform the same action in the intercompany RMAs. -
write(self, vals)
New fields (0)
No new fields.
Public methods (1)-
create(self, vals_list)@api.model_create_multiWhen completing a sales receipt (return) picking, if the destination location is inter-company (because it is an inter-company process), the system will automatically create a sales order line; however, this would be incorrect. Therefore, we use the context added in _action_done() in stock.picking to prevent this. Related to https://github.com/odoo/odoo/blob/ee5502ef5ebe7c3a87984697771643d1f798b880/addons/sale_stock/models/stock.py#L141
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
action_cancel(self)
New fields (0)
No new fields.
Public methods (0)No public methods.