Tuesday, October 15, 2024
5 changes · saas-17.4
Resolved issues and error corrections
Unread message notifications now update correctly when a message is deleted before it is read. This prevents users from seeing stale new-message banners or encountering an error when opening a conversation.
Original PR description
Before this commit, if a user deletes a message before the recipient sees it, the notification stays in the recipient's discuss and when the recipient tries to click on "1 new message", they get a traceback. Steps to reproduce: 1. Send message as Mitchell Admin to Marc Demo 2. Delete said message 3. Open the conversation as Marc Demo 4. Click on the new message banner The traceback happens because the highlighMessage hook tries to access a non-existing message. This commit fixes the issue by: - Adding a guard when accessing the message on the highlightMessage hook - Sending a bus message to notify the front-end of a message deletion - Changing the compute of the message unread counter as not to count deleted messages
This update brings the spreadsheet component up to the latest 17.4 version and fixes several issues affecting pivots, table styling, chart exports, and find-and-replace behavior. Business users benefit from more reliable collaboration, cleaner spreadsheet exports, and fewer formatting problems when working with tables and reports.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/b7015b716 [REL] 17.4.9 Task: 0 https://github.com/odoo/o-spreadsheet/commit/15a948a4e [FIX] session: ignore already…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/b7015b716 [REL] 17.4.9 Task: 0 https://github.com/odoo/o-spreadsheet/commit/15a948a4e [FIX] session: ignore already processed SNAPSHOT_CREATED Task: 4243943 https://github.com/odoo/o-spreadsheet/commit/e98ad44c1 [FIX] pivot: divergent collaborative duplicated pivot name Task: 4199949 https://github.com/odoo/o-spreadsheet/commit/31e1698c2 [FIX] pivot: remove forbidden chars when duplicating Task: 4221325 https://github.com/odoo/o-spreadsheet/commit/23c7aef03 [FIX] clipboard: cannot paste whole table style Task: 4218988 https://github.com/odoo/o-spreadsheet/commit/cc77ce840 [FIX] xlsx: fix table total row export Task: 4206619 https://github.com/odoo/o-spreadsheet/commit/e02a43296 [FIX] autocomplete: Stop the range selection after selecting a pivot proposal Task: 4176481 https://github.com/odoo/o-spreadsheet/commit/db0b33ff4 [PERF] Actions: Fill missing ids with fast unique values Task: 4216427 https://github.com/odoo/o-spreadsheet/commit/a9f13c1ea [FIX] package: saas-17.4 is no longer the latest version https://github.com/odoo/o-spreadsheet/commit/fbdcb2bcb [FIX] charts: fix combo chart export Task: 4092078 https://github.com/odoo/o-spreadsheet/commit/7407b162e [FIX] pivot: add suggestion message to broken pivot formulas Task: 4169586 https://github.com/odoo/o-spreadsheet/commit/46da6a94c [FIX] export: Fix default style ignored at export Task: 4178743 https://github.com/odoo/o-spreadsheet/commit/0ddac1bbe [FIX] table: update table style on header group removal Task: 4081345 https://github.com/odoo/o-spreadsheet/commit/bd30a22bd [FIX] Find&Replace: always search cell content if `searchFormula` Task: 4175968 Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
Purchase users without accounting permissions can now open purchase orders that include analytic budget information without being blocked by an access error. This keeps purchasing workflows usable while still limiting direct accounting access as intended.
Original PR description
### Steps to reproduce the issue: 1. Create a Purchase Order and add Analytic Distribution to one of the Product Lines 2. Make sure the "Budget" Smart Button is visible 3. Create a User with no Accounting access rights and maximum Purchase access rights 4. With Purchase User, open the Purchase Order 5. Receive following Access Error: > You are not allowed to access 'Budget' (budget.analytic) records. > > This operation is allowed for the following groups: > - Accounting/Bookkeeper > - Accounting/Read-only ### Explanation: When accessing `purchase.order`, a list of computes starting with `purchase.order._compute_above_budget` will cause the user to perform a `search` on `budget.line`, which he does not have access to without `account.group_account_readonly` or higher. ### Fix reasoning: Since the user will only perform a `search`, `sudo` is all indicated to bypass the Access Rights restriction. opw-4244187
Point of Sale receipts in Germany now correctly display the Fiskaly certification information after a sale. This helps businesses meet receipt requirements and gives customers the expected compliance details at checkout.
Original PR description
PoS receipt should show fiskaly information but they are not shown Steps to reproduce: ------------------- * Setup you db with fiskaly * Start a PoS and sell any product > Observation: The receipt doesn't contain any information opw-4216415
Users can now open the consolidated balance from the consolidation dashboard without encountering an error. The report now safely handles cases where no date is available, improving reliability for consolidation workflows.
Original PR description
Currently, a traceback is occurring when the user clicks on the consolidated balance. To reproduce this issue: 1) Install `account_consolidation` 2) Create a new record in `consolidation` by filling the required fields 3) Now open the `dashboard` of consolidation 4) Click `consolidated balance` Error:- ``` KeyError: 'date' ``` When the user creates a consolidated record, there will be no date in the options. Which leads to a traceback when the date is accessed from the options. https://github.com/odoo/enterprise/blob/c42f33ee588d07eb5147a4db6bbf5080155a0b9b/account_reports/models/account_report.py#L4811-L4812 https://github.com/odoo/enterprise/blob/c42f33ee588d07eb5147a4db6bbf5080155a0b9b/account_reports/models/account_report.py#L4765-L4766 After applying this commit, we can resolve this issue by prechecking the date in the options. By doing this we can make the code more robust. sentry-5731169111