Daily updates from Odoo
Navigate
Branch
Monday, March 30, 2020
14 changes
New functionality added to Odoo
Adds LinkedIn company page support in Social Marketing so users can view LinkedIn posts in their feed, manage text comments and replies, and access account and post statistics. This makes LinkedIn management more consistent with other social channels, while reflecting LinkedIn API limits such as no personal feed access or image comments.
Original PR description
Purpose ======= Add full support for LinkedIn. We want to be able to read the LinkedIn posts in the feed view, to read/create comments on posts, and to retrieve statistics on our posts and on our…
Purpose ======= Add full support for LinkedIn. We want to be able to read the LinkedIn posts in the feed view, to read/create comments on posts, and to retrieve statistics on our posts and on our accounts. Specifications ============== Posts Stream ------------- Allow the user to see the posts of his company pages in the feed view. With the LinkedIn API, we can not read the posts of a personal account. So, we now link the company pages of the user instead of personal LinkedIn account, to be able to read the posts and to be coherent with other medias. Comments --------------- Allow the user to see the comments on the LinkedIn posts, to create comment and to load replies on comment. With the LinkedIn API, we can not get comments under a posts and all replies the the comments in the same request. So, when we click on "Load X replies", we request the replies to the LinkedIn API before showing them. We can not retrieve / send image in comment and we can not edit comment, so we added a method that allow us to hide the image button near the comment. Demo data --------- Add demo data to show the new features. Fix typo -------- Fix typo error in `StreamPostComments` Task 2156000 PR #7550 See odoo/upgrade/pull/782
Enhancements to existing features
The SEPA payments module no longer includes QR code payment functionality, which is being handled separately in a more reusable way. This makes the payment features cleaner to maintain while keeping SEPA transfers focused on their core purpose.
Original PR description
This is part of the QR-code refactoring done in community. account_sepa module now does not contain anything related to SEPA QR-codes anymore, as they are a distinct feature.
Mobile list views now show selected records in a clear banner at the top of the list instead of a small selection box near the action buttons. This makes bulk selection easier to notice and use on smaller screens while keeping the same behavior as before.
Original PR description
Instead of a selection box next to the control panel buttons, a banner replacing the column headers is displayed at the top of the list. It behaves exactly the same as the original selection box. Part of task 2185145
This change updates an internal Web Studio report editor test to match the latest image selection behavior. It helps keep automated checks reliable after the media dialog now selects images immediately in single-image mode.
Original PR description
In odoo/odoo#45174 the media-dialog behaviour was changed so that an image is selected immediately when it is clicked and the dialog is not in 'multi-image mode', as such, a test had to be adapted so that it no longer tries to click that button. Additionally, the test tries to click the first attachment using domUtils.click, which checks for visibility, but that same PR makes it so that attachments are not displayed until their image is loaded, so we also have to remove the d-none class before trying to click. task-2091417
This change helps prevent catchall and bounce email aliases from being reused where they could conflict with existing aliases. It also removes unnecessary shared demo aliases so email routing is clearer and less prone to mistakes.
Original PR description
PURPOSE: Prevent from re-using catchall/bounce alias SPECIFICATION: When setting the Catchall and bounce ICP to a given value, we could check if it's already used for an alias, and do the same when changing an alias value, check if it's the same than the Catchall and bounce ICP. LINKS: TaskID: 2160070 Closes https://github.com/odoo/enterprise/pull/9211
Point of Sale loyalty programs are easier to configure, with clearer rule handling and fixed point awards when conditions are met. Reward point spending is also more predictable, varying by reward type and whether it applies to an order or specific order lines.
Original PR description
Changed the view in the back end and removed the point per product and currency earned. Changed the way we manage rules. Instead of adding point per product and currency, we give a a fixed amount if the rules is valid or not. If the rules is valid, we can choose to add point one or multiple time this amount. We can also choose to validated rules only if the previous one are valid. The reward points consumption is changed too. When we use percentage if the reward is on the order, we remove a fix amount of points. If the reward is on the order line, we remove the amount of product * nb of points. When we use fixed price, we just remove the fixed amount. task-id: 2069831
Six payment terminals in Point of Sale now use the TIM connection method instead of the older MPD integration. This should improve reliability and simplify setup because the payment terminal can connect through the available JavaScript SDK without requiring an IoT Box.
Original PR description
Replace the MPD integration for Six payment terminals by TIM. The MPD server apparently has connection issues + the TIM protocol has a JS SDK so it doesn't require an IoT Box. TaskID: 2188566
Resolved issues and error corrections
This fix ensures that when certain add-ons are uninstalled, records using options added by those add-ons are cleaned up safely. It reduces the risk of uninstall errors or leftover data across shipping providers, payments, payroll, check printing, marketing SMS, and VoIP-related modules.
Original PR description
See https://github.com/odoo/odoo/pull/46325
List views with a search panel now stay within the phone screen width when their content is wider than the display. This prevents the whole page from scrolling sideways and keeps navigation more comfortable on mobile devices.
Original PR description
When a list view has a (left) search panel and the content is too wide for the screen (like on mobile), a page-wide horizontal scroll is triggered. This commit fixes it by forcing the list view to match the viewport's width, forcing the scroll only for its content. Task ID: 2185145
Code cleanup and technical improvements
This change updates how search panel range selection is called so it stays aligned with the latest platform behavior. It is a minor internal adjustment that helps keep related views and filters working consistently without changing day-to-day business workflows.
Miscellaneous changes
Steps to reproduce the bug: - Let's consider a begian company C - Let's consider a french customer P with a VAT number - Let's consider a product PR with 100€ as sales price - Create a customer invoice I1 with P and 0% EU M as tax and valid it - Create a customer invoice I2 with P and 0% EU T as tax and valid it - Go to Partner VAT Intra Bug: Code T and inta code 46T were used for I1 instead of L and 46L No code no intra code were used for I2 instead of T and 46T opw:2224381 F
Original PR description
Steps to reproduce the bug: - Let's consider a begian company C - Let's consider a french customer P with a VAT number - Let's consider a product PR with 100€ as sales price - Create a customer invoice I1 with P and 0% EU M as tax and valid it - Create a customer invoice I2 with P and 0% EU T as tax and valid it - Go to Partner VAT Intra Bug: Code T and inta code 46T were used for I1 instead of L and 46L No code no intra code were used for I2 instead of T and 46T opw:2224381 Forward-Port-Of: odoo/enterprise#9545
Forward-Port-Of: odoo/enterprise#9229
Original PR description
Forward-Port-Of: odoo/enterprise#9229
… direct debits SEPA DD batch payments are currently not allowed if sdd mandate partner bank has no BIC. BIC are not mandatory, it should be allowed. BIC constraints where remove for SEPA transfers in task 2056370 commit https://github.com/odoo/enterprise/commit/168a8ac7effeadc830fb32ed6b693cbd48a60a58 A constraint on SEPA batch payments was erroneously added back in https://github.com/odoo/enterprise/commit/b5d0420cb27aaef225c77b5f2b07657f8b9866a8 Task : 2226376 Forward-Port-Of: odoo
Original PR description
… direct debits SEPA DD batch payments are currently not allowed if sdd mandate partner bank has no BIC. BIC are not mandatory, it should be allowed. BIC constraints where remove for SEPA transfers in task 2056370 commit https://github.com/odoo/enterprise/commit/168a8ac7effeadc830fb32ed6b693cbd48a60a58 A constraint on SEPA batch payments was erroneously added back in https://github.com/odoo/enterprise/commit/b5d0420cb27aaef225c77b5f2b07657f8b9866a8 Task : 2226376 Forward-Port-Of: odoo/enterprise#9527
Prevent tax on module update to avoid the `auto_apply` feature turned off silently. opw-2222643 Forward-Port-Of: odoo/enterprise#9433
Original PR description
Prevent tax on module update to avoid the `auto_apply` feature turned off silently. opw-2222643 Forward-Port-Of: odoo/enterprise#9433