Skip to content
Health
57/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 106 months ago
  • Required by20/25
    3 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 9.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
payment_redsys, website_quote, website_sale

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 7

XML IDNameModelTypeStatus
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)HandlerAuthTypeMethodsFlags
(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.multi
    Instead of the classic form view, redirect to the online invoice for portal users.

New fields (2)
  • sale_order_id Many2one → sale.order
    string='Sale Order' args: 'sale.order'
  • so_state Selection
    related='sale_order_id.state' string='Sale Order State' args: 'sale.order'
Public methods (1)
  • form_feedback(self, data, acquirer_name)
    @api.model
    Override 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.multi
    Instead of the classic form view, redirect to the online quote for portal users that have access to a confirmed order.

Loading…