Daily updates from Odoo
Navigate
Branch
Thursday, April 12, 2018
4 changes
New functionality added to Odoo
Website editors can now add a product catalog snippet to pages, making it easier to showcase store products outside the standard shop layout. The new block also supports shopping features such as compare and wishlist actions, helping customers discover and evaluate products more easily.
Original PR description
Task: https://www.odoo.com/web#id=32677&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 Pad: https://pad.odoo.com/p/r.ad641f2a027aa0cde12e1907fb52a5b8
Enhancements to existing features
Website editors can now more easily add or remove columns in snippet layouts using dedicated plus and minus controls. This makes page layout adjustments faster and more intuitive for non-technical users building website content.
Original PR description
Description of the issue/feature this PR addresses: Task: https://www.odoo.com/web?#id=46094&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 Pad: https://pad.odoo.com/p/r.acd1c227e46a269cc928cf7bc94b8d75 Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update lets users group date-based records by the hour, making reports and list views more precise for time-sensitive activity. It helps teams analyze daily patterns, workloads, or transactions at an hourly level without custom workarounds.
Original PR description
Support grouping by hours.
Issue: https://github.com/odoo/odoo/issues/15400
Workaround until this PR is merged: https://github.com/it-projects-llc/misc-addons/blob/11.0/base_groupby_extra/models.py
Example of usage after this PR:
<group expand="1" string="Group By">
<filter string="Hour" context="{'group_by':'date:hour'}"/>
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prMobile shoppers can now see product categories while filters stay hidden by default to keep the product list easy to reach. A new Show Filters option lets customers open product filters when they want to narrow results, improving browsing on smaller screens.
Original PR description
[FIX] website_sale: show categories/hide filters in /shop mobile Before this commit, when the settings "eCommerce Categories" and "Product Attribute's Filters" are set, neither of them are visible in…
[FIX] website_sale: show categories/hide filters in /shop mobile
Before this commit, when the settings "eCommerce Categories" and "Product
Attribute's Filters" are set, neither of them are visible in mobile.
The expected behaviour in mobile is to display categories and hide filters.
The choice to hide filters in mobile is deliberate, and this is to avoid to
scroll too much in order to see the list of products below.
The cause of the issue is that both settings share the same DOM element
`<div id="products_grid_before">`. When the filters are activated, it hides
the DIV for very small screens.
This commit solves the issue by having two sub-elements of
`<div id="products_grid_before">`, namely `products_grid_before_categories`
and `products_grid_before_attributes`. That way, we can independently set
the visibility rules of each of these settings in the side/navbar.
Fixes [issue-id]
[IMP] website_sale: toggle visibility of product filters in /shop mobile
Before this commit, product attributes filters are hidden on small screens.
The reason of hiding them is to avoid scrolling too much before consulting
the product list below.
This commit enables attributes filters on small screens. By default, they are
not visible, but the user can click on 'Show Filters' to make them visible.
video: https://youtu.be/GlX_ad9SvIE
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr