Wednesday, January 24, 2024
4 changes · saas-17.1
Resolved issues and error corrections
Fixed a problem that could make the QWeb profiling tool fail after an update to the embedded code editor. This improves reliability for developers and support teams using profiling tools, without changing normal business workflows.
Original PR description
Note: I'm not sure it's the right fix yet, gonna need some testing with multi builds. Sometimes, the runbot would fail on the line `this.aceEditor.renderer.$cursorLayer.element.style.display = "none";` saying that style is undefined. It might be happening cause aceEditor haven't fully loaded yet. So now, the line is executed after the aceEditor callback "afterRender" to ensure everything should be there. Runbot issue: https://runbot.odoo.com/web#id=55085&view_type=form&model=runbot.build.error&menu_id=405&cids=1
Excel exports from accounting reports now keep automatic row height while still adjusting column widths. This avoids overly wrapped text and makes exported spreadsheets easier to read without disrupting the automatic formatting.
Original PR description
XLSX are now formatted automatically, both in width and height. We were applying text_wrap by default on them, but it may be too much for automatic formatting. To ensure that we won't impact negatively the result, it was decided to revert that and limit ourselves to handle the col width and to not tough the row height. Task id # 3679470
The Documents list now properly hides the embedded PDF indicator when it should not be shown. This prevents an unnecessary internal field from appearing to users and keeps the document view cleaner.
Original PR description
Fix the has_embedded_pdf field which was wrongly displayed in the documents tree view. The "invisible" attribute isn't working in a tree view, using the "column_invisible" one instead. Task-3693604
Subscription plans can no longer be saved with a recurring value of zero or less. This prevents nonsensical billing schedules and helps keep subscription data consistent for renewals and invoicing.
Original PR description
The issue: Having a subscription with a recurring plan set to 0 does not make sense anymore The fix: the value should be a positive numeric value Upgrade PR: https://github.com/odoo/upgrade/pull/5421