Sunday, September 1, 2024
6 changes · master
Enhancements to existing features
Several Odoo apps now define the required IAP service records needed by recent platform changes. This keeps document extraction, tax localization, electronic invoicing, signing, and messaging tests aligned with the new service account structure.
Original PR description
With the improvement of the iap account model made to the community codebase, iap_service data has to be created for modules that require it and tests mocking the model had to be changed to the new structure. task-3741280
Miscellaneous changes
This commit ensures that the caret is not displayed on hover in `RecordSelector` , `MultiRecordSelector` components when they are present in sidebars and report editors. Displaying the caret in sidebar RecordSelectors creates an awkward and visually unappealing effect. This issue arises because, in sidebars, the entire input area is a RecordAutocomplete with padding and margin. Task-3777903 Forward-Port-Of: odoo/enterprise#68980 Forward-Port-Of: odoo/enterprise#68772
Original PR description
This commit ensures that the caret is not displayed on hover in `RecordSelector` , `MultiRecordSelector` components when they are present in sidebars and report editors. Displaying the caret in sidebar RecordSelectors creates an awkward and visually unappealing effect. This issue arises because, in sidebars, the entire input area is a RecordAutocomplete with padding and margin. Task-3777903 Forward-Port-Of: odoo/enterprise#68980 Forward-Port-Of: odoo/enterprise#68772
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 Forward-Port-Of: odoo/enterprise#69161 Forward-Port-Of: odoo/enterprise#68
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 Forward-Port-Of: odoo/enterprise#69161 Forward-Port-Of: odoo/enterprise#68015
https://github.com/odoo/odoo/pull/177084 Forward-Port-Of: odoo/enterprise#68573
Original PR description
https://github.com/odoo/odoo/pull/177084 Forward-Port-Of: odoo/enterprise#68573
Forward-Port-Of: odoo/enterprise#69207
Original PR description
Forward-Port-Of: odoo/enterprise#69207
Since odoo/enterprise#38575, portal users can create/edit knowledge articles. However, the test that checks that feature is not correct: - it does not call `check_access_rights()` (for ACLs); - it uses a `res.partner` instead of a `res.users` in `with_user()`. Because the test only checks access rules with a non-existing user, no rules are found, and the check is therefore trivial. In other words, the test passes by accident :-( The fix consists in creating a portal user for the corr
Original PR description
Since odoo/enterprise#38575, portal users can create/edit knowledge articles. However, the test that checks that feature is not correct: - it does not call `check_access_rights()` (for ACLs); - it uses a `res.partner` instead of a `res.users` in `with_user()`. Because the test only checks access rules with a non-existing user, no rules are found, and the check is therefore trivial. In other words, the test passes by accident :-( The fix consists in creating a portal user for the corresponding "customer" contact, and add the expected calls to `check_access_rights()`. Forward-Port-Of: odoo/enterprise#69157