Daily updates from Odoo
Tuesday, May 27, 2025
13 changes · master
Enhancements to existing features
WhatsApp-related tests were adjusted to match a platform change that allows presence information to be accessed using a token. This helps keep WhatsApp messaging behavior reliable after the underlying access flow was simplified.
Original PR description
The community counterpart simplify the access to presences with a token. Whatsapp tests need to be adapted. task-4676556 community: https://github.com/odoo/odoo/pull/210762
Miscellaneous changes
Prevent scheduling a meeting activity if one already exists when linking a calendar event to an existing opportunity. Also ensures that activities are only created when necessary by checking for existing activities on the opportunity, avoiding redundant calls to `activity_schedule`. Task-4747036 Forward-Port-Of: odoo/enterprise#84766
Original PR description
Prevent scheduling a meeting activity if one already exists when linking a calendar event to an existing opportunity. Also ensures that activities are only created when necessary by checking for existing activities on the opportunity, avoiding redundant calls to `activity_schedule`. Task-4747036 Forward-Port-Of: odoo/enterprise#84766
improves the visual of the kanban card of the return journal by specifying clearer date deadlines for returns, and making the "Tax Return" button secondary if not more returns to do at the moment. task-4792156 Forward-Port-Of: odoo/enterprise#85396
Original PR description
improves the visual of the kanban card of the return journal by specifying clearer date deadlines for returns, and making the "Tax Return" button secondary if not more returns to do at the moment. task-4792156 Forward-Port-Of: odoo/enterprise#85396
This was green before this commit, matching the community badge color. Enterprise is red, which is the prettiest and most well-known color for badge, but due to being unavailable in bundle it was shown as green rather than red. Discuss public page also lacked it, which this commit fixes too. Forward-Port-Of: odoo/enterprise#86380 Forward-Port-Of: odoo/enterprise#86378
Original PR description
This was green before this commit, matching the community badge color. Enterprise is red, which is the prettiest and most well-known color for badge, but due to being unavailable in bundle it was shown as green rather than red. Discuss public page also lacked it, which this commit fixes too. Forward-Port-Of: odoo/enterprise#86380 Forward-Port-Of: odoo/enterprise#86378
## Version: 17.0+ ## Issue: No payment can be done for subscriptions with no starting day set ## Steps to reproduce: Ensure Stripe is correctly set up and runs in demo version - Create a quotation for a subscription and leave the field "Start Date” blank - Generate a payment link and try to pay it from incognito mode using Stripe ## Cause: Revealed by https://github.com/odoo/enterprise/commit/c7335a8064e584785aeb21383a87cac8e829af5d opw-4807108 Forward-Port-Of: odoo/enterprise
Original PR description
## Version: 17.0+ ## Issue: No payment can be done for subscriptions with no starting day set ## Steps to reproduce: Ensure Stripe is correctly set up and runs in demo version - Create a quotation for a subscription and leave the field "Start Date” blank - Generate a payment link and try to pay it from incognito mode using Stripe ## Cause: Revealed by https://github.com/odoo/enterprise/commit/c7335a8064e584785aeb21383a87cac8e829af5d opw-4807108 Forward-Port-Of: odoo/enterprise#86340 Forward-Port-Of: odoo/enterprise#86205
The JS unit test of the FEC parser was having a flaky build error because for reading files, the test was using `.getReader().read()` which would read only one chunk from the stream, causing incomplete files to be processed for large files. This commit makes the unit test use `response.arrayBuffer()` instead to guarantee the processing of the complete files all the time. build_error-161014 Forward-Port-Of: odoo/enterprise#86336
Original PR description
The JS unit test of the FEC parser was having a flaky build error because for reading files, the test was using `.getReader().read()` which would read only one chunk from the stream, causing incomplete files to be processed for large files. This commit makes the unit test use `response.arrayBuffer()` instead to guarantee the processing of the complete files all the time. build_error-161014 Forward-Port-Of: odoo/enterprise#86336
After the introduction of the new tax return process, `None` may now be returned as a closing entry, instead of an empty `recordset`. The SBR report may traceback if no closing entry is found. Forward-Port-Of: odoo/enterprise#86178
Original PR description
After the introduction of the new tax return process, `None` may now be returned as a closing entry, instead of an empty `recordset`. The SBR report may traceback if no closing entry is found. Forward-Port-Of: odoo/enterprise#86178
Related to https://github.com/odoo/odoo/pull/210767 Forward-Port-Of: odoo/enterprise#86247 Forward-Port-Of: odoo/enterprise#85952
Original PR description
Related to https://github.com/odoo/odoo/pull/210767 Forward-Port-Of: odoo/enterprise#86247 Forward-Port-Of: odoo/enterprise#85952
Issue ===== In `StockBarcodeKanbanRenderer` `onWillStart`, the python method `get_model_records_count` is called to fetch the number of ready picking or batch picking. The issue is this method is useless for manufacturing order but is called anywway. With this commit, this method is called only when needed. How to reproduce ================ - Install Inventory, Manufacturing and Barcode; - Inventory > Configuration > Settings > check "Batch, Wave & Cluster Transfers"; - Go in Barcode >
Original PR description
Issue ===== In `StockBarcodeKanbanRenderer` `onWillStart`, the python method `get_model_records_count` is called to fetch the number of ready picking or batch picking. The issue is this method is useless for manufacturing order but is called anywway. With this commit, this method is called only when needed. How to reproduce ================ - Install Inventory, Manufacturing and Barcode; - Inventory > Configuration > Settings > check "Batch, Wave & Cluster Transfers"; - Go in Barcode > Operations > Manufacturing: If you inspect calls, you'll see `get_model_records_count` is called. Forward-Port-Of: odoo/enterprise#85865
Sendcloud and ups_rest miss the override to allow sending the actual type of the carrier (in a recognizable way) to Amazon. opw-4771192 Forward-Port-Of: odoo/enterprise#86100 Forward-Port-Of: odoo/enterprise#84772
Original PR description
Sendcloud and ups_rest miss the override to allow sending the actual type of the carrier (in a recognizable way) to Amazon. opw-4771192 Forward-Port-Of: odoo/enterprise#86100 Forward-Port-Of: odoo/enterprise#84772
The submission date is never visible due to incorrect record access in Kanban view. used `record.date_submission.raw_value` Instead of incorrect direct usage. Forward-Port-Of: odoo/enterprise#86165
Original PR description
The submission date is never visible due to incorrect record access in Kanban view. used `record.date_submission.raw_value` Instead of incorrect direct usage. Forward-Port-Of: odoo/enterprise#86165
This enhancement introduces support for customer statements in the Indian localization of the accounting package. The update includes an automatic installation of the customer statement module, which essentially exports the partner ledger. Task link: https://www.odoo.com/web#model=project.task&id=3774149 task-3774149 Forward-Port-Of: odoo/enterprise#57781
Original PR description
This enhancement introduces support for customer statements in the Indian localization of the accounting package. The update includes an automatic installation of the customer statement module, which essentially exports the partner ledger. Task link: https://www.odoo.com/web#model=project.task&id=3774149 task-3774149 Forward-Port-Of: odoo/enterprise#57781
Single app require an additional query. Let us fix runbot, and investigate when we have time (aka: haha). Forward-Port-Of: odoo/enterprise#86277 Forward-Port-Of: odoo/enterprise#86116
Original PR description
Single app require an additional query. Let us fix runbot, and investigate when we have time (aka: haha). Forward-Port-Of: odoo/enterprise#86277 Forward-Port-Of: odoo/enterprise#86116