Monday, November 15, 2021
4 changes · master
Resolved issues and error corrections
The eCommerce search bar now handles products assigned to more than one public category without crashing. Category labels are shown correctly as separate links and are no longer incorrectly treated as searchable product text, improving the shopping search experience.
Original PR description
This commit fixes an issue when there are several public categories on a single product. Categories are shown side-by-side under product name in the search bar. This commit also fixes the issue where…
This commit fixes an issue when there are several public categories on
a single product. Categories are shown side-by-side under product name
in the search bar.
This commit also fixes the issue where the `Category:X` text is matched
and highlighted whereas the search test is not used to match the product
categories.
Steps to reproduce :
- Install eCommerce
- Add several eCommerce Categories to a product
- Go to shop
- Search for the product in the searchbar
- Traceback
Current Behavior :
- Traceback when generating the results in the quick search bar.
It's not expected to have several categories in the current
implementation.
- If all products have a unique category, then the text in
`Category:X` is matched and highlighted.
Desired Behavior :
- No traceback
- When there are multiple categories, an extra link should be
present on each category rather than a unique link on all
categories.
- The product categories don't have to be matched.
Related PR: #79258
task-2680726
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update removes an unused styling marker from the company switching menu. It has no expected impact on user workflows, but keeps the web interface code cleaner and easier to maintain.
Original PR description
Description of the issue/feature this PR addresses: 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 fix stops users from creating time off allocations for leave types that do not require allocation. It helps keep HR records consistent and prevents unnecessary or incorrect allocation entries.
Original PR description
User should not be able to create allocations for Time Off Types that does not
requires allocation ('requires_allocation' is not 'yes').
task - 2658250
Description of the issue/feature this PR addresses:
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-prThis update removes an unused styling marker from the mobile company switcher menu. It is a small cleanup that helps keep the web interface code simpler without changing how users interact with the system.