Monday, May 27, 2024
37 changes
9 changes
Enhancements to existing features
The website event social feature has been updated to use standard browser technology instead of an older dependency. This helps keep the platform easier to maintain and supports Odoo's broader effort to reduce reliance on legacy frontend libraries.
Original PR description
This PR aims to refactoring all jQuery code into Vanilla JS in website_event_social, this way we will reduce the dependency of jQuery in Odoo codebase. task-3770362
The website_sale_ups module is being updated to replace older page scripting with modern browser-based code. This reduces reliance on an external library, helping keep the online sales experience easier to maintain without changing the customer-facing workflow.
Original PR description
This PR aim to convert all jQuery code into Vanilla JS in website_sale_ups, this way we will reduce the dependency of jQuery in Odoo codebase. task-3770362
Code cleanup and technical improvements
This change standardizes how self-ordering POS modules share related order data with the frontend. It supports reuse of the same frontend model structure across POS self-order, preparation display, IoT, and online payment flows, reducing future maintenance work with minimal direct user impact.
Original PR description
*:pos_online_payment_self_order_preparation_display, pos_self_order_iot, pos_self_order_preparation_display Like in `point_of_sale` we introduce related_models in `pos_self_order` to handle relation between models in the frontend. This will allow to use the same frontend models in all pos related models. Related: https://github.com/odoo/odoo/pull/164793
Miscellaneous changes
__Current behavior before commit:__ When there is an incoming call, a VoIP provider may give a session description containing an audio sender and a video sender even if the video track is empty. In such case, `track` may be `null`. Therefore the page will crash when we try to set `track.enabled`. __Description of the fix:__ Check if each track is not `null` before setting its `enabled` property. opw-3833811 Forward-Port-Of: odoo/enterprise#62980
Original PR description
__Current behavior before commit:__ When there is an incoming call, a VoIP provider may give a session description containing an audio sender and a video sender even if the video track is empty. In such case, `track` may be `null`. Therefore the page will crash when we try to set `track.enabled`. __Description of the fix:__ Check if each track is not `null` before setting its `enabled` property. opw-3833811 Forward-Port-Of: odoo/enterprise#62980
3 changes
New functionality added to Odoo
This update adds a redirect link to the documentation repository in the GitHub issue template configuration. This improvement helps users and contributors quickly access the official Odoo documentation when creating issues, enhancing the support experience and reducing confusion about where to find help resources.
This update removes outdated scheduling options from many automated background tasks across accounting, payroll, HR, helpdesk, data cleaning, and related services. It keeps scheduled jobs aligned with the latest platform behavior, reducing maintenance risk without changing day-to-day user workflows.
**Before this PR:** Table 14(a) in the GSTR-1 report was calculating incorrect entries. **After this PR:** Table 14(a) in the GSTR-1 now calculates correct entries. **Technical Reason:** Previously, the calculations were based on incorrect tax_tag_ids and subformula. Now, the calculations are made with the correct tax_tag_ids and subformula, and cess has also been added. **task**-3904018 Forward-Port-Of: odoo/enterprise#62829
Original PR description
**Before this PR:** Table 14(a) in the GSTR-1 report was calculating incorrect entries. **After this PR:** Table 14(a) in the GSTR-1 now calculates correct entries. **Technical Reason:** Previously, the calculations were based on incorrect tax_tag_ids and subformula. Now, the calculations are made with the correct tax_tag_ids and subformula, and cess has also been added. **task**-3904018 Forward-Port-Of: odoo/enterprise#62829
Steps to reproduce: 1. In the contact page for a Mexican-based contact, add a default usage 2. Start a new session in point of sale 3. Select the client with a default usage, add go to payment 4. Select invoice. The usage field shows 'Acquisition of merchandise', despit the default usage selected before Currently, the popup only takes into account the l10n_mx_edi_usage selected in the POS session or the code 'Acquisition of merchandise' if the field is undefined. The same behaviour hap
Original PR description
Steps to reproduce: 1. In the contact page for a Mexican-based contact, add a default usage 2. Start a new session in point of sale 3. Select the client with a default usage, add go to payment 4. Select invoice. The usage field shows 'Acquisition of merchandise', despit the default usage selected before Currently, the popup only takes into account the l10n_mx_edi_usage selected in the POS session or the code 'Acquisition of merchandise' if the field is undefined. The same behaviour happens if an invoice is created for a previous order. This commit adds l10n_mx_edi_usage to the partner fields to be loaded when loading the pos data. Then, the field in the popup can be filled with the default CDFI usage of the partner if it exists. Else, it behaves as before, displaying either the usage code selected in the POS session or code 'Acquisition of merchandise' if the field is undefined. task-3865331 Forward-Port-Of: odoo/enterprise#63022 Forward-Port-Of: odoo/enterprise#62261
To reproduce: Create an asset. Reevaluate, with an increase, last month. => the move of Value Increase has today's date. We decided to instead put the acquisition date of the child asset. (so it won't be the same in 16.0) opw-3922067 Forward-Port-Of: odoo/enterprise#63115 Forward-Port-Of: odoo/enterprise#63097
Original PR description
To reproduce: Create an asset. Reevaluate, with an increase, last month. => the move of Value Increase has today's date. We decided to instead put the acquisition date of the child asset. (so it won't be the same in 16.0) opw-3922067 Forward-Port-Of: odoo/enterprise#63115 Forward-Port-Of: odoo/enterprise#63097
TaskID: 3942303 Forward-Port-Of: odoo/enterprise#62956
Original PR description
TaskID: 3942303 Forward-Port-Of: odoo/enterprise#62956
Resolved issues and error corrections
A search button has been added to the WhatsApp tab in mobile view, allowing users to easily find and search for WhatsApp channels on their mobile devices. This improvement enhances the mobile user experience by providing the same search functionality that was previously only available on desktop.
Original PR description
**Current behavior before PR:** In mobile view, whatsapp tab had no search button. **Desired behavior after PR is merged:** In mobile view, added a search button to find whatsapp channel. task-id:3525542 Forward-Port-Of: odoo/enterprise#62680 Forward-Port-Of: odoo/enterprise#59530
This update corrects an incorrect placeholder in a translation string within the mail module. The fix ensures that translated messages display properly and consistently across different languages, improving the user experience for non-English users.