Tuesday, October 19, 2021
3 changes · master
Resolved issues and error corrections
This fixes an internal issue that could prevent Odoo from correctly checking whether certain protected records exist when they are based on database queries rather than standard tables. The change helps avoid errors when users encounter records they are not allowed to read, improving reliability in core system behavior.
Original PR description
The exists method doesn't work with model without SQL table but with a table query f2ceef0e2f0efb2e47b5f595a80009184305a2c4 This method is call when we try to read a forbidden record (`forbidden = missing.exists()` in `_read`) - Fix it by using a Query object (which able the case) - Also use a partition method instead of duplicate it in the method (in master ??? WIP ) task-2633558 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Website CRM Reveal app now explicitly depends on Website CRM, keeping required visitor data available. This prevents website pages such as the home or contact page from failing after related CRM functionality is removed.
Original PR description
PURPOSE The purpose of this commit is to minimize the AttributeError: 'website.visitor' object has no attribute 'lead_ids'. SPECIFICATIONS While installing 'website_crm_iap_reveal' module, 'website_crm' module will auto-install. But while uninstalling only the 'website_crm' module, it removes the 'lead_ids' field and when a public user is visiting the website home/contactus page, the error is coming. This adds the dependency of 'website_crm' module. This is the goal of this commit. LINKS PR #78354 Task-2655439 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The time off calendar now shows the delete button only for requests that can still be deleted, instead of showing it for approved or refused requests. This prevents users from attempting invalid deletions and makes the calendar actions match the request status.
Original PR description
On the month, week or day time off calendar views, the delete button appears when the time off is in approved or refused state and does not when the time off is in other states. The behavior should be the opposite. https://www.awesomescreenshot.com/video/5681852?key=2b2136139c3fadd1006b98c0f4be920c task-2671598 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr