Friday, September 13, 2024
10 changes · 17.0
Resolved issues and error corrections
Fixed a visual issue where the small arrow for dashboard filters appeared on a separate line when hovering over a filter. This keeps the dashboard controls aligned and easier to use without changing any business workflow.
Original PR description
This commit fixes the record selector's caret positioning (displayed on hover only) by moving to be a sibling of the autocomplete's input. Steps to reproduce: - install Sales - open Dashboard - hover one of the filter in the ControlPanel => the filter's caret is displayed but on a separate line Enterprise: https://github.com/odoo/enterprise/pull/69944 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update reorders how information appears on Swiss payslips to improve readability and visual presentation. The gross salary amount now displays before deductions, making it easier for employees to understand their earnings at a glance.
Original PR description
Gross should come before deductions for aesthetic purposes on the payslip
This update corrects the visual appearance of the dropdown arrow (caret) in the Account Reports dashboard filters when users hover over them. The styling was adjusted to match improvements made to similar dropdown elements across the system, ensuring a consistent and polished user experience.
Original PR description
This commit adapts the Account reports's filters styling, following the fix of the record selector's caret positioning made in community. Community: https://github.com/odoo/odoo/pull/180046
Miscellaneous changes
Do not use the purchase description in dropshipping pickings Example use case: - Create a dropshipping product and set a purchase description - Create a sales order with the product and confirm - Purchase order will have the purchase description - Confirm the purchase order - Go to dropshipping picking - Print Delivery slip Current behavior: - Product name and purchase description is displayed Expected behavior: - Purchase description should not be displayed @Tecnativa TT5067
Original PR description
Do not use the purchase description in dropshipping pickings Example use case: - Create a dropshipping product and set a purchase description - Create a sales order with the product and confirm - Purchase order will have the purchase description - Confirm the purchase order - Go to dropshipping picking - Print Delivery slip Current behavior: - Product name and purchase description is displayed Expected behavior: - Purchase description should not be displayed @Tecnativa TT50677 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#179104
Current behavior before PR: When creating a table in email marketing using the powerbox command `/table`, the table picker would open at an incorrect position. Desired behavior after PR is merged: Now, when using the `/table` powerbox command to create a table in email marketing, the table picker will open at the cursor position. task-4113199 Forward-Port-Of: odoo/odoo#176712
Original PR description
Current behavior before PR: When creating a table in email marketing using the powerbox command `/table`, the table picker would open at an incorrect position. Desired behavior after PR is merged: Now, when using the `/table` powerbox command to create a table in email marketing, the table picker will open at the cursor position. task-4113199 Forward-Port-Of: odoo/odoo#176712
Steps --- * create a set-up with 2 companies using different currencies. eg: * company 1: usd * company 2: eur * from the company 2: set a conversion rate from eur to usd in *Currencies* * from company 1: create a based on rules shipping method (with prices in usd) * from company 2: * create an SO for some products * add the shipping method * => the price in dollars is used unconverted as the price in eur Cause --- when we have a base_on_rule delivery without a speci
Original PR description
Steps --- * create a set-up with 2 companies using different currencies. eg: * company 1: usd * company 2: eur * from the company 2: set a conversion rate from eur to usd in *Currencies* * from company 1: create a based on rules shipping method (with prices in usd) * from company 2: * create an SO for some products * add the shipping method * => the price in dollars is used unconverted as the price in eur Cause --- when we have a base_on_rule delivery without a specified company, we convert prices as if the price was in the current company's currency. Fix --- Consider the price to be in the main company's currency instead opw-4105047 Forward-Port-Of: odoo/odoo#177932
Steps to reproduce: Create 2 products with a product tag (ex. '3+1') Create Buy X Get Y reward. In the conditional rules choose: - in the 'among' section the product tag '3+1', - in the 'grant' 1 point per unit paid In the rewards choose: - reward type as 'Free product' - in exchage of 3 points - in the 'among' section the product tag '3+1' Go to /shop page and add 3 products with the tag '3+1' Try to click on the button 'Free product'
Original PR description
Steps to reproduce:
Create 2 products with a product tag (ex. '3+1')
Create Buy X Get Y reward.
In the conditional rules choose:
- in the 'among' section the product tag '3+1',
- in the 'grant' 1 point per unit paid
In the rewards choose:
- reward type as 'Free product'
- in exchage of 3 points
- in the 'among' section the product tag '3+1'
Go to /shop page and add 3 products with the tag '3+1'
Try to click on the button 'Free product'
The reward is not applied
Reason:
In the claim_reward function a reward is not applied if it is a multi_product one.
Fix:
added a dropdown on template that will allow user to select product. the selected product will be sent to backend and processed in claim_reward function
Task : 3774033
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#164868- website.snippet documentation Description of the issue/feature this PR addresses: There are some website snippet documentation typos Current behavior before PR: The documentation with some typos Desired behavior after PR is merged: The documentation without any typos --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#180058
Original PR description
- website.snippet documentation Description of the issue/feature this PR addresses: There are some website snippet documentation typos Current behavior before PR: The documentation with some typos Desired behavior after PR is merged: The documentation without any typos --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#180058
Before this fix, plugging into `_reloadAfterButtonClick` was prone to race conditions as the inner promise wasn't returned. Now we can safely do it as: ```js _reloadAfterButtonClick() { const def = this._super(...arguments); return def.then(()=> { // Do stuff after main function }); } ``` cc @Tecnativa TT47136 cc @CarlosRoca13 @sergio-teruel --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#164579 For
Original PR description
Before this fix, plugging into `_reloadAfterButtonClick` was prone to race conditions as the inner promise wasn't returned. Now we can safely do it as:
```js
_reloadAfterButtonClick() {
const def = this._super(...arguments);
return def.then(()=> { // Do stuff after main function });
}
```
cc @Tecnativa TT47136
cc @CarlosRoca13 @sergio-teruel
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#164579
Forward-Port-Of: odoo/odoo#161042Issue: ====== Duplicate attachmenets are loaded in chatter. Steps to reproduce the issue: ============================= - Go to massmailing, create a new email with a template with images. - Replace the image by uploading a new one, save. - The second and onward uploaded images have two attachments in the tab->chat->attachment. Origin of the issue: ==================== In web_editor, optimized versions of the images are created. In the chatter we load all attachments, original
Original PR description
Issue: ====== Duplicate attachmenets are loaded in chatter. Steps to reproduce the issue: ============================= - Go to massmailing, create a new email with a template with images. - Replace…
Issue: ====== Duplicate attachmenets are loaded in chatter. Steps to reproduce the issue: ============================= - Go to massmailing, create a new email with a template with images. - Replace the image by uploading a new one, save. - The second and onward uploaded images have two attachments in the tab->chat->attachment. Origin of the issue: ==================== In web_editor, optimized versions of the images are created. In the chatter we load all attachments, original and optimized ones which looks like we have duplicates. For .svg images, we create duplicate .png versions in python side. Spec for Images created from mass_mailing: =========================================== - For SVG images we show only the png version. - For non SVG images we show the original version. Solution: ========= - For SVG images: If the image doesn't have .png version which means added directly in the chatter/attach we show it otherwise we show the .png version. - For non SVG images: We always show the image which doesn't have original_id or their original_id image isn't in the list of attachment. task-3639914 opw-3589477 Forward-Port-Of: odoo/odoo#169176