Monday, June 8, 2020
9 changes · master
Resolved issues and error corrections
New demo databases now correctly show the intended starter messages in the General chat channel. This helps users exploring the system with demo data see example channel content as expected, while also removing an unused notification setting.
Original PR description
Before this commit, when starting a new database with demo data, the default channel `#general` had no messages initially. The demo data defines default messages in this channel, but were incorrectly linked to this channel, resulting in this channel containing no messages initially. The messages did not define `channel_ids`, so it was considered empty. This field is essential for displaying the message in channel, so by being omitted these messages are not properly linked to channels. This commit fixes the issue by correctly linked this demo messages to this demo channel, so that `#general` now contains some messages initially. This commit also removes unused context `mail_notify_noemail`. Task-Id 2186300
This update fixes automated tests for Swiss and Italian localization features after underlying accounting and bank field names changed. It helps keep these country-specific modules reliable and reduces the risk of future updates being blocked by outdated tests.
This fix corrects the create-page link shown when visitors or editors encounter a 404 page related to website posts. It helps website editors recover from missing pages more smoothly and reduces confusion when creating replacement content.
Original PR description
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 Burmese language URL code has been updated to avoid conflicting with Odoo's existing /my page. This helps ensure Burmese translations can be accessed correctly without routing issues.
Original PR description
The burmese ISO 639-1 code is "my" which conflicts with the page /my We will now use the ISO 639-3 code "mya". https://iso639-3.sil.org/code/mya -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This corrects a small typo in a color code used by the website editor. It helps ensure colors render as intended in the editing interface, with minimal impact beyond visual consistency.
Original PR description
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
This update corrects recently introduced color styling problems in the website editor and several website snippets. It ensures colors and previews appear as intended, reducing confusion when editing page designs.
This fix restores the intended backdrop color in the website editor's image crop tool after a previous compatibility change accidentally altered its appearance. Users will see the crop interface as originally designed, while the code remains compatible with older styling compilers.
Original PR description
Revert https://github.com/odoo/odoo/commit/14c8b285ef3e11cf8a8387bb211272e6456e4d42 which fixed a scss compilation error but changed the design by mistake. The 4 digits hexa was not supported in old sass compiler so we use a rgba() value instead.
This fixes a test cleanup issue that could leave temporary settings behind and cause unrelated accounting report tests to fail depending on their run order. The change improves reliability of automated checks without changing business features or user workflows.
Original PR description
The `unittest.mock.patch` context manager was started but never exited. This left some residues in the class. The problem was non deterministic, depending on the order in which the tests were run. To reproduce, one could use `--test-enable --stop-after-init --log-level=test --max-cron-threads=0 --test-tags /account_reports,/account_reports_cash_basis` If the tests of `account_reports` were run before the tests of `account_reports_cash_basis`, `self.env['account.report']` still had patched attributes like `filter_date` and `filter_comparison` when running other, completely unrelated tests.
Updated automated tests for several country-specific accounting and reporting modules so they match recent data and workflow changes. This helps keep Belgian, Colombian, and Mexican localization features reliably validated during future updates.