Monday, April 1, 2024
2 changes
Resolved issues and error corrections
This fix resolves an issue where LinkedIn follower counts were not being updated in social media streams. The problem was caused by using an outdated API parameter format when retrieving follower information from LinkedIn. The fix updates the parameter to the correct format required by the latest LinkedIn API version, ensuring accurate follower counts are displayed.
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
This update fixes an issue where line break tags copied from external editing software were not being properly handled when pasting content into the web editor. The fix ensures that unwanted line breaks are converted to proper paragraph breaks, providing a cleaner and more consistent editing experience while preserving important formatting elements like lists, quotes, and code blocks.
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