Tuesday, July 23, 2024
27 changes
1 change
Miscellaneous changes
Previously, creating a new spreadsheet triggered two notifications: one shown manually using the notification service and another from the action response. This PR fixes the issue by removing the notification displayed via the notification service. Since PR [1], calling `action_open_new_spreadsheet` sends a notification in the response with all the necessary data. Therefore, we don't have to manually display the notification using the notification service. [1] https://github.com/odoo/en
Original PR description
Previously, creating a new spreadsheet triggered two notifications: one shown manually using the notification service and another from the action response. This PR fixes the issue by removing the notification displayed via the notification service. Since PR [1], calling `action_open_new_spreadsheet` sends a notification in the response with all the necessary data. Therefore, we don't have to manually display the notification using the notification service. [1] https://github.com/odoo/enterprise/pull/65397 Task: 4039997 Forward-Port-Of: odoo/enterprise#66922
1 change
Resolved issues and error corrections
This update adjusts how the Kenya EDI system logs messages when no company information is found during routine scheduled tasks. Instead of flagging these occurrences as errors, they are now logged as warnings, which better reflects that this is a normal operational situation rather than a system problem. This reduces unnecessary alert notifications and helps teams focus on actual issues.
Original PR description
Currently, log level error message occur when no company is found during scheduled actions run at line [1]. This commit changes 'logger.error' to 'logger.warning' to log a message instead of an error since this is not an actual error in the code base. [1]-https://github.com/odoo/enterprise/blob/ddc81ed35a6738739647db868c13236673695cff/l10n_ke_edi_oscu/models/res_company.py#L437-L438 sentry-5608113473