Stock Available In Portal
stock_available_portal · OCA/stock-logistics-warehouse
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 44 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.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.06 MB
Module directory on disk
Code analysis
0 migration notes
2 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 |
|---|---|---|---|---|
portal_my_home_menu_product |
Portal layout : product menu entries | ir.ui.view | qweb | Inherits portal.portal_breadcrumbs |
portal_my_home_product |
My Products | ir.ui.view | qweb | Inherits portal.portal_my_home |
portal_my_product |
My Product | ir.ui.view | qweb | New |
portal_my_products |
My Products | ir.ui.view | qweb | New |
view_stock_configuration |
res.config.settings.stock.available.portal | res.config.settings | Inherits stock_available.view_stock_configuration |
HTTP endpoints 2
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/my/products, /my/products/page/<int:page> |
PortalProduct.portal_my_products |
user | http | ALL | website |
/my/products/<int:product_id> |
PortalProduct.portal_product_page |
user | http | ALL | website |
Models touched 2
New fields (0)
No new fields.
Public methods (3)-
check_product_portal_access(self)@api.modelCheck access to portal products for user -
get_config_domain(self, key)@api.modelGet domain using config key -
get_portal_products(self, filter_domain, **kwargs)@api.modelGet portal products
New fields (2)
-
portal_visible_products_domainCharconfig_parameter='stock_available_portal.portal_visible_products_domain'help='Domain which defines which products can be visible on portal. By default all products.'string='Portal Visible Products' -
portal_visible_usersCharconfig_parameter='stock_available_portal.portal_visible_users'help='Domain which defines which users can see products. By default all users.'string='Visible to Users'
No public methods.