Daily updates from Odoo
Navigate
Branch
Wednesday, March 16, 2022
13 changes
Security fixes and vulnerability patches
Reporting menus are now available to more everyday users across Helpdesk, Field Service, Planning, and Timesheet Forecasting. Access remains protected so users only see report data they are allowed to view, reducing overexposure while improving visibility.
Original PR description
\* helpdesk, industry_fsm, planning, project_timesheet_forecast The goal of this task is therefore to let all users access the reporting menus, while making sure they can only see data available with their access right level and nothing more. - removed the 'admin' group on the reporting menu items so that 'users' can access these menus. - 'timesheets and planning analysis' menu should only show if user has access for both the planning and timesheet. - Helpdesk/User should able to access 'SLA Status Analysis' Report. - Helpdesk: user shouldn't see stats about teams or tickets which he doesn't have access in 'SLA Status Analysis' Report. - 'Field Service': user should access 'Task Analysis' report. task-2467564 Co-authored-by: Priyanka Kakadiya <pka@odoo.com> See odoo/odoo#82634
Enhancements to existing features
This update improves how communication-related features clean up after starting, reducing the risk of leftover background activity during tests and interactions. It affects several business apps that rely on messaging, documents, approvals, VoIP, invoicing, Studio, and live chat, helping make behavior more reliable across the platform.
Original PR description
community: https://github.com/odoo/odoo/pull/86523 task-2792108
This update improves how startup routines clean up after themselves across several Odoo Enterprise apps. It mainly strengthens automated tests and internal reliability, helping reduce leftover test state and prevent inconsistent behavior during development and quality checks.
Original PR description
*: account_invoice_extract, approvals, documents, documents_spreadsheet_bundle, mail_enterprise, voip, web_studio, website_helpdesk_livechat. task-2792108 community : https://github.com/odoo/odoo/pull/86526
Users can now generate timesheet entries directly from scheduled work slots, using allocated hours and the employee calendar to spread time across working days. This saves employees and managers time by turning planned shifts into editable timesheets instead of requiring manual entry from scratch.
Original PR description
The purpose of the commit is, the timesheets from the employees are pretty similar to that scheduled slot. so action to automatically convert the shifts into timesheets would help the user gain a lot of time, as the user would then only need to make small adjustments to his timesheets instead of having to encode the whole thing from scratch. So in this commit, add action to generate a timesheet from a scheduled slot based on the number of allocated hours and the % of the allocated time across the working days of the resource calendar. Task-2515308
Marketing users can now mark sent mailings as favorites and reuse them more easily as templates. The editor will surface favorite mailings first and filter available templates to better match the mailing context, helping teams create campaigns faster with more relevant content.
Original PR description
Purpose ======= Propagate changes done in community about mailint templates. Specifications ============== Add a duplicate button when the mailing has been sent (so the users can easily duplicate an existing mailing to re-use the template). Allow the user to add a mailing to the favorite. When we open the web editor for the first time, show the email bodies of the favorite mailings. When the users click on them, load the HTML like we do for the themes. Filter the mailing templates based on the model defined on the mailing, so the user will see the most appropriate templates. Task-2593231
Resolved issues and error corrections
This update adjusts internal test expectations for project scheduling so automated checks remain reliable. It helps prevent false test failures during development without changing user-facing project features.
Original PR description
This commit increases the QueryCounts of the other tests in order to prevent the same issue than in c76dff127bcf178984af371abd7b9f8d5df147e5.
Code cleanup and technical improvements
The timesheet and planning analysis report was reorganized internally so future changes can be made more easily. This reduces duplication for related modules and should make ongoing maintenance of reporting behavior simpler, without changing the report experience for users.
Original PR description
The purpose of the task is to technically refactor the timesheet and planning analysis report. So in this commit, split the query into methods so it will be easily overridden by the other modules, and no need to re-write the whole query again. task-2791087
Miscellaneous changes
Before the fix: In case of only one posted depreciation entry, if the asset is modified, a second entry at this date will be created. After the fix: We don't create another entry at the start depreciation date if the date of the last posted entry is the same. Forward-Port-Of: odoo/enterprise#25299
Original PR description
Before the fix: In case of only one posted depreciation entry, if the asset is modified, a second entry at this date will be created. After the fix: We don't create another entry at the start depreciation date if the date of the last posted entry is the same. Forward-Port-Of: odoo/enterprise#25299
PURPOSE: Allow user to create appointment type from website also if he don't have default timezone. Specification: Current: User is not able to create appointment type from website if he don't have default tz. To be: Allow him to create appointment type also if he don't have default tz. TaskId-2745881 Forward-Port-Of: odoo/enterprise#24899 Forward-Port-Of: odoo/enterprise#23968
Original PR description
PURPOSE: Allow user to create appointment type from website also if he don't have default timezone. Specification: Current: User is not able to create appointment type from website if he don't have default tz. To be: Allow him to create appointment type also if he don't have default tz. TaskId-2745881 Forward-Port-Of: odoo/enterprise#24899 Forward-Port-Of: odoo/enterprise#23968
When sending a mail for an appointment the time displayed depends on the user timezone. Indeed no timezone was specifically used for the datetime. This was leading to different time in the mail sent based on the timezone of the browser of the user that was sending it. To avoid confusion, we will now displayed the timezone of the appointment type in the mail and adapt the datetime with this timezone. We also put the appointment timezone in the context when the event is created. task
Original PR description
When sending a mail for an appointment the time displayed depends on the user timezone. Indeed no timezone was specifically used for the datetime. This was leading to different time in the mail sent based on the timezone of the browser of the user that was sending it. To avoid confusion, we will now displayed the timezone of the appointment type in the mail and adapt the datetime with this timezone. We also put the appointment timezone in the context when the event is created. task-2699765 COM PR: odoo#83163 Forward-Port-Of: odoo/enterprise#25115 Forward-Port-Of: odoo/enterprise#22599
The commit makes this template more similar to the other "pay now" emails. In particular, it * removes the company logo which is already included in the container layout * Switches from table to a div-based layout Task-2751139 See odoo/odoo#83977 Forward-Port-Of: odoo/enterprise#25154
Original PR description
The commit makes this template more similar to the other "pay now" emails. In particular, it * removes the company logo which is already included in the container layout * Switches from table to a div-based layout Task-2751139 See odoo/odoo#83977 Forward-Port-Of: odoo/enterprise#25154
Step to reproduce : - Create a pricelist with 'Show Public Price and Discount to customer' and a 20% discount. - Create a subscription with the pricelist for a product of price 100. Current behaviour : - 'Unit Price' is 80 and 0% discount on the subscription.order.line Behaviour after PR: - 'Unit Price' is 100 and 20% discount on the subscription.order.line opw-2724580 Forward-Port-Of: odoo/enterprise#24094 Forward-Port-Of: odoo/enterprise#23625
Original PR description
Step to reproduce : - Create a pricelist with 'Show Public Price and Discount to customer' and a 20% discount. - Create a subscription with the pricelist for a product of price 100. Current behaviour : - 'Unit Price' is 80 and 0% discount on the subscription.order.line Behaviour after PR: - 'Unit Price' is 100 and 20% discount on the subscription.order.line opw-2724580 Forward-Port-Of: odoo/enterprise#24094 Forward-Port-Of: odoo/enterprise#23625
Manual fixed FW of https://github.com/odoo/enterprise/pull/25022 X-original-commit: 0d432ae4c22fdb1f4dae6f5b35f8701cd1667a2b -- I confirm I have signed the CLA and read the PR guidelines at [www.odoo.com/submit-pr](http://www.odoo.com/submit-pr) Forward-Port-Of: odoo/enterprise#25028
Original PR description
Manual fixed FW of https://github.com/odoo/enterprise/pull/25022 X-original-commit: 0d432ae4c22fdb1f4dae6f5b35f8701cd1667a2b -- I confirm I have signed the CLA and read the PR guidelines at [www.odoo.com/submit-pr](http://www.odoo.com/submit-pr) Forward-Port-Of: odoo/enterprise#25028