Daily updates from Odoo
Thursday, December 12, 2024
9 changes · master
Enhancements to existing features
A new automated test checks that helpdesk tickets are converted to CRM opportunities or leads correctly based on a user's permissions. This helps reduce the risk of regressions in the support-to-sales handoff process.
Original PR description
This commit introduces a new test case that ensures the conversion of helpdesk tickets to opportunities in the CRM module is functioning as expected. Test Details: A new user is created, and conversion is attempted both before and after assigning the user to the relevant group (crm.group_use_lead). Assertions check for both "Convert to Opportunity" and "Convert to Lead" behavior depending on the user's group permissions. task: 4180279
The delivery pickup location tests were updated to avoid unnecessary email sending during automated checks. This keeps test runs stable and reduces maintenance effort without changing the customer-facing delivery flow.
Original PR description
Now that the salesperson is set on the cart after its confirmation, the test failed because it tried to send an email when the mail configuration was not properly configured. By relying on the standard test common from website_sale, we disable the mail sending, and can simplify the existing test setup. task-4270127
Missed call counts are now shown directly on the VoIP icon in the top bar instead of opening the softphone panel. This makes missed calls easier to notice while reducing interruptions to the user's workflow.
Original PR description
This commit will stop opening the softphone container for showing missed calls count in topbar instead the missed calls count will be shown in VoIP systray item icon badge. Task-3392951
Adds an XML export option to the German Intrastat report, helping businesses prepare the required declaration file for Germany's statistics portal. This reduces manual work and supports more consistent Intrastat reporting for German companies.
Original PR description
This commit add the export to xml button on the intrastat report for Germany. More information can be found here: - https://erhebungsportal.estatistik.de/Erhebungsportal/informationen/hilfe-zur-meldungsabgabe-3749 task-4194404
This work begins loading product expiry information into barcode-based stock operations. It should help warehouse teams handle lots and expiration dates more accurately when scanning products, though the change appears to be work in progress.
Timesheet approver information is now shown with a clearer label in tooltips, filters, and grouping options. Employees can also be grouped by their Timesheet Approver, making it easier for managers to review and organize timesheet responsibilities.
Original PR description
This commit renames the label of `timesheet_manager_id` field to have `Timesheets Approver` displayed in tooltip and custom filter/group by. It also adds a group by in `hr.employee` model to let the user to group by Timesheet Approver. task-4313650
Self-order kiosks can now process payments through connected IoT box payment devices. This makes kiosk ordering more complete for restaurants and stores by reducing manual payment handling and enabling a smoother customer checkout.
Original PR description
The self order kiosk previously didn't support payment via IoT box devices. This PR adds that functionality. task-4128846 Community PR: https://github.com/odoo/odoo/pull/190353
When payment for a subscription quotation triggers an invoice posting error, the system now records the error message on the invoice chatter. This helps internal users quickly understand configuration issues, such as invalid electronic invoicing settings, without needing backend investigation.
Original PR description
During the payment of the quotation having recurring service products, if any error occurs during the invoice posting due to an invalid edi configuration then the error message is posted in chatter of the invoice to let the internal user knows the error generated in backend. COM-PR :- https://github.com/odoo/odoo/pull/187517 task-4330659
Time-off timesheets are no longer tied to projects or tasks configured on a specific time-off type, making the feature work more reliably across multiple companies. This prevents users from unintentionally disabling timesheet generation or limiting it to the wrong company setup.
Original PR description
Before this commit: ------ By default, the current company is set on time off types. As such, the internal project of the current company is set. After this commit: -------- This commit improves the functionality related to generating timesheets within the project_timesheet_holidays module. Specifically, it removes the association of projects and tasks from the time-off type . Removed `timesheet_generate` field, as it is not used in any view. Reason: -------- if we set the company of the time off type to false, we either have: - no project -> meaning the user will disable the feature without realizing as the field is only visible in debug mode; - the internal project of the current company that remains set -> meaning the feature won't work for the other companies in which a time off request is created. task-3605962