Daily updates from Odoo
Navigate
Branch
Tuesday, October 18, 2022
17 changes
Enhancements to existing features
This update removes outdated internal event handling from the VoIP area that could contribute to memory leaks. It helps improve long-term reliability without changing how users interact with VoIP features.
Original PR description
These are deprecated since Owl 2, and lead to memory leak in the compatibility layer. This PR removes the last ones in the mail code. task-2877316 community: https://github.com/odoo/odoo/pull/103301
Messaging-related server calls were updated to use a stricter, named-parameter format. This improves consistency and maintainability behind the scenes, reducing the risk of errors as messaging features evolve.
Original PR description
community: https://github.com/odoo/odoo/pull/103295
Code cleanup and technical improvements
Push notifications now rely on a simpler Google REST API integration instead of the specialized Firebase Admin library. This reduces dependency complexity while keeping the notification capability available through a more common library.
Original PR description
This commit removes the support of the firebase_admin python library. Indeed, it was not adding much value compared to the much simpler implementation using the REST API. The usage of this REST API still requires the "google_auth" python library to be installed, but this one is much more common and available in debian repositories by default. Task-3000338
Miscellaneous changes
Before this commit, TestMailChannelExpand could fail non-deterministically: https://runbot.odoo.com/runbot/build/20182035 This happens because the tour could be in a state where it fetches channel being in a folded state, but then it replays outdated notifications that tells the channel is closed and then folded. If unlucky, tour might click on the "expand" button of the chat window when the chat window state transition from folded to closed, but hasn't replayed the transition to "folded"
Original PR description
Before this commit, TestMailChannelExpand could fail non-deterministically: https://runbot.odoo.com/runbot/build/20182035 This happens because the tour could be in a state where it fetches channel…
Before this commit, TestMailChannelExpand could fail non-deterministically: https://runbot.odoo.com/runbot/build/20182035 This happens because the tour could be in a state where it fetches channel being in a folded state, but then it replays outdated notifications that tells the channel is closed and then folded. If unlucky, tour might click on the "expand" button of the chat window when the chat window state transition from folded to closed, but hasn't replayed the transition to "folded". In this precise scenario, the click expand is ignored because the chat window does not exist. Note that chat window on UI is about to be removed, but it happens every animation frame, not immediately from a change of state. This explains why it's possible to click on "expand" button althougth there could be no chat window. This behaviour is correct. The problem is the "replaying" of outdated notifications. This should be solved in the implementation of bus, but in the mean time we fix the tour by clearing all bus notifications. Task-3030967 Forward-Port-Of: odoo/enterprise#32878
Move the Depreciation Date to first column of asset's depreciation board Task-id: None - correction pad Forward-Port-Of: odoo/enterprise#32661
Original PR description
Move the Depreciation Date to first column of asset's depreciation board Task-id: None - correction pad Forward-Port-Of: odoo/enterprise#32661
Since we already know the id, we shouldn't have to do a ilike on the whole table of `res.partner` when not needed. The search was previously done through the `filter_domain` on `<account.move.line>.name`, which adds a search on all accounts and all partners. This is still the default behavior when searching in the list view, which is not too annoying because we will have to search for it anyways if we don't know the `id` beforehand -- which is not the case here. Forward-Port-Of: odoo/enterpri
Original PR description
Since we already know the id, we shouldn't have to do a ilike on the whole table of `res.partner` when not needed. The search was previously done through the `filter_domain` on `<account.move.line>.name`, which adds a search on all accounts and all partners. This is still the default behavior when searching in the list view, which is not too annoying because we will have to search for it anyways if we don't know the `id` beforehand -- which is not the case here. Forward-Port-Of: odoo/enterprise#32873
Previous fix in https://github.com/odoo/enterprise/commit/2361672445286a4cea737aec3640e66e3894abba introduces autofocus on home-menu, because on desktop we want to quickly search a menu, see `o_menu_search_input` but this feature doesn't exist on mobile. So we have to fix this because setting the focus on this input opens the virtual keyboard. Note that we doesn't have this issues in Odoo 13 thanks to `d-none` on the parent element. Steps to reproduce: - On mobile device, open an app
Original PR description
Previous fix in https://github.com/odoo/enterprise/commit/2361672445286a4cea737aec3640e66e3894abba introduces autofocus on home-menu, because on desktop we want to quickly search a menu, see `o_menu_search_input` but this feature doesn't exist on mobile. So we have to fix this because setting the focus on this input opens the virtual keyboard. Note that we doesn't have this issues in Odoo 13 thanks to `d-none` on the parent element. Steps to reproduce: - On mobile device, open an app - Click on the home-menu icon - unwanted virtual keyboard appears Forward-Port-Of: odoo/enterprise#32881 Forward-Port-Of: odoo/enterprise#32815
in this commit, resolved add field issue in helpdesk ticket contact form. task - 2982150 Forward-Port-Of: odoo/enterprise#31728
Original PR description
in this commit, resolved add field issue in helpdesk ticket contact form. task - 2982150 Forward-Port-Of: odoo/enterprise#31728
Forward-Port-Of: odoo/enterprise#32820
Original PR description
Forward-Port-Of: odoo/enterprise#32820
Fix module info urls for rental app Forward-Port-Of: odoo/enterprise#32856 Forward-Port-Of: odoo/enterprise#32836
Original PR description
Fix module info urls for rental app Forward-Port-Of: odoo/enterprise#32856 Forward-Port-Of: odoo/enterprise#32836
Update the compute_counts in order to also take into account posted reversal when calculating depreciation_entries_count Forward-Port-Of: odoo/enterprise#32612
Original PR description
Update the compute_counts in order to also take into account posted reversal when calculating depreciation_entries_count Forward-Port-Of: odoo/enterprise#32612
Since https://github.com/odoo/enterprise/pull/32529, the historical data of test_sale_subscription were not properly created anymore. Forward-Port-Of: odoo/enterprise#32837
Original PR description
Since https://github.com/odoo/enterprise/pull/32529, the historical data of test_sale_subscription were not properly created anymore. Forward-Port-Of: odoo/enterprise#32837
If the worker crons are busy at the time of the trigger of the parse cron, it won't be processed right away. This makes the OCR feel slow as it can take multiple minutes before a worker cron is available again to process the cron and upload the documents to the server. In this new version, the cron will be manually executed upon clicking on the "Update" button when the document hasn't been uploaded yet. Forward-Port-Of: odoo/enterprise#32683
Original PR description
If the worker crons are busy at the time of the trigger of the parse cron, it won't be processed right away. This makes the OCR feel slow as it can take multiple minutes before a worker cron is available again to process the cron and upload the documents to the server. In this new version, the cron will be manually executed upon clicking on the "Update" button when the document hasn't been uploaded yet. Forward-Port-Of: odoo/enterprise#32683
This PR removes the dashboard view. The dashboard view has become useless with the advent of odoo spreadsheets where you can also have pivots, graphs, KPIs, etc., with all the power and flexibility of spreadsheets. This will also reduce the web client bundle size and the amount of code to maintain. Related https://github.com/odoo/odoo/pull/101771 Related https://github.com/odoo/upgrade/pull/3941 Forward-Port-Of: odoo/enterprise#31641
Original PR description
This PR removes the dashboard view. The dashboard view has become useless with the advent of odoo spreadsheets where you can also have pivots, graphs, KPIs, etc., with all the power and flexibility of spreadsheets. This will also reduce the web client bundle size and the amount of code to maintain. Related https://github.com/odoo/odoo/pull/101771 Related https://github.com/odoo/upgrade/pull/3941 Forward-Port-Of: odoo/enterprise#31641
The bank reconciliation widget is guessing the default partner of the statement line if not explicitely set. In that case, we want to filter the amls based on this partner. Forward-Port-Of: odoo/enterprise#32831
Original PR description
The bank reconciliation widget is guessing the default partner of the statement line if not explicitely set. In that case, we want to filter the amls based on this partner. Forward-Port-Of: odoo/enterprise#32831
With the recent css change the view had some problems: * The code and name were too far away from each other, * rate_ids layout was broken Forward-Port-Of: odoo/enterprise#32707
Original PR description
With the recent css change the view had some problems: * The code and name were too far away from each other, * rate_ids layout was broken Forward-Port-Of: odoo/enterprise#32707
The search for the consolidation account was only on the name, despite the fact that the code and the name were displayed in the search. Now typing the code of the account or the name allow to do an ilike search. Forward-Port-Of: odoo/enterprise#32455
Original PR description
The search for the consolidation account was only on the name, despite the fact that the code and the name were displayed in the search. Now typing the code of the account or the name allow to do an ilike search. Forward-Port-Of: odoo/enterprise#32455