Jairo Llopis ed559bbb7b [IMP] account_reconciliation_widget: reduce heavy queries count
This specific query is quite expensive, and what's worse, it's also done twice: once to count records and once to get them.

By using a window function, we can get the count and results in one query, thus almost doubling performance in this operation.

Related resources:

- [Explanation](https://stackoverflow.com/a/22353886/1468388).
- [Explain of the 1st SELECT COUNT(*), before the patch](https://explain.dalibo.com/plan/TgL).
- [Explain of the 2nd SELECT, before the patch](https://explain.dalibo.com/plan/Yc9).
- [Explain of the new, unified SELECT, after the patch](https://explain.dalibo.com/plan/9MA).

@Tecnativa TT28595 TT29916 https://github.com/odoo/odoo/pull/73765
2021-07-15 13:02:44 +01:00
2021-07-12 14:33:34 +00:00
2020-10-08 21:05:56 +02:00
2020-10-08 21:05:56 +02:00
2021-05-14 18:36:31 +02:00
2020-10-08 21:05:56 +02:00
2021-05-14 18:36:31 +02:00
2020-11-01 21:36:19 +01:00
2020-12-11 19:26:44 +01:00
2020-10-08 21:05:56 +02:00
2020-10-08 21:05:56 +02:00
2020-10-08 21:05:56 +02:00
2021-07-14 17:14:28 +00:00

Runbot Status Build Status codecov Translation Status

account-reconcile

TODO: add repo description.

Available addons

addon version summary
account_reconcile_reconciliation_date 14.0.1.0.0 Track Reconciliation Date of Payments and Invoices
account_reconciliation_widget 14.0.1.1.6 Account reconciliation widget

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to OCA policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Description
Odoo account reconciliation modules (statements, data completion...)
Readme 12 MiB
Languages
JavaScript 38.6%
Python 33.9%
HTML 26.5%
SCSS 1%