Wednesday, January 31, 2024
4 changes · master
Resolved issues and error corrections
This fixes live chat startup so only current, active chat sessions are shown to users. When a visitor leaves a live chat, its chat window is now closed properly, preventing outdated conversations from reappearing and reducing confusion for operators.
Original PR description
Since [1], only active live chat channels are returned by the init_messaging rpc since the inactive ones are not required. This is done by passing the `is_for_livechat` key in the context. Since [2], the context is not propagated anymore thus inactive channels are returned as well. Actually, we shouldn't have to override the `_get_init_channels` method: the mail one only returns channels that have an opened chat window. Closing the live chat session should close the existing chat window as well. This PR ensures the chat windows will be closed when the visitor leaves the session so that those outdated channels are not returned by the initialization of messaging and provides a way to restrict channels by channel type when initializing messaging instead of relying on the context. [1]: https://github.com/odoo/odoo/pull/146098 [2]: https://github.com/odoo/odoo/pull/150367 enterprise: https://github.com/odoo/enterprise/pull/55490
Indian GST return reporting now uses the existing EDI production environment setting instead of a separate GST-specific setting. This reduces configuration duplication and helps ensure GST reports follow the same production/test mode as other Indian e-invoicing features.
Original PR description
Before this PR:- l10n_in_gstr_gst_production_env not needed because we already have l10n_in_edi_production_env After this PR:- Change the value coming from l10n_in_gstr_gst_production_env to l10n_in_edi_production_env. Task - 3271172
This update resolves internal validation issues affecting planning and payroll interface components. It helps keep automated checks reliable and reduces the risk of small display or test failures after recent validation changes.
Original PR description
This commit fixes props validation errors linked to the introduction of props validation in tests of https://github.com/odoo/odoo/pull/151027
The accounting test suite was updated to match a related change in how messaging data is requested. This helps keep automated checks reliable without changing day-to-day user workflows.
Original PR description
community: https://github.com/odoo/odoo/pull/151722