Commit Graph
285 Commits
Author SHA1 Message Date
Cédric Krier 5e3c4ee93c Fix computation of documentation series for odd minor version 2026-04-20 21:23:36 +02:00
Cédric Krier d8594bd9fd Increase version number 2026-04-20 21:08:15 +02:00
Cédric Krier 7f0d38f477 Prepare release 8.0.0 2026-04-20 20:10:13 +02:00
Cédric Krier de1bb5d5d9 Update translations [skip ci] 2026-04-20 10:38:52 +02:00
Cédric Krier 0f5f326964 Permit only valid lines to be selected for reconciliation
Closes #14703
2026-03-24 16:57:31 +01:00
Nicolas Évrard 502e2d5ecb Create a hook to compute the reverse tax and amount from the tax type
Closes #14681
2026-03-16 15:54:38 +01:00
Cédric Krier 43cf9b7634 Commit after each reconciliation of the automatic reconciliation scheduled task
This avoid having a long running transaction on large database but keep sharing
most of the code with the wizard.

Closes #14674
2026-03-13 11:52:40 +01:00
Cédric Krier 39a22ae74f Use python3 to launch build 2026-03-26 00:32:49 +01:00
Cédric Krier 94c4f0a9e6 Rewrite coverage paths
Since tox is running tests on the installed package, the coverage paths are no
more relative to the repository root.
2026-03-25 19:39:52 +01:00
Cédric Krier 145ce8f2f8 Make retrieval of metadata via build really quiet 2026-03-22 09:07:23 +01:00
Cédric Krier 5310b00496 Remove grouped_slice per IN_MAX
The usage of ``grouped_slice`` without size is deprecated since `=
ANY(ARRAY[%s])` is used for PostgreSQL and SQLite is used only for tests.

The ``Database.IN_MAX`` is replaced by ``backend.MAX_QUERY_PARAMS`` which is a
more accurate limit of the backend.
The SQLite limits is indeed SQLITE_MAX_EXPR_DEPTH so we use a empirical value.
2026-03-22 21:05:26 +01:00
Cédric Krier 0da67bce21 Deprecate reduce_ids for SQL_OPERATORS['in']
Closes #12989 #13897
2025-12-26 10:57:44 +01:00
Nicolas Évrard 299dd6b1c9 Update to Psycopg 3
Closes #10901
2026-03-22 19:53:32 +01:00
Cédric Krier 7fb5a4a3de Do not use Literal to count in SQL
The * is not actually a parameter of the aggregate function so it is better to
let python-sql manage it with its default value.
2025-12-25 09:47:23 +01:00
Cédric Krier d3c8a8e55d Add support for Python 3.14 2026-03-21 09:02:25 +01:00
Cédric Krier 42b0fc7061 Remove support for Python 3.9 2026-03-21 08:48:06 +01:00
Cédric Krier e15c0b7d7a Upgrade to pyproject using hatchling as build-system 2026-03-21 18:46:34 +01:00
Nicolas Évrard d6dc19b523 Skip the reconciliation of already reconciled lines with debit == credit == 0
Closes #14679
2026-03-16 12:28:56 +01:00
Cédric Krier a49ee526d2 Order Account Parties of General Ledger by party before id by default
Closes #14669
2026-03-11 16:03:00 +01:00
Cédric Krier 9821476565 Show account parties in ledgers when they contain lines 2026-03-11 15:20:41 +01:00
Cédric Krier 4c7f871e60 Generate an Account Party entry also for party having a move line in a children account
Closes #14668
2026-03-11 15:59:05 +01:00
Cédric Krier b58049e47e Use flat balance for general ledger
Closes #14294
2026-03-11 12:51:12 +01:00
Cédric Krier af2e06bb32 Set headers and restrict to 1 worker when checking documentation link
This follows the wikipedia robot policy:
https://wikitech.wikimedia.org/wiki/Robot_policy

Closes #14637
2026-03-02 10:58:19 +01:00
Cédric Krier eed012c24f Add optional account to the list of payable/receivable lines
Closes #14582
2026-02-05 15:40:29 +01:00
Cédric Krier b27daaf806 Fix typo in the class name of balance sheet comparison context 2026-02-26 09:35:20 +01:00
Adrià Tarroja Caubet fc02257656 Test model context in type statement report against the right name of context
There is a typo in the model context of 'account.balance_sheet.comparison.context'.

