Daily updates from Odoo
Thursday, March 24, 2022
8 changes · master
Enhancements to existing features
The enterprise mail test module was updated to align with recent improvements in the shared mail testing framework. This reduces duplicated test setup and makes required dependencies explicit, improving reliability of internal quality checks without changing end-user behavior.
Original PR description
Update due to community changes about mail tests, see community PR for more details. Notably some calls are not necessary anymore since test_mail holds a complete base class for performance tests. Task-2673913 (TestMail: Cleanup and improve test coverage)
Invoice reports now use the standard contact display to show VAT information instead of adding it separately. This makes VAT presentation more consistent and easier to adapt for localization needs.
Original PR description
The contact widget supports displaying VAT, but it was added manually in the reports after contact. This commit is a part of community PR [83733](https://github.com/odoo/odoo/pull/83733) to make enterprise localization addons compatible
The dashboard graph view was adjusted to stay visually consistent after related graph view changes. These updates improve chart layout stability and refine Enterprise styling for labels and popovers.
Original PR description
Mirror changes in community and apply the necessary adaptations. Requires: - https://github.com/odoo/odoo/pull/83132 task-2740030
Code cleanup and technical improvements
This update simplifies the styling of the messaging panel container as part of a broader interface cleanup. It helps keep the application easier to maintain while preserving the existing user experience.
Original PR description
Part of the overall v16 SCSS optimization/restyle, task-2704984 Requires: - https://github.com/odoo/odoo/pull/86331 task-2781992
Miscellaneous changes
If applied, this commit will fix the following bug by using user timezone instead of utc timezone when loading the helpdesk dashboard. Steps to reproduce: 1- change local timezone to anything other than utc (utc+4 for example) 2- now there is a difference of 4 hours between when your day ends and utc day ends. tickets that are closed before utc day ends will be counted in the previous day although your day didn't end yet Bug: the ```today()``` is tz agnostic Fix: use ```con
Original PR description
If applied, this commit will fix the following bug by using user timezone instead of utc timezone when loading the helpdesk dashboard. Steps to reproduce: 1- change local timezone to anything other than utc (utc+4 for example) 2- now there is a difference of 4 hours between when your day ends and utc day ends. tickets that are closed before utc day ends will be counted in the previous day although your day didn't end yet Bug: the ```today()``` is tz agnostic Fix: use ```context_today()``` which takes into account user tz OPW-2784578 Forward-Port-Of: odoo/enterprise#25496
Prior to this commit, `test_timesheet_grid_filter_equal_string` was failing in master since 24th of march 22. This is due to the generation of a global holiday in the demo data. This commit changes the date that is freezegun in the past preventing the demo data to be generated at that time. Forward-Port-Of: odoo/enterprise#25535
Original PR description
Prior to this commit, `test_timesheet_grid_filter_equal_string` was failing in master since 24th of march 22. This is due to the generation of a global holiday in the demo data. This commit changes the date that is freezegun in the past preventing the demo data to be generated at that time. Forward-Port-Of: odoo/enterprise#25535
### Current behavior Uploaded push image isn't public by default which means that guests will have a placeholder instead of the uploaded image ### Expected behavior Push notification's image should be public by default as it's also intended for guests ### Steps - Install Social Marketing and Social Push Notifications - Go to Social Marketing > Posts - Create a new one and upload an image under "Push Notification Options" section - Try to access the image while disconnected (e.g. http
Original PR description
### Current behavior Uploaded push image isn't public by default which means that guests will have a placeholder instead of the uploaded image ### Expected behavior Push notification's image should be public by default as it's also intended for guests ### Steps - Install Social Marketing and Social Push Notifications - Go to Social Marketing > Posts - Create a new one and upload an image under "Push Notification Options" section - Try to access the image while disconnected (e.g. http://odooURL/web/image/social.post/`socialPostID`/push_notification_image) OPW-2712604 Forward-Port-Of: odoo/enterprise#25483 Forward-Port-Of: odoo/enterprise#23433
Adding support for EC Sales report called "Periodisk sammanställning" in Swedish to l10n_se_reports. Export function for KVR-files is also added for easy import on the tax authority webpage. Forward-Port-Of: odoo/enterprise#24087
Original PR description
Adding support for EC Sales report called "Periodisk sammanställning" in Swedish to l10n_se_reports. Export function for KVR-files is also added for easy import on the tax authority webpage. Forward-Port-Of: odoo/enterprise#24087