Daily updates from Odoo
Wednesday, September 25, 2024
3 changes · master
Resolved issues and error corrections
WhatsApp conversations in Discuss now reactivate as soon as a new message arrives from a WhatsApp contact. This prevents teams from missing the first incoming message on previously deactivated channels and keeps customer follow-up timely.
Original PR description
This commit [1] introduces a bug where WA channel doesn't get re-activated after first new message from WA Partner. Steps to reproduce: 1. Keep a de-activated channel open in Discuss. 2. Send a message from WA Partner. 3. Channel doesn't get activated. 4. Send another message. 5. Channel gets activated. This commit fixes the issue. [1]: 4eafd01620b48cd79c4fd319237003d8d39cb217
Budget committed amounts now stay accurate when a purchase order has a draft vendor bill. Draft bills no longer reduce the committed amount until they are posted, preventing budgets from appearing under-committed too early.
Original PR description
When calculating the commited amount of a budget, if a draft bill is available for a PO, the commited amount will be 0. This is due to the fact that qty_invoiced is set even when the bill is not posted. To ensure that the commited amount stays consistent, we will only take into account the qty_invoiced when the related bill is posted.
Odoo Studio now preserves compatibility for older Kanban views after a template naming change. This prevents legacy Kanban menus from breaking, helping users continue editing and using existing views reliably.
Original PR description
Commit [1] renamed `kanban-card` and `kanban-menu` template names into `card` and `menu`. This was meant to be done on kanban views using the new API (i.e. defining a `kanban-card` template instead of `kanban-box`), to keep backward compatibility. However, the renaming for the menu impacted both old and new API kanban views (as they both share the same template name), thus breaking legacy ones. This commit fixes the issue. [1] odoo/odoo@233f03da5ae9c269618e6e28c775a123c0afca79