Tuesday, July 26, 2022
3 changes · master
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.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