Thursday, January 2, 2025
3 changes · saas-18.1
Resolved issues and error corrections
The live chat message box now hides the attach file button when file uploads are not allowed. This prevents users from clicking a button that appears available but does nothing, reducing confusion during chats.
Original PR description
Before this PR, the attachm file button in the composer was displayed even if upload was not allowed. Clicking on this button woudln't do anything since upload is forbidden. This PR hides the upload file action is upload is not allowed. task-4433082 https://github.com/odoo/enterprise/pull/76259
The task form now avoids keeping a duplicate hidden project field that could confuse customizations. This makes task form changes more predictable for teams extending or configuring project workflows, with no expected change for everyday users.
Original PR description
Before this commit, when we do an xpath to place something around the project field in the task form view, the xpath will select the first field found and the project field is actually defined twice in the task form view, once always invisible outside the content of the form view and the other is displayed in the view. This commit removes the first project field defined in the task form view since it is not really needed to have that field in invisible since the project field is always visible and so always available in the task form view. task-4420743
This update adjusts WhatsApp tests to match the corrected composer behavior, where extra action options are hidden when unavailable. It helps ensure the file attachment button continues to work reliably for users.
Original PR description
The community counterpart of this PR hides the composer more actions button when none are availanle. This PR adapt a whatsapp test that was relying on the old behavior. task-4433082 community: https://github.com/odoo/odoo/pull/191831