Daily updates from Odoo
Thursday, August 25, 2022
5 changes
Resolved issues and error corrections
The Belgian payroll accounting test module now cleans up its setup data properly when it is uninstalled. This prevents reinstall failures and helps keep test environments stable.
Original PR description
Reinstalling the `test_l10n_be_hr_payroll_account` fails when calling the post init hook. The failure happens because of a constraint violation caused by data left behind after the first uninstall. As a result the registry cannot be loaded. The problem is resolved by assigning xml ids to the population data, so that the data is properly removed when uninstalling the module.
Closing a subscription could send the customer rating email twice when the closed stage had a rating template. This fix ensures the email is sent only once, avoiding duplicate customer communications.
Original PR description
Since bbee402d3d98f62f459cfa5c54465ae9600fe09d , if the closed stage contains a rating email, the email is sent twice. This is because we manually set as closed the subscription, and so the stage is written 2 times. Task-2207626
The lightbulb icon in Helpdesk settings now appears inline with its related text. This small visual fix makes the settings page look cleaner and easier to read.
Original PR description
This commit fixes the style of the lightbulb icon present in the settings. After this commit, the icon is now displayed inline with the text.
The barcode operations screen now shows its action buttons with the correct active styling. This avoids confusion for warehouse users by making available actions look clickable as intended.
Original PR description
In barcode/operations the buttons looks like disabled, because of missing type and name. https://github.com/odoo/odoo/blob/b2a0a1c7d3ba2c71502e272ff12e2c74fb95ff91/addons/web/static/src/views/view_button/view_button.js#L74-L77 Since: https://github.com/odoo/enterprise/pull/27747/files#diff-afa348e5fe6d5c58c2708f41069a1b7c3733c2c24c3dd540ab92a560d79159f8R75
The spreadsheet module now correctly declares a required dependency used during setup. This prevents isolated spreadsheet builds from failing and helps keep deployments more reliable.
Original PR description
The spreadsheet module depends on bus, but don't mark it as a dependency. As a result, single build of the spreadsheet module fails, because the `ir.websocket` module, which is defined on the bus module, can't be resolved. This commit fixes this issue by adding the required dependency in the manifest. https://runbot.odoo.com/runbot/build/18667107