Monday, April 1, 2024
5 changes · saas-17.2
Miscellaneous changes
…search **Issue Description:** Due to changes in field access rights verification as seen here: https://github.com/odoo/odoo/blob/494231e796b562162d3bfb19fc8ce7550657cf07/odoo/models.py#L5334-L5345 And the removal of sudo rights for CrmLead: https://github.com/odoo/odoo/blob/494231e796b562162d3bfb19fc8ce7550657cf07/addons/website_crm_partner_assign/controllers/main.py#L98 Attempting to open a search by domain with the `activity_date_deadline` field triggers a 403 error: "You do not have eno
Original PR description
…search **Issue Description:** Due to changes in field access rights verification as seen here: https://github.com/odoo/odoo/blob/494231e796b562162d3bfb19fc8ce7550657cf07/odoo/models.py#L5334-L5345…
…search **Issue Description:** Due to changes in field access rights verification as seen here: https://github.com/odoo/odoo/blob/494231e796b562162d3bfb19fc8ce7550657cf07/odoo/models.py#L5334-L5345 And the removal of sudo rights for CrmLead: https://github.com/odoo/odoo/blob/494231e796b562162d3bfb19fc8ce7550657cf07/addons/website_crm_partner_assign/controllers/main.py#L98 Attempting to open a search by domain with the `activity_date_deadline` field triggers a 403 error: "You do not have enough rights to access the fields 'activity_date_deadline' on Lead/Opportunity (crm.lead). Please contact your system administrator." **Steps to Reproduce:** 1. Install the `website_crm_partner_assign` module. 2. Assign Joel Willis a partner level (via the partner assignment tab in the `Contact` app). 3. Navigate to CRM, select an opportunity, and assign it to Joel Willis (using the assigned partner tab in the lead form). 4. Log in to the portal as Joel Willis, navigate to Opportunities, and click any filter on the activities date `Overdue / today / this week activities`. This action results in a crash. **Proposed Solution:** Our approach focuses on secure and efficient access to data, especially for sensitive fields like `activity_date_deadline` and `activity_ids.date_deadline`. We selectively apply higher permissions during search operations to ensure users can access crucial information without compromising data security. By carefully using higher permissions and applying internal rules after searches, we strike a balance between making data available for legitimate needs and upholding our security measures. opw-3703583 Forward-Port-Of: odoo/odoo#154653
Current behavior before PR: The `<br>` tags copied from external editing software's were remained unchanged. Desired behavior after PR is merged: Implement breaking element at `<br>` during HTML paste to adress unwanted `<br>` elements introduced by external editing software's or the OS. This ensures consistent and correct behaviour for all commands. Note that this change does not break `<li>`, `<blockquote>`, and `<pre>` elements. task-2936891 Forward-Port-Of: odoo/odoo#136
Original PR description
Current behavior before PR: The `<br>` tags copied from external editing software's were remained unchanged. Desired behavior after PR is merged: Implement breaking element at `<br>` during HTML paste to adress unwanted `<br>` elements introduced by external editing software's or the OS. This ensures consistent and correct behaviour for all commands. Note that this change does not break `<li>`, `<blockquote>`, and `<pre>` elements. task-2936891 Forward-Port-Of: odoo/odoo#136743
- 17.0 Steps to reproduce: - Open Project app and click on overflow menu of a project - Select project updates option - Try and create a new update document Issue: - The budget details text is just coming under activities which should be in profitability section. Cause: - Unset priorities of the inherited XML to cause files load before on another changing the orientation of display order and same Xpath for two inherited files. Solution: - Changing Xpath of one inherite
Original PR description
- 17.0 Steps to reproduce: - Open Project app and click on overflow menu of a project - Select project updates option - Try and create a new update document Issue: - The budget details text is just coming under activities which should be in profitability section. Cause: - Unset priorities of the inherited XML to cause files load before on another changing the orientation of display order and same Xpath for two inherited files. Solution: - Changing Xpath of one inherited view to accommodate for the order of display Task-3678808 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 Forward-Port-Of: odoo/odoo#149564
**Current behavior before PR:** Opening OXP template in mass mailing without installing website there are some background colors that became transparent. This issue is introduced by [1] commit. This issue occurs because the $bg-gradient variable referenced in the commit cannot be included within a file of web_editor. Additionally, it cannot use the o-website-value to retrieve its value. **Desired behavior after PR is merged:** Now it will show the background color of block without websi
Original PR description
**Current behavior before PR:** Opening OXP template in mass mailing without installing website there are some background colors that became transparent. This issue is introduced by [1] commit. This issue occurs because the $bg-gradient variable referenced in the commit cannot be included within a file of web_editor. Additionally, it cannot use the o-website-value to retrieve its value. **Desired behavior after PR is merged:** Now it will show the background color of block without website installed. [1]: https://github.com/odoo/odoo/pull/75680/commits/5c4ad451787a1a52824a046c9ae81b0e86a05a3b task-3688383 Forward-Port-Of: odoo/odoo#151704
Some tests on dynamic variants mechanism didn't pass on test without demo data due to odoo/odoo#143543. Forward-Port-Of: odoo/odoo#159818 Forward-Port-Of: odoo/odoo#159709
Original PR description
Some tests on dynamic variants mechanism didn't pass on test without demo data due to odoo/odoo#143543. Forward-Port-Of: odoo/odoo#159818 Forward-Port-Of: odoo/odoo#159709