Daily updates from Odoo
Navigate
Branch
Tuesday, July 26, 2022
6 changes
Enhancements to existing features
Spreadsheet date filters can now default to the current period, such as the current year, quarter, or month, instead of staying fixed on a previously selected date. This makes spreadsheet reports more reliable over time and reduces manual updates for users working with recurring reports.
Original PR description
Since task 2800957, the defaults of the year date filter do not make sense anymore (i.e. selecting "2022" will always filter on year 2022, not the current year). The purpose of this task is to replace the date filter default value selection by a checkbox to automatically set the default value to the current period (current year/quarter/month depending on the rangeType). Odoo task 2900848
Subscription customers will only see payment methods that can handle the amount they need to pay. This reduces failed or unsuitable payment attempts, especially for payment providers with minimum or maximum transaction limits.
Original PR description
Task - 2162165 See also: - https://github.com/odoo/odoo/pull/82411 - https://github.com/odoo/documentation/pull/1835 - https://github.com/odoo/upgrade/pull/3703
Resolved issues and error corrections
The Swedish sales report now determines reporting periods without depending on the server's language settings. This prevents incorrect month or quarter detection when Odoo runs in non-English environments, improving reliability for international deployments.
Original PR description
By using strptime('Dec', '%b') we are relying on the locale of odoo being LANG='en_US-UTF-8', while we have better ways to determine the month in the filter options. Same goes for the quarter information part of the filter, which is not the same i.e. in China.Features or functions removed from Odoo
The Website Sales dashboard no longer includes the embedded Google Analytics dashboard because Google Analytics 4 can no longer be embedded this way. This prevents users from relying on a broken or unsupported analytics view in Odoo settings.
Original PR description
Master PRs: Community: https://github.com/odoo/odoo/pull/96280 Enterprise: https://github.com/odoo/enterprise/pull/29666 Documentation: https://github.com/odoo/documentation/pull/2499 Upgrade: https://github.com/odoo/upgrade/pull/3698 --------------- See community PR, GA4 can't be embed anymore.
Miscellaneous changes
… a variable Forward-Port-Of: odoo/enterprise#28591
Original PR description
… a variable Forward-Port-Of: odoo/enterprise#28591
use explicit arguments to avoid any further confusion that happened in the previous attempts to fix the definition See https://github.com/odoo/enterprise/commit/06f6a4abc0a838a65f424790cc6a7ec8ff14a03c See https://github.com/odoo/enterprise/commit/4ae7119e05a1ebf2c10aa7ca9205c1b547f98061 Forward-Port-Of: odoo/enterprise#29645
Original PR description
use explicit arguments to avoid any further confusion that happened in the previous attempts to fix the definition See https://github.com/odoo/enterprise/commit/06f6a4abc0a838a65f424790cc6a7ec8ff14a03c See https://github.com/odoo/enterprise/commit/4ae7119e05a1ebf2c10aa7ca9205c1b547f98061 Forward-Port-Of: odoo/enterprise#29645