Daily updates from Odoo
Tuesday, September 6, 2022
8 changes · master
Enhancements to existing features
Project-related screens now make key actions and warnings clearer for users. Negative remaining sales order hours are highlighted in red, and task document uploads include clearer guidance so users know they can upload or drag files there.
Original PR description
_* = helpdesk_sale_timesheet Purpose of this commit to improve generic usage of project app. So in this commit done following changes: - display the 'remaining hours on SO' value in red if it is negative - add the following helper: "Upload a file or drag it here" for task documents stat button task-2899490
Resolved issues and error corrections
The VOIP module now shows a more accurate message when it cannot be used over an unsecured HTTP connection. This helps users and administrators understand the real setup issue instead of being incorrectly told their browser lacks WebRTC support.
Original PR description
**Error messages in VOIP module are misleading** Impacted versions: - 13.0 - 14.0 - master Steps to reproduce: 1. Connect to an Odoo instance via HTTP (not HTTPS) 2. Setup an Asterisk server connection 3. Setup VOIP user settings 3. Open the VOIP dialog (telephone icon) Current behavior: - Error message saying, that the browser does not support WebRTC Expected behavior: - Error message, that the VOIP module is not usable when connection via HTTP
This fix prevents images in Documents Spreadsheet from disappearing because their size was incorrectly set to zero. Images now use the proper dimensions, improving reliability when viewing document spreadsheet content.
Original PR description
This commit fixes the size of image, which was wrongly set with a 0 value to simply leave an auto size. Now, ImageField gives the sizes to the image, and using 0 would make the image disappear instead of ignoring the option.
Code cleanup and technical improvements
This update aligns SEPA Direct Debit payments with recent payment system changes, helping keep payment processing compatible and reliable. It also adjusts related tests so rental checkout checks no longer depend on a specific transfer payment setup.
Original PR description
See also: - https://github.com/odoo/odoo/pull/97047 - https://github.com/odoo/upgrade/pull/3832
The appointment and knowledge areas were updated to work with a newer editor insertion behavior. This keeps content editing consistent and reduces the risk of disruption as the editor evolves.
The settings screen no longer relies on an old workaround for swipe interactions on smaller screens. This keeps the interface behavior the same for users while simplifying the underlying code now that the platform supports it directly.
Original PR description
This commit removes the isActive props, used as a workaround because Owl didn't supported multiple occurence of the same slot in different locations. Since odoo/odoo#99491, the issue has been fixed and the component no longer require this props to let the settings only activate the swiper on smaller screens.
Miscellaneous changes
Steps to reproduce: - Set up Marc Demo to have only "Project: User" rights (nothing else, especially not FSM or Timesheet rights) - As Mitchell Admin, create a next activity on a FSM task for Marc Demo - As Marc Demo, go to your next activities for tasks and click on the task where admin has assigned you an activity. Issue: allow_timesheets is in the domain of a button: https://github.com/odoo/enterprise/blob/9d214d01979bd34c730283b7120d9ac178584c12/industry_fsm/views/project_task_v
Original PR description
Steps to reproduce: - Set up Marc Demo to have only "Project: User" rights (nothing else, especially not FSM or Timesheet rights) - As Mitchell Admin, create a next activity on a FSM task for Marc Demo - As Marc Demo, go to your next activities for tasks and click on the task where admin has assigned you an activity. Issue: allow_timesheets is in the domain of a button: https://github.com/odoo/enterprise/blob/9d214d01979bd34c730283b7120d9ac178584c12/industry_fsm/views/project_task_views.xml#L56 but is not fetch. opw-2961013 Forward-Port-Of: odoo/enterprise#31044 Forward-Port-Of: odoo/enterprise#30848
The sale_coupon module is removed from enterprise repo, but this file remained orphan here.
Original PR description
The sale_coupon module is removed from enterprise repo, but this file remained orphan here.