Monday, July 1, 2024
9 changes · 17.0
Resolved issues and error corrections
Fixed an issue where employee searches in the timesheet forecast view were displaying incorrect results. When searching for a specific employee name, non-matching employees were still appearing in the list. The fix corrects the search filter logic to properly exclude employees that don't match the search criteria.
Original PR description
Steps to reproduce: - install timesheet module - install project_timesheet_forecast bridge module - open timesheets - click on all timesheets - search an employee name Issue: - employees that are not matching this search are still being displayed Cause: - the conditions that are in domain causes this issue Solution: - if we gave the condition in domain ,that the filter is based on related search then the issue will be solved task-3653034
This fix prevents the helpdesk ticket creation command from appearing in chat when users don't have access to any helpdesk teams with chat enabled. Previously, users could trigger the command and create tickets with no team assigned, making them unusable. Now the command only appears when users have proper access to at least one active helpdesk team.
Original PR description
This commit's purpose is to disable the helpdesk ticket creation command when there are no teams available for the current connected user. Currently, using this command this way will create a new…
This commit's purpose is to disable the helpdesk ticket creation command when there are no teams available for the current connected user. Currently, using this command this way will create a new ticket without any team attached, rendering it useless. step to reproduce: - install helpdesk application - open helpdesk - open confifuration menu, select helpdesk team - select 'customer care' - activate the livechat option and saves - leave helpdesk - change from the current active company to any other company that doesn't have any helpdesk team with the livechat feature enabled - open the discuss app and select the 'general' discussion - type /helpdesk your_ticket a new ticket will be created without any team linked to it. source of the issue: when a team has the livechat option enable, the command is added to the livechat regardless of the connected user's access right to the team. solution: Only add the command to the list of livechat command if the user has access to at least one team with the livechat feature enable. affected version : 15.0 - master task - 3631682 https://www.odoo.com/web#id=3631682&menu_id=4720&cids=1&action=333&active_id=4105&model=project.task&view_type=form Forward-Port-Of: odoo/enterprise#64765 Forward-Port-Of: odoo/enterprise#53510
This fix adds a helpful warning message when users try to sign invoices for contacts that have a Mexican tax ID (RFC) but no country configured. Previously, users would see no alert even though the invoice would be signed with a generic placeholder tax ID instead of the correct one, creating confusion. Now they'll be notified during the send and print process so they can fix the contact information.
Original PR description
When a contact is created with an RFC (VAT number) but no country configured, signing an invoice for that contact results in the invoice being signed correctly. However, the PDF shows the partner's RFC, while the XML file shows the generic RFC (XAXX01010101). This discrepancy misleads users into believing their setup is correct, as no error or alert is provided. This commit introduces a non-blocking warning message in the 'Send and Print' wizard for cases where the contact's country is missing. opw-3891896
This fix resolves an issue where users encountered validation errors when creating timesheets from tickets if their active company differed from the project's company. The fix ensures the correct company information is properly set when creating timesheets, allowing users to work seamlessly across multiple company configurations in the helpdesk billing workflow.
Original PR description
When creating a timesheet from the ticket view form, an access error is raised if the active company is different from the company of its project. Step to reproduce: - install helpdesk_sale_timesheet…
When creating a timesheet from the ticket view form, an access error is raised if the active company is different from the company of its project. Step to reproduce: - install helpdesk_sale_timesheet - open helpdek - open configuration menu -> helpdesk teams - select a team with the visibility set on 'invited portal users' - enable the 'billing' feature, and add a project on this team - select as active company any company other than the one set on the project selected before - select an existing ticket, or create a new one on the team - try creating a new timesheet Validation error is raised Source of the issue: If no company_id is given in the vals_list, the default company_id used by analytic line model is the active company. The issue is not present on task, because the key 'company_id' is correctly set in the '_timesheet_preprocess' method. This method is overwritten in the helpdesk_sale module and the updates done in it prevent the correct setting of the 'company_id' later on. Solution: Ensure that the 'company_id' key is present and consistent when creating a new timesheet from the ticket form view. version: 16.0 - master task - 3581941 Forward-Port-Of: odoo/enterprise#50150
This update fixes a display issue in the Knowledge app where embedded views (like charts or tables) were overlapping and hiding text when placed in multi-column layouts. The fix ensures these embedded elements stay properly contained within their assigned columns, improving the readability and usability of Knowledge documents with complex layouts.
Original PR description
This commit fixes an issue withthe embedded views inside the columns block in the editor. The embedded views were overlapping the columns on their right meaning that some text could be hidden behind them. To fix this a new rule is added to these blocks so that when they are inside a column block that is not the last one we remove the negative margin-right. This way we preserve their style when inside the right-most column. task-3901864
This update fixes the invoice extraction tests to work reliably regardless of whether demo data is loaded. Previously, tests would fail if demo data wasn't present, causing inconsistent results. Now the tests are self-contained and produce consistent outcomes in all environments.
Original PR description
Removed dependency on demo data for the TestInvoiceExtractPurchase tests, as they would previously fail if the demo data had not been loaded. Now the results will be consistent, no matter if the demo data is present. Task-3957718 Forward-Port-Of: odoo/enterprise#65742 Forward-Port-Of: odoo/enterprise#65660
This fix resolves an issue where document attachments were not being properly exported when using the German Datev export feature with the "Datev + ATCH (zip)" option from the general ledger. The export now correctly includes the document identifier (GUID) in the designated column for documents that have attachments, ensuring complete and accurate financial record exports.
Original PR description
When a document has an attachment, the export done through the general ledger and "Datev + ATCH (zip)" should have a column filled with the guid of the document, which is not the case currently. To solve it, use the helper to get the attachments opw-3984450
This fix corrects a bug in the Accounting Reports module where the Account Coverage Report was incorrectly displaying linked accounts instead of unused accounts. The report now properly shows which accounts are not being used in your accounting setup, helping you maintain a cleaner chart of accounts.
Original PR description
The coverage reports do not print the right account ids when searching for the ones that are not used. ### Steps to reproduce: - Install the 'l10n_de' module and switch to a German company - Go in Accounting > Configuration > Management > Accounting Reports - Go in the German Profit and Loss report - Click on the button 'Accounts Coverage Report' - In the downloaded report the yellow lines should not appear as they are linked ### Cause: When searching for the ids that are not linked, the code actually only look up the ones that are linked to an account. ### Solution: Fix the condition on the ids. opw-3993835
The 30% Exemption field was appearing on all employee contracts, but it should only be visible for Dutch contracts. This update restricts the field visibility to Dutch contracts only, ensuring the correct payroll information is displayed based on employee location.
Original PR description
30% Exemption field shows on all contracts although it should only show on dutch employees contracts. This change restricts the 30% Exemption to only show on dutch contracts. task-3946599