Sunday, August 27, 2023
3 changes · master
Miscellaneous changes
Description of the issue/feature this PR addresses: Use the operator inselect instead of in with a read() before it. This ensures a subquery is used instead of two separate queries. When you have a user that is following thousands of tasks and the security filter depends on this search, all queries are very slow. Using a subquery prevents from reading these ids and sending back a very long query to the database. Current behavior before PR: The read() function returns thousands of ids for
Original PR description
Description of the issue/feature this PR addresses: Use the operator inselect instead of in with a read() before it. This ensures a subquery is used instead of two separate queries. When you have a user that is following thousands of tasks and the security filter depends on this search, all queries are very slow. Using a subquery prevents from reading these ids and sending back a very long query to the database. Current behavior before PR: The read() function returns thousands of ids for some users, the generated query is huge. This function is used for security filters of project.task. Desired behavior after PR is merged: Generate just one query when reading tasks without transfering all ids. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#132587 Forward-Port-Of: odoo/odoo#121561
Carvajal has deprecated one of its web services for the Electronic Invoice workflow, and all customers have migrated to the remaining service at wscenf.cen.biz. This commit removes the creation of the deprecated web service parameter and updates the system to use the single active web service all the time. - Removed the creation of the deprecated web service parameter - Removed the condition that selected between two web services - Updated the system to always use the single active web serv
Original PR description
Carvajal has deprecated one of its web services for the Electronic Invoice workflow, and all customers have migrated to the remaining service at wscenf.cen.biz. This commit removes the creation of the deprecated web service parameter and updates the system to use the single active web service all the time. - Removed the creation of the deprecated web service parameter - Removed the condition that selected between two web services - Updated the system to always use the single active web service Task-Id: 3464400 Forward-Port-Of: odoo/enterprise#46329 Forward-Port-Of: odoo/enterprise#45800
…er reconnect Reconnect is the action where the customer will try to reset the state of the connection between his database and odoofin to 'connected'. This can happen for example after a database failed to pay for enterprise subscription and therefore the connection was deactivated and it needs to be reactivated using reconnect once the customer has fix his subscription problem. What we want is that after such a reconnect action occurs, we fetch directly the new transactions to prevent custo
Original PR description
…er reconnect Reconnect is the action where the customer will try to reset the state of the connection between his database and odoofin to 'connected'. This can happen for example after a database failed to pay for enterprise subscription and therefore the connection was deactivated and it needs to be reactivated using reconnect once the customer has fix his subscription problem. What we want is that after such a reconnect action occurs, we fetch directly the new transactions to prevent customer to wait for the next cron iteration Forward-Port-Of: odoo/enterprise#44953