Wednesday, September 11, 2024
3 changes · 17.0
Resolved issues and error corrections
This fixes a configuration migration issue for hardware drivers so it looks for the intended old configuration file before moving settings into the newer odoo.conf file. It helps avoid missed settings during upgrades or migrations, reducing manual follow-up for affected installations.
Original PR description
The migration method from old config files to the new `odoo.conf` searched for a file named `subject` instead of `odoo-subject.conf`.
The donation snippet now reuses currency information while it is active instead of requesting it again after every text change. This reduces unnecessary background work and prevents visible page jumps while editing donation content.
Original PR description
Since 17.0 and [renderToElement], the snippet is rerendered (and thus starts anew) on every key input in the descriptions options. The donation's publicWidget fetches the currency to display every time on start, meaning that it does a query on every key press. This also triggers jumps on the screen. To avoid both issues, this commit caches the currency for the duration of the publicWidget life. [renderToElement]: f956e83c744bd9c970d3f16ce1cb3cff8bba2f6b task-4032975
This change prevents an error when the Kenyan OSCU stock integration handles an empty purchase order. It improves reliability in purchase-related workflows and avoids failures in automated checks for new records.
Original PR description
Issue found when following [tests](https://runbot.odoo.com/runbot/build/65284466) broke When purchase.order was empty, _Compute_display_name was still trying to compute display name of purchase.order.lines, and this was causing error in test_display_name_new_record test. This pr fixes the issue.