Daily updates from Odoo
Wednesday, June 11, 2025
5 changes · 18.0
New functionality added to Odoo
Adds missing Jordan JoFotara e-invoicing capabilities, including support for more invoice types, payment methods, demo mode, and reporting invoices in their original currency. This helps Jordan-based businesses comply with local e-invoicing requirements more accurately and test configurations before going live.
Original PR description
This new module adds necessary features to support JoFotara properly with the following features: 1. Support for different invoice types and payment methods 2. Demo mode These features were added in a new module in stable, but will be merged with the main module in master. The commit also adds support for reporting invoices in their currency. task-4534862 task-4656902
Resolved issues and error corrections
When a user removes a file or image from a mail attachment list, the editor now also removes the matching reference from the message content. This prevents recipients and users from seeing broken links or missing images caused by deleted attachments.
Original PR description
Description of the issue this PR addresses: Current behavior before PR: Attachments like files and images removed from the mail attachment list were still present in the editor, resulting in broken links and 404 errors. Desired behavior after PR is merged: Removing an attachment from the list also removes its reference from the editor. task-4794954 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Leave requests for employees on flexible schedules now correctly exclude applicable public holidays, even when those holidays are not tied to a specific working calendar. This prevents employees from being charged extra leave days when a company public holiday falls during their time off.
Original PR description
<b>Steps to reproduce:</b> 1) Create a flexible working schedule 2) Assign this working schedule to one of the employees 3) Create a public holiday with no calendar 4) Create a leave for the flexible…
<b>Steps to reproduce:</b> 1) Create a flexible working schedule 2) Assign this working schedule to one of the employees 3) Create a public holiday with no calendar 4) Create a leave for the flexible employee where the public holiday will be during his leave 5) Notice the duration of the leave <b>Issue:</b> Previously, leave duration did not exclude public holidays without calendars or holidays associated with a different company than the employee's when using flexible schedules. For example, if an employee took 5 days off and one of those days was a public holiday without a calendar, the system would incorrectly count all 5 days instead of excluding the public holiday. <b>Cause:</b> This issue occurs because the system only checks for public holidays with calendars during the leave period and excludes those days from the leave duration. However, if the public holiday does not have a calendar or is assigned to a different company than the employee's, it is not excluded from the leave days/hours. https://github.com/odoo/odoo/blob/7293a04bd90c26cb27669f5a1c9edd45c7e5c96c/addons/hr_holidays/models/hr_leave.py#L428-L438 <b>Fix:</b> We now exclude public holidays from the leave duration even if they do not have a calendar, as long as the holiday belongs to the same company as the leave request. opw-4711942
Users can now drag and drop files anywhere in the Documents screen, even when the view is filled with existing files. This removes a usability issue that made uploads difficult when there was little empty space available.
Original PR description
Steps: - Install `documents` - Open documents - Try to drag a file from your file explorer to documents A document can only be dragged into a free zone, i.e. not into areas of the screen where a record (file) is. This makes drag'n'drop less practical when a user has a lot of files, leaving almost no space left on the screen. opw-4699728
Fixes issues where adding, completing, or cancelling activities from the Documents kanban view did not immediately update the related chatter or could trigger an error. This makes activity handling more reliable and avoids users needing to refresh the page.
Original PR description
Case 1: How to reproduce ================ - Select a record in any folder in Kanban view - Display its chatter - Add an activity from the kanban tile --> the chatter is not updated and needs a refresh Expected behavior ================= Chatter should update instantly Case 2: How to reproduce ================ - Select a record in any folder in Kanban view - Display its chatter - Mark done or cancel one or more activities from Chatter - Click on the activity button of the related kanban record --> stack trace Expected behavior ================= Corresponding KanbanRecord should update. Note: v. 17.4 raises a missing record exception for the same case task-4690165