Daily updates from Odoo
Tuesday, July 26, 2022
1 change
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.