Wednesday, January 15, 2025
3 changes · 17.0
Resolved issues and error corrections
Inventory count sheets no longer show placeholder text when report data is missing. This prevents confusing dummy content from appearing on real stock reports and keeps printed counts clearer for users.
Original PR description
Since commit 567b8d676b3b6dc747df4d9bf10e7a91b4cb61bb It used to insert a placeholder when the data is not there but we won't on real report Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The media dialog now correctly respects settings that hide video options, even when video commands are otherwise allowed. This prevents the video tab from appearing in reports or other contexts where videos were intentionally disabled.
Original PR description
After merging of this PR [1], video tab will not be visible in media dialog in report as `allowCommandVideo` is false. But this will override `noVideos` option from `params` to false if `allowCommandVideo` is true and video tab will be visible even if `noVideos` is `true`. This PR makes sure that `noVideos` property from `params` should be checked if `allowCommandVideo` is true. [1]: 187251 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures the sale subscription test module can be uninstalled cleanly during upgrade processes. It adds proper tracking identifiers to temporary subscription orders and invoices so related test records can be removed without blocking the upgrade.
Original PR description
The uninstallation of this test module, which is a standard step during upgrades, requires the removal of the test product `product_fire_insurance`. This product is referenced by sale orders and invoices and deferred invoices created dynamically and have no xmlids, blocking the removal of the record. This commits adds the xmlids to the dynamically created orders and moves so they can be removed as well during the module uninstallation. The target sale orders are those created via 'copy' and when doing upsell and renew for subscriptions. The target moves are the regular invoices for the sale orders and their deferred moves.