Daily updates from Odoo
Wednesday, August 21, 2024
8 changes · 17.0
Resolved issues and error corrections
This update fixes a display issue in the Sign module where signature frames would be partially hidden when the signature box had an unusual aspect ratio (very wide or very short). The fix restores the proper container styling to ensure the signature frame and its hash remain fully visible regardless of the box dimensions.
Original PR description
Steps to reproduce: - Install Sign - Open Sign, add a document and put a signature box - Make the sign box have a weird aspect ratio (very short and super wide for example) Issues: When you sign with the frame, the frame will be partially hidden making the hash invisible. Solution: Put the container back just like in the 16.0, that way we don't have the weird CSS behavior that we had previously. opw-4042289
This update adds support for the FedEx International Connect Plus shipping service type, which was previously missing from the available delivery options. This enables businesses using Odoo's FedEx integration to offer this international shipping method to their customers, expanding their delivery service capabilities.
Original PR description
before this commit: Service type `FEDEX_INTERNATIONAL_CONNECT_PLUS` was not available the list 'fedex_service_type'. After this commit: Missing service type is added in the list. reference fedex doc: https://developer.fedex.com/api/en-us/guides/api-reference.html#servicetypes opw-4061797 Forward-Port-Of: odoo/enterprise#64250
This update removes the display of empty IS (insurance) lines in Swiss payroll processing. The change improves the clarity of payroll documents by eliminating unnecessary blank entries, making payroll statements cleaner and easier to read for employees and administrators.
Knowledge templates were not displaying correctly when exported or printed due to broken styling. This fix restores proper formatting and layout to ensure templates appear as intended when users export or print them. This improves the quality and usability of exported knowledge documents.
Original PR description
**Before this PR:** The style of some knowledge templates was broken when attempting to export or print, lacking proper formatting as per the templated structure. It seemed like there was an issue with the template's responsiveness. **After this PR:** Now, the issue has been addressed, and now the template is appropriately formatted and styled, ensuring correctness during export. **Task**-3664950
This update adjusts the Chart of Accounts report test in the Mexico localization module to account for a newly added account (173.01 Deferred expenses). The change ensures that the trial balance test continues to work correctly with the expanded chart of accounts structure.
Original PR description
Purpose of this PR: CoA Report trial balance test adjusted to accommodate for the new account, 173.01 Deferred expenses Community PR that adds new account: #176681 opw-4105993
Portal users who have access to a shared task but not the entire project can now properly view task documents. Previously, clicking the document button would redirect them back to the home menu because it tried to access project-level documents they weren't authorized to view. The fix ensures the button only appears when users have the appropriate access rights.
Original PR description
Steps to reproduce: - Create a project and a task - Attach a file to the task - Share the task with Joel Willis (portal user) - DO NOT share the project with him - Log in as Joel Willis (portal user) - Click Tasks > '1 Document' button next to project name This redirects back to portal home menu. This happens because the button leads to projects/id/documents, which Joel Willis has not been granted access to. The expectation would be a redirection to tasks/id/documents instead, as portal > projects handles this use case, and we curently do not have a way to share documents attached to a specific task through portal. opw-4009258
This fix resolves access errors that occurred when branch users tried to perform common tasks like creating products or accessing currency information. The solution adds a new permission rule allowing branch users to read their parent company's data, which is necessary for these operations to work correctly without granting excessive permissions.
Original PR description
This PR tries to solve 2 bugs related to branches: one from 17.4 and one from 17.0. Community PR: https://github.com/odoo/odoo/pull/176502 ### Steps to reproduce (in saas-17.4): - Add a branch to the…
This PR tries to solve 2 bugs related to branches: one from 17.4 and one from 17.0.
Community PR: https://github.com/odoo/odoo/pull/176502
### Steps to reproduce (in saas-17.4):
- Add a branch to the current company
- Create another user that only have the branch as "Allowed Companies"
- Give this user the right to create `product.template` for example by assigning him as administrator in Inventory or POS
- Switch to this user
- Go in Inventory > Products > Products
- Click on the "New" button
- An access error should pop up
### Steps to reproduce (in 17.0):
- Add a branch to the current company
- Create another user that only have the branch as "Allowed Companies"
- Switch to this user
- Go in Purchase app and create a new RFQ
- Click on the internal link of "Currency"
- An access error should pop up
### Cause:
- saas-17.4: When trying to find the tax values for the product, Odoo tries to read the values of `res.company.account_fiscal_country_id` and an error is raised.
- 17.0: To access the currency of the company, the user must have read access on the company.
### Solution:
Create a new rule that permits the branches to read the record of the parent company. Changing the rule "company rule employee" domain to `[('id','parent_of', company_ids)]` also works but it is giving a lot more rights to branches.
This change required changing performance tests.
opw-4088233This update fixes an issue where articles exported or printed from the Knowledge editor would have content cut off or display blank pages. The fix removes height constraints on article containers and disables scroll views during printing, allowing content to flow naturally across pages without clipping. Additional styling adjustments hide elements that shouldn't appear in printed documents.
Original PR description
Currently, when the user prints an article using the "export" button from the Knowledge editor, it happens that the page can be clipped. This commit will fix that issue by (1) unsetting the height constraints set on the containers of the article and by (2) de-activating the scroll views for the printing devices. The containers should now have a natural height and each block should follow the natural flow of the document which prevents clipping. This commit will also apply other minor CSS adjustments to hide elements that should not be printed. task-3664950