TIP: You can type at any time to perform a new search.
Recently Viewed Products
website_sale_recently_viewed_products · OCA/e-commerce
- Repository
- OCA/e-commerce · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Website
- Folder size
- 0.01 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.monksoftware.it
- Last tracking update
- 2026-08-07 07:17:47
- Authors
- Odoo Community Association (OCA), MONK Software
- Maintainers
- Odoo Community Association (OCA), MONK Software
- Committers
- Pedro M. Baeza, Leonardo Donelli
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 |
HTTP endpoints (2)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | WebsiteSale.product |
inherited | http | ALL | |
/shop/recent |
WebsiteSale.recent |
public | http | ALL | website |
Models touched (2)
New fields (0)
No new fields.
Public methods (1)-
recently_viewed_products(self)@api.multi
New fields (3)
-
last_view_datetimeDatetimedefault=fields.Datetime.now args: 'Last view datetime' -
product_idMany2one → product.templateargs: 'product.template', 'Product' -
sessionidCharindex=True args: 'Session ID'
-
human_readable_datetime_difference(self, now=None)@api.multiReturn 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``.
Loading…
Loading…