Monday, November 18, 2024
5 changes · saas-17.4
Resolved issues and error corrections
Non-admin users can now leave group chats from the Discuss sidebar without encountering an access error. This improves the reliability of everyday chat management and prevents disruption for regular users.
Original PR description
**Current behavior before PR:** When a user leaves a group chat from the Discuss sidebar, an `AccessError` occurs because `thread.delete()` is not called, allowing `thread.markAsFetched()` to run even though the user is no longer a member. **Desired behavior after PR is merged:** This commit resolves the issue by ensuring that no access error occurs when a non-admin user leaves a group chat. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
DIN5008 sales documents now display dates using the recipient or user's language and locale settings. This prevents quotations sent by email from showing dates in a fixed format that may not match customer expectations.
Original PR description
Change field calling convention to support dynamic localization and language formatting. Currently, all fields are called with `t-out` instead of `t-field`, making them non-language or locale-sensitive, which results in a uniform format regardless of user preferences. Steps to produce: 1: installed l10n_din5008_sale 2: create a Quotation 3: Send it by email 4: Select DIN5008 in the template selector opw-4189869
Fleet now keeps a history of changes to key vehicle cost fields and serial numbers. This helps teams see who changed a vehicle's value or cost-related information and when, improving accountability and auditability.
Original PR description
We've added tracking on some fields that are used to compute the cost of cars and also the serial number to know if it has been manually changed. When the value or the cost of the car change, we want to know who modified it and when it has been done. TASK-ID: 4306184 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents an error that could occur when changing app settings, such as uninstalling a module from the settings screen. It makes the process more reliable by using the standard module handling flow instead of relying on cached company information that may be out of date.
Original PR description
This commit uses the res.company env to check the value of the sign_invoice field instead of checking it directly through the related field. When uninstalling a module through res.config settings (i.e. unchecking the Partner Autocomplete box), this line will thrown an error if the uninstalled module had any fields on res.company. When using the related field, it tries to access a cached copy of the res.company record with field values that may have been modified, as opposed to browsing for the record directly which will be properly updated. Task-ID: 4107361
Company car value and cost-related fields now keep a history of manual changes. This helps payroll and fleet teams see who changed these amounts and when, improving traceability for car cost calculations.
Original PR description
We've added tracking on some fields that are used to compute the cost of cars to know if it has been manually changed. When the value or the cost of the car change, we want to know who modified it and when it has been done. TASK-ID: 4306184