Closes #14628
2026-01-08 17:37:09 +01:00
Cédric Krier f6b1fdd756 Enforce utf-8 encoding for account chart generated by xsltproc
Closes #14617
2026-02-20 09:59:42 +01:00
Adrián Bernardi b7915d38ea Use the same context for the account getter and searcher of general ledger
Closes #14590
2026-02-19 13:07:37 +01:00
Cédric Krier aee7fa10fd Update number next instead of internal when migrate move's sequence to strict
The number next has a default value which override the internal value when the
setter is called.

Closes #14545
2026-01-23 16:05:16 +01:00
Cédric Krier 50bb0e37d7 Copy company when migrating move sequence of fiscal year and period to strict
Closes #14545
2026-01-23 15:48:44 +01:00
Cédric Krier 08915bb5ad Unpack table and clause when converting domain for payable/receivable date
Closes #14533
2026-01-22 13:54:58 +01:00
Cédric Krier 70701c14e4 Add depends on methods of TaxableMixin 2026-01-17 12:54:09 +01:00
Cédric Krier 74e7690c04 Add cron job to reconcile move lines
Closes #14468
2026-01-06 11:38:37 +01:00
Cédric Krier 353cfbdd5c Always switch to the next account party when lines have been reconciled
Closes #14467
2026-01-05 23:58:44 +01:00
Cédric Krier 9fdb983f99 Do not always consider account with party required when reconcile
fe8ae43ad9e7 left a debug clause that skips the test.
2026-01-05 00:41:31 +01:00
Cédric Krier ab1b43f676 Do not return None as party to reconcile
Closes #14438
2026-01-05 00:38:37 +01:00
Cédric Krier 122ade0b30 Increase version number 2025-12-15 21:34:54 +01:00
Cédric Krier 692810e7b8 Prepare release 7.8.0 2025-12-15 20:17:16 +01:00
Cédric Krier 954f137e65 Update translations [skip ci] 2025-12-15 18:00:12 +01:00
Cédric Krier f8b3b9ce3a Replace starting/ending date by start/end date
These are the most frequent terms used.
2025-12-08 10:29:42 +01:00
Cédric Krier bc8a84feaa Standardise the skipping of warnings in the test scenario 2025-11-27 16:59:05 +01:00
Cédric Krier 73b5bd429f Do not delete on cascade parts of a chart of account
Closes #14399
2025-11-27 15:12:45 +01:00
Cédric Krier c8f3df9390 Do not restrict deleting template of chart of account
Closes #14398
2025-11-27 15:10:27 +01:00
Cédric Krier 19667f95fc Add test to check replaced field of replace party wizard 2025-10-31 12:03:02 +01:00
Cédric Krier 6ebc55a14e Add missing depends on currency to the TaxableMixin._round_taxes method
Closes #14348
2025-11-04 10:28:04 +01:00
Cédric Krier 0642af4150 Do not migrate the account periods to a strict sequence if there is no sequence
Closes #14308
2025-10-22 12:37:59 +02:00
Cédric Krier 47b79131dc Fallback to effective date to filter line for party payable/receivable today
This implements the same behavior as the payable/receivable date in
7caa97a96b95 ensuring that the cumulate balance is the same as the today field.

Also it allows to customize the date considered as today from the context date
key or _datetime (when browsing history).

Closes #14228
2025-09-13 11:22:40 +02:00
Nicolas Évrard 9839c0902d Add test that fields in __access__ are required
Closes #14261
2025-09-29 13:16:49 +02:00
Nicolas Évrard 818f26253a Remove has_window_functions on Database 2025-10-04 22:45:53 +02:00
Cédric Krier c9980988cc Store in the cache all the lines to reconcile when searching for the best reconciliation
When the last line is pop from the debit/credit list, the access to the balance
may invalidate the cache of other records to fill the cache of the last one.
This may become very inefficient on large list of lines.
So by setting the record cache size to the size of the list of lines, we ensure
that no cache is invalidated during the calculation.

Closes #14230
2025-09-15 13:18:39 +02:00