Daily updates from Odoo
Thursday, November 28, 2024
3 changes · saas-17.2
Resolved issues and error corrections
This update refreshes Odoo's spreadsheet component to the latest 17.2 version and fixes an issue where outdated spread cell relationships could remain after calculations changed. Users should see more reliable spreadsheet behavior with fewer incorrect formula or cell reference results.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/fb1cbd8a8 [REL] 17.2.28 Task: 0 https://github.com/odoo/o-spreadsheet/commit/44b8df597 [FIX] Evaluation: Remove old spreaded cells from spread relations Task: 4342240 Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
This fixes an error that prevented customer invoices from being generated for Saudi companies when Arabic was not installed. The invoice report now uses the correct language lookup for this Odoo version, improving reliability for Saudi localization users.
Original PR description
### Steps to reproduce:
- Install 'l10n_sa' and switch to a Saudi company
- Do not have the Arabic language installed
- try to generate a Customer Invoice
- An error pops up
### Cause:
The way the language is retrieved changed in saas-17.2 from `lang='ar_001'` to `lang=o.env['res.lang']._get_code('ar_001')` The forward port of this [commit](https://github.com/odoo/odoo/commit/f1fa69f6a924a68bad4b10e6854f8caae89b43c3) from 16.0 does not adapt to the way the language is retrieved.
### Solution:
Use the new way to retrieve the language.
opw-4303367A test in the Sales Project area was corrected so it checks the intended result instead of passing accidentally. This improves confidence that future changes to project milestone forms are validated properly before release.
Original PR description
Currently, the assert function returns undefined, which is why this test case is passing. However, assert always returns undefined, regardless of whether the value satisfies the condition or not. task-4354290