Monday, April 1, 2024
7 changes · saas-17.1
Miscellaneous changes
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
- Add new tax groups for VAT at 5%, 13%, and 15% - Add taxes of 5% and 15% - Archive VAT taxes of 5% in sales and 12% - Configure tax group accounts for the new tax groups - Add new foreign account tax position tax template at 15% VAT 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#159596
Original PR description
- Add new tax groups for VAT at 5%, 13%, and 15% - Add taxes of 5% and 15% - Archive VAT taxes of 5% in sales and 12% - Configure tax group accounts for the new tax groups - Add new foreign account tax position tax template at 15% VAT 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#159596
- 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: 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
…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
- Set up tax support configuration for new VAT purchase taxes of 5% and 15%. - Add rate and tax group codes for electronic documents - Add unit test for VAT 5% and 15% - Fix ATS report to declare VAT taxes inactive - Add tax support configuration migration for new VAT taxes in 2024 - Cover base and tax amounts scenario for the ATS, including new tax percentages - Fix missing tax support configuration for taxes with xml_ids: tax_vat_545_sup_08_vat0, tax_vat_545_sup_08_vat_exempt, tax_vat_54
Original PR description
- Set up tax support configuration for new VAT purchase taxes of 5% and 15%. - Add rate and tax group codes for electronic documents - Add unit test for VAT 5% and 15% - Fix ATS report to declare VAT taxes inactive - Add tax support configuration migration for new VAT taxes in 2024 - Cover base and tax amounts scenario for the ATS, including new tax percentages - Fix missing tax support configuration for taxes with xml_ids: tax_vat_545_sup_08_vat0, tax_vat_545_sup_08_vat_exempt, tax_vat_545_sup_08_vat_not_charged - Add default company configuration for sale and purchase taxes, with new 15% tax Forward-Port-Of: odoo/enterprise#59788
**Steps to reproduce:** - Install `Social Marketing` module - Add a LinkedIn stream and ensure stream already have some followers **Issue:** Followers count is not updated in the stream. **Cause:** Changed to API version 202401 in this commit: https://github.com/odoo/enterprise/commit/a6680edb9e7d91f6038d276f36d86aef07946fd9 Using deprecated parameter key (`CompanyFollowedByMember` instead of `COMPANY_FOLLOWED_BY_MEMBER`) in the API request when retrieving company followers.
Original PR description
**Steps to reproduce:** - Install `Social Marketing` module - Add a LinkedIn stream and ensure stream already have some followers **Issue:** Followers count is not updated in the stream. **Cause:** Changed to API version 202401 in this commit: https://github.com/odoo/enterprise/commit/a6680edb9e7d91f6038d276f36d86aef07946fd9 Using deprecated parameter key (`CompanyFollowedByMember` instead of `COMPANY_FOLLOWED_BY_MEMBER`) in the API request when retrieving company followers. More info: [LinkedIn API doc](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/organizations/organization-lookup-api?view=li-lms-2024-03&tabs=http#retrieve-organization-follower-count) opw-3798739 Forward-Port-Of: odoo/enterprise#59160