Recently Viewed Products

website_sale_recently_viewed_products
REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/10.0/website_sale_recently_viewed_products
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), MONK Software
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), MONK Software
COMMITTERS
COMMITTERSPedro M. Baeza, Leonardo Donelli
WEBSITE
WEBSITEhttp://www.monksoftware.it
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - web
    - base
    - web_editor
    - web_planner
    - sale
    - sales_team
    - mail
    - base_setup
    - web_kanban
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - procurement
    - payment
    - website_payment
    - website_portal
    - website_portal_sale
    - portal_sale
    - portal
    - auth_signup
    - website_mail
    - website_form
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
assets_frontend Recently Viewed Products Assets ir.ui.view qweb Inherits website.assets_frontend
page User product history ir.ui.view qweb New
popover Viewed products popover ir.ui.view qweb New
recently_viewed_products_header Recently Viewed Products Header ir.ui.view qweb Inherits website_sale.header
table Viewed products table ir.ui.view qweb New
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • recently_viewed_products(self)
    @api.multi

New fields (3)
  • last_view_datetime Datetime
    default=fields.Datetime.now args: 'Last view datetime'
  • product_id Many2one → product.template
    args: 'product.template', 'Product'
  • sessionid Char
    index=True args: 'Session ID'
Public methods (1)
  • human_readable_datetime_difference(self, now=None)
    @api.multi
    Return an human readable form of the difference between the supplied datetime (or the current datetime if not supplied) and the history record ``last_view_datetime``.
REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/9.0/website_sale_recently_viewed_products
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), MONK Software
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), MONK Software
COMMITTERS
COMMITTERSPedro M. Baeza, Leonardo Donelli
WEBSITE
WEBSITEhttp://www.monksoftware.it
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - web
    - base
    - web_editor
    - web_planner
    - sale
    - sales_team
    - mail
    - base_setup
    - web_kanban
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - procurement
    - payment
    - website_payment
    - website_portal
    - website_portal_sale
    - website_mail
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
assets_frontend Recently Viewed Products Assets ir.ui.view qweb Inherits website.assets_frontend
page User product history ir.ui.view qweb New
popover Viewed products popover ir.ui.view qweb New
recently_viewed_products_header Recently Viewed Products Header ir.ui.view qweb Inherits website_sale.header
table Viewed products table ir.ui.view qweb New
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • recently_viewed_products(self)
    @api.multi

New fields (3)
  • last_view_datetime Datetime
    default=fields.Datetime.now args: 'Last view datetime'
  • product_id Many2one → product.template
    args: 'product.template', 'Product'
  • sessionid Char
    index=True args: 'Session ID'
Public methods (1)
  • human_readable_datetime_difference(self, now=None)
    @api.multi
    Return an human readable form of the difference between the supplied datetime (or the current datetime if not supplied) and the history record ``last_view_datetime``.
REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/8.0/website_sale_recently_viewed_products
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), MONK Software
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), MONK Software
COMMITTERS
COMMITTERSGitHub, Stéphane Bidoul (ACSONE), OCA Transbot, Leonardo Donelli, OCA-git-bot
WEBSITE
WEBSITEhttp://www.monksoftware.it
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - web
    - base
    - share
    - mail
    - base_setup
    - web_kanban
    - sale
    - sales_team
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
    - payment
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
assets_frontend Recently Viewed Products Assets ir.ui.view qweb Inherits website.assets_frontend
page User product history ir.ui.view qweb New
popover Viewed products popover ir.ui.view qweb New
recently_viewed_products_header Recently Viewed Products Header ir.ui.view qweb Inherits website_sale.header
table Viewed products table ir.ui.view qweb New
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • recently_viewed_products(self)
    @api.multi

New fields (3)
  • last_view_datetime Datetime
    default=fields.Datetime.now args: 'Last view datetime'
  • product_id Many2one → product.template
    args: 'product.template', 'Product'
  • sessionid Char
    index=True args: 'Session ID'
Public methods (1)
  • human_readable_datetime_difference(self, now=None)
    @api.multi
    Return an human readable form of the difference between the supplied datetime (or the current datetime if not supplied) and the history record ``last_view_datetime``.