[FIX] account_journal_general_sequence: bottleneck at install

On databases with big amounts of account moves, installation would freeze Odoo for some minutes.

We skip now entry number computation at install, to avoid such cases.

@moduon MT-676
This commit is contained in:
Jairo Llopis
2022-06-03 12:39:52 +01:00
parent c545b674e8
commit 2ebd95053f
6 changed files with 67 additions and 14 deletions

View File

@@ -9,6 +9,7 @@
"author": "Moduon, Odoo Community Association (OCA)",
"license": "LGPL-3",
"external_dependencies": {"python": ["freezegun"]},
"maintainers": ["yajo"],
"depends": [
"account",
],