Repository
odoo/odoo · module folder
Module version
1.0
Category
Website
Folder size
0.65 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-07 04:59:46
Authors
Maintainers
None
Committers
Olivier Dony, Christophe Simonis, Thibault Delavallée, Martin Trigaux, Odoo Translation Bot, Christophe Matthieu, Denis Ledoux, Simon Lejeune, Goffin Simon, Nicolas Martinelli, Nicolas Lempereur, Jérome Maes, Julien Legros, qdp-odoo, Jeremy Kersten, Damien Bouvy, Yannick Tivisse, Pierre Masereel
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
payment_redsys, website_quote, website_sale
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).
        

Code Analysis

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…