Daily updates from Odoo
Navigate
Branch
Monday, October 12, 2020
7 changes
Code cleanup and technical improvements
Dashboards and Studio have been adjusted to work with the updated graph display engine. This keeps embedded charts and graph view editing working smoothly after the underlying technology change.
Original PR description
In https://github.com/odoo/odoo/pull/54009, the GraphRendererWidget has been converted into an OWL component. The present PR brings the necessary changes in the modules web_dashboard and web_studio.
Miscellaneous changes
This commit fixes the multi creation of several social.posts. It did not work because of a failure to create associated utm.sources. Task #2206496 Forward-Port-Of: odoo/enterprise#13889 Forward-Port-Of: odoo/enterprise#12324
Original PR description
This commit fixes the multi creation of several social.posts. It did not work because of a failure to create associated utm.sources. Task #2206496 Forward-Port-Of: odoo/enterprise#13889 Forward-Port-Of: odoo/enterprise#12324
Currently when the user is creating a custom model through M2O and M2M custom fields, there are no access rights created. So in this commit access rights are added when the user is created a custom model through M2O and M2M custom fields. TaskID: 2342353 Forward-Port-Of: odoo/enterprise#13480
Original PR description
Currently when the user is creating a custom model through M2O and M2M custom fields, there are no access rights created. So in this commit access rights are added when the user is created a custom model through M2O and M2M custom fields. TaskID: 2342353 Forward-Port-Of: odoo/enterprise#13480
Behavior prior to this fix: With a large number of planning_slot entries, the compute_overlap_slot_count method takes a long time to run. Behavior after this fix: The query was limited to retrieve only the ids for the records that we are computing (in fact the parameter was already there, so it's likely an oversight that it was not included in the query). Execution time on the customer database was reduced from 4 seconds to 0.2 second. See also https://github.com/odoo/enterprise
Original PR description
Behavior prior to this fix: With a large number of planning_slot entries, the compute_overlap_slot_count method takes a long time to run. Behavior after this fix: The query was limited to retrieve only the ids for the records that we are computing (in fact the parameter was already there, so it's likely an oversight that it was not included in the query). Execution time on the customer database was reduced from 4 seconds to 0.2 second. See also https://github.com/odoo/enterprise/pull/13969 and https://github.com/odoo/enterprise/pull/13968 for other fixes related to the same ticket. opw-2349735 Forward-Port-Of: odoo/enterprise#13973 Forward-Port-Of: odoo/enterprise#13970
Refactoring the pos to use owl misplaced the 'points' elements making the styles ineffective. This commit puts the 'points' elements to their right places. This is forward-port of https://github.com/odoo/enterprise/pull/13117 Forward-Port-Of: odoo/enterprise#13943
Original PR description
Refactoring the pos to use owl misplaced the 'points' elements making the styles ineffective. This commit puts the 'points' elements to their right places. This is forward-port of https://github.com/odoo/enterprise/pull/13117 Forward-Port-Of: odoo/enterprise#13943
task-2344226 task-2282322 (not empty body needed) Part of task-2348400 (clientHeight) Forward-Port-Of: odoo/enterprise#13710
Original PR description
task-2344226 task-2282322 (not empty body needed) Part of task-2348400 (clientHeight) Forward-Port-Of: odoo/enterprise#13710
Since the remove of jstz library from website module in COM (see linked PR), and since the timezone can be retrieved using another lib, jstz usage can be removed. Linked COM PR: 57103 Task ID: 2333825 Forward-Port-Of: odoo/enterprise#12963
Original PR description
Since the remove of jstz library from website module in COM (see linked PR), and since the timezone can be retrieved using another lib, jstz usage can be removed. Linked COM PR: 57103 Task ID: 2333825 Forward-Port-Of: odoo/enterprise#12963