Wednesday, January 10, 2024
7 changes · master
Enhancements to existing features
The Settings page now shows QR codes for the iOS and Android mobile apps when viewed on desktop. This makes it easier for users to open the correct app store page on their phone without manually searching or typing links.
Original PR description
In the settings page, there are two link as images to go to the respective app stores for the mobile apps. This commit replace in desktop mode the images by qrcodes. Task ID 3642497 Result: 
Online sales orders now determine payment terms in one place instead of repeating the same logic. This reduces unnecessary processing and helps keep checkout-related order data more consistent and easier to maintain.
Original PR description
Since `sale_get_payment_term` is already called in the compute for the SO payment terms, its whole logic can be handled directly in the compute, and we do not need to call it manually anymore. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update removes an obsolete condition from the custom payment page template that was accidentally left behind after a previous change. It helps keep the payment customization code simpler and aligned with the intended behavior, with no expected visible impact for users.
Original PR description
Following commit f61b159618c690db40519a66961ce5bcc919dc64 the t t-if should have been removed in master but was forgotten. See also: - https://github.com/odoo/enterprise/pull/53723
The web charting library used by Odoo has been updated to a newer version. This helps keep chart displays current and maintainable, with no expected change to day-to-day workflows.
Original PR description
In this commit, Chart.js library is updated from 4.3.0 to 4.4.1[1]
Note:
This version of Chart.js is build from the source repo[2] because there
is only a minified prebuild umd version.
To make this build:
1. Clone the repo[2] and checkout the 4.4.1 tagged version
2. Install the build dependencies: `pnpm install`
3. Change the umd build's config at [3] by :
```js
{
input: 'src/index.umd.ts',
plugins: plugins(),
output: {
name: 'Chart',
file: 'dist/chart.umd.js',
format: 'umd',
indent: true,
banner,
sourcemap: false,
},
}
```
4. Build the lib: `pnpm run build` ; the unminified umd version is
located at `./dist/chart.umd.js`
[1]: https://github.com/chartjs/Chart.js/compare/v4.3.0...v4.4.1
[2]: https://github.com/chartjs/Chart.js
[3]: https://github.com/chartjs/Chart.js/blob/v4.4.1/rollup.config.js#L50
task-3600470This update adds automated checks for the sales order line field used in timesheet-related task workflows, helping ensure it behaves consistently. It also removes an older unused widget, reducing maintenance overhead without changing expected user workflows.
Original PR description
After this commit, tests have been implemented for so_line_field widget. Additionally, so_line_one2many widget has been removed as it is no more needed. task-3660978 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update aligns the SEPA direct debit payment page with a recent platform change by removing an outdated display condition. It helps keep the payment experience consistent and avoids template mismatches after the related core update.
Original PR description
Following commit f61b159 the t t-if should have been removed in master but was forgotten. See also: - https://github.com/odoo/odoo/pull/147657
This update adds automated checks for the sales order line selection used in timesheet-related workflows. It also removes an obsolete related widget, reducing maintenance needs while helping keep helpdesk and project task sales links reliable.
Original PR description
After this commit, tests have been implemented for so_line_field widget. Additionally, so_line_one2many widget has been removed as it is no more needed. task-3660978 related-https://github.com/odoo/odoo/pull/148176