Return Merchandise Authorization Management - Website Form
website_rma · OCA/rma
Health
61/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 35 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 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.08 MB
Module directory on disk
Code analysis
0 migration notes
4 models
5 views
2 HTTP endpoints
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
contact_us_request_rma |
Request RMA | ir.ui.view | qweb | Inherits website.contactus |
portal_my_home_rma |
Portal My Home : RMA entries | ir.ui.view | qweb | Inherits portal.portal_my_home |
request_rma |
Request RMA | ir.ui.view | qweb | New |
request_rma_thanks_page_view |
Thanks (Request RMA) | qweb | New | |
res_config_settings_view_form |
res.config.settings.view.form.inherit | res.config.settings | form | Inherits website.res_config_settings_view_form |
HTTP endpoints 2
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/requestrma |
WebsiteRMA.request_rma |
user | http | ALL | website |
/website_rma/get_products |
WebsiteRMA.rma_product_read |
user | http | GET | sudo website |
Models touched 4
New fields (0)
No new fields.
Public methods (1)-
get_authorized_fields(self, model_name)@api.modelHack this method to force some rma fields to be authorized in creating an object from a web form using the website_form module. Those fields are readonly in all states except 'draft' state, but the main method get_authorized_fields interprets them as readonly always.
New fields (2)
-
rma_default_team_idMany2one → rma.teamcomodel_name='rma.team'readonly=Falserelated='website_id.rma_default_team_id' -
rma_default_user_idMany2one → res.userscomodel_name='res.users'help="Default responsible for new leads created through the 'Request RMA' form."readonly=Falserelated='website_id.rma_default_user_id'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
website_form_input_filter(self, request, values)
New fields (2)
-
rma_default_team_idMany2one → rma.teamcomodel_name='rma.team'help="Default team for new RMAs created through the 'Request RMA' form."string='Default Team' -
rma_default_user_idMany2one → res.userscomodel_name='res.users'domain=[('share', '=', False)]help="Default responsible for new leads created through the 'Request RMA' form."string='Default Responsible'
No public methods.
Loading…
Loading…
Loading…