Tuesday, November 5, 2024
5 changes · 17.0
Enhancements to existing features
This update allows users to directly play voice messages attached to conversations within the WhatsApp channel in Odoo. Previously, users could only view these voice messages. This enhancement improves communication and collaboration within the WhatsApp channel.
Original PR description
This commit adds voice information to attachments while creating attachments received from meta side. This will let the users play voice messages directly from the discuss channel. Task-3839838
Users can now play voice messages directly within the Odoo discuss channel when receiving them through WhatsApp. This improvement enhances the messaging experience by allowing instant playback of audio messages without needing to download or open them separately.
Original PR description
This commit adds voice information to the attachments while creating attachments received for the meta side. This will let the users play voice messages directly from the discuss channel. Task-3839838
Resolved issues and error corrections
This update fixes an issue where renewed subscriptions were incorrectly forecasting stock decreases. Now, the stock forecast accurately reflects only the new subscription created during the renewal process, ensuring more precise inventory management. This change improves forecast accuracy and reduces potential overstocking.
Original PR description
Steps to reproduce: - New product > Storable; Recurring; Edit 'On Hand Quantity' to 10 - New subscription > Add your product > Confirm - Create Invoice > Confirm > Back to sub - View forecast on order line > 1 reserved; 1 forecasted for next period (This is correct, the subscription is ongoing) - Renew > Confirm > View forecast - 1 reserved for original sub (OK); 2 forecasted for next period This is wrong because renewed subscriptions should no longer have recurring invoices, meaning there is no reason to forecast a stock decrease for them. i.e here it should only forecast 1 unit for the next period corresponding to our new subscription (Created by renew). Prior to 17.0 a storable product cannot also be recurring, so this issue is irrelevant there. opw-4239989
This update resolves a confusing issue in the Odoo Web Studio where users weren't correctly controlling the visibility of certain fields based on group membership. Previously, toggling a group visibility setting had no effect. Now, the system properly handles 'not' group attributes, ensuring accurate field visibility and a consistent user experience.
Original PR description
Have a node that goes: ```xml <div groups="!module.some_group" /> ``` Before this commit, this case was not handled and that not-group was just ignored. This created confusion as the node, when the user was part of the group, would be invisible, the checkbox invisible would be ticked, and uniticking it had no effect. After this commit, we handle the case, with a second selector in the studio sidebar. opw-4273853
This update fixes an issue where rental order descriptions didn't automatically update when the rental start and end dates were changed in the cart. The system now recomputes the description after date modifications, ensuring accurate order details are displayed to the customer. This improves the user experience for rental orders.
Original PR description
Problem: When rental dates are changed in the cart, the update occurs via an API call, which doesn't trigger the `_onchange_rental_start_date` and `_onchange_rental_return_date` methods. Additionally, we cannot add `rental_return_date` and `rental_start_date` as dependencies for `_compute_name` as outlined in this [commit](https://github.com/odoo/enterprise/commit/de5f3c7521d839e7549f5d44c7832e610fad7f29). Solution: Recompute the description after changing the dates in `_cart_update_renting_period` Steps to reproduce: - Add any rental product to the cart. - On the cart page, modify the rental start and end dates. - The order description does not update to reflect the new dates. opw-4259443