Website Portal for Sales
website_portal_sale · odoo/odoo
Merged into sale_payment in 11.0, then merged into sale in 12.0
OCA/website 8.0 → odoo/odoo 9.0–10.0
Health
57/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 106 months ago
-
Required by20/253 modules depend on it
-
Maturity12/25In 2 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
3
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.65 MB
Module directory on disk
Code analysis
2 migration notes
3 models
7 views
6 HTTP endpoints
Migration considerations
AccountInvoice— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceSaleOrder— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Add your sales document in the frontend portal. Your customers will be able to connect to their portal to see the list (and the state) of their invoices (pdf report), sales orders and quotations (web pages).
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 |
|---|---|---|---|---|
assets_frontend |
Website Portal Sale | ir.ui.view | qweb | Inherits website.assets_frontend |
orders_followup |
Sales Order | ir.ui.view | qweb | New |
portal_my_home_menu_sale |
Portal layout : sales menu entries | ir.ui.view | qweb | Inherits website_portal.portal_layout |
portal_my_home_sale |
Portal My Home : sales entries | ir.ui.view | qweb | Inherits website_portal.portal_my_home |
portal_my_invoices |
My Invoices and Payments | ir.ui.view | qweb | New |
portal_my_orders |
My Sales Orders | ir.ui.view | qweb | New |
portal_my_quotations |
My Quotations | ir.ui.view | qweb | New |
HTTP endpoints 6
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | website_account.account |
inherited | http | ALL | |
/my/orders/<int:order> |
website_account.orders_followup |
user | http | ALL | sudo website |
/my/invoices/pdf/<int:invoice_id> |
website_account.portal_get_invoice |
user | http | ALL | sudo website |
/my/invoices, /my/invoices/page/<int:page> |
website_account.portal_my_invoices |
user | http | ALL | website |
/my/orders, /my/orders/page/<int:page> |
website_account.portal_my_orders |
user | http | ALL | website |
/my/quotes, /my/quotes/page/<int:page> |
website_account.portal_my_quotes |
user | http | ALL | website |
Models touched 3
New fields (0)
No new fields.
Public methods (1)-
get_access_action(self)@api.multiInstead of the classic form view, redirect to the online invoice for portal users.
New fields (2)
-
sale_order_idMany2one → sale.orderstring='Sale Order' args: 'sale.order' -
so_stateSelectionrelated='sale_order_id.state'string='Sale Order State' args: 'sale.order'
-
form_feedback(self, data, acquirer_name)@api.modelOverride to confirm the sale order, if defined, and if the transaction is done.
New fields (0)
No new fields.
Public methods (1)-
get_access_action(self)@api.multiInstead of the classic form view, redirect to the online quote for portal users that have access to a confirmed order.
Loading…