Daily updates from Odoo
Monday, August 7, 2023
6 changes
Enhancements to existing features
Mexican e-invoicing certificates are now tied directly to a specific company, making access rules simpler and easier to maintain. The update also streamlines how certificate keys are converted, reducing reliance on external system commands and aligning the process with other localization modules.
Original PR description
This commit adds a required `company_id` on `l10n_mx_edi.certificate` and changes the `l10n_mx_edi_certificate_ids` on `res.company` to a One2many field. This allows for the simplification of the security rule. Also, instead of calling a subprocess to run an openssl command to convert a key from der format to pem, this commit makes use of the existing `load_der_private_key` method to load the key, so that it's then possible to get it in the pem format. It is also more similar to how it is done in other l10n modules where certificates are loaded. task-3276992
The File menu now only shows the Add to dashboard option to users who have permission to create dashboards. This reduces confusion and prevents users from seeing an action they cannot complete, while keeping existing dashboard templates and dashboards working normally.
Original PR description
This PR hides the "Add to dashboard" menu item in File top bar menu from users who don't have rights to add new dashboards. The basic idea is to overwrite join_spreadsheet_session function in `documents.document` model. Hence no additional RPC call, and templates & dashboards can bypass. task [3378496](https://www.odoo.com/web#id=3378496&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
Document requests can now be addressed to contacts instead of only internal users, making it easier to request files from external people. The request flow also uses clearer wording and better assigns follow-up activities and emails to the right recipient.
Original PR description
**This commit does the following improvements in the request document process:** -The document requestee is now a partner rather than a user. -The 'owner_id' field of 'documents.request_wizard' is rename to 'requestee_id'. -The request note string is changed from 'Note' to 'Message'. -When scheduling activity related to document request the user is related to the requestee, if it doesn't exist, the user is the requester. -We change owner_id of 'documents.share' from 'res_user' to 'res_partner' for sending email to requestee of the document. Task-3290827
Users can now create a new blank spreadsheet dashboard directly from the dashboard configuration dialog when adding a spreadsheet. This streamlines dashboard setup by removing the need to create the blank dashboard elsewhere first.
Original PR description
This PR allows creating a new blank dashboard from the dialog when users click "Add a spreadsheet" in dashboard configuration panel. task [3390543](https://www.odoo.com/web#id=3390543&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
Spreadsheet pivot tables now handle dates more consistently in pivot formulas and related interactions. This makes reporting workflows more reliable when users analyze time-based business data in spreadsheets.
Original PR description
See community PR Task 3413243
The spreadsheet engine was updated to a newer version, improving spreadsheet behavior across documents and enterprise spreadsheet features. Pivot table date handling and autofill behavior were reworked, helping users get more reliable reporting results.