Commit Graph
307 Commits
Author SHA1 Message Date
Cédric Krier 6b99dc69cc Use binary version of psycopg for tests 2026-07-17 22:11:32 +02:00
Cédric Krier 5f53ac1629 Add menuitem to the documentation of the creation of account move from template 2026-07-07 19:11:07 +02:00
Cédric Krier 4572c4e3e5 Remove "close" prefix to processing menu entries of accounting 2026-07-07 19:10:08 +02:00
Cédric Krier 087db7dfcb Set reconcile wizard as first menu entry for account processing 2026-07-07 19:08:34 +02:00
Cédric Krier ff0cc1a6b9 Remove account prefix to account moves menu entry 2026-07-07 19:11:56 +02:00
Cédric Krier a96cb0a84f Replace open journal wizard by a context model
Closes #14937
2026-07-07 19:06:14 +02:00
Cédric Krier 24405399a0 Show companies field of cron only for methods that need them
Closes #14952
2026-07-13 15:33:35 +02:00
Cédric Krier 91434daade Define index using COALESCE for nullable Char fields
Closes #14909
2026-06-24 22:07:52 +02:00
Cédric Krier 60f9a5c993 Optimize search on account's code
Closes #14910
2026-06-24 22:00:10 +02:00
Cédric Krier fe47b03167 Replace getattr by hasattr in general journal report
Closes #14929
2026-07-03 13:37:38 +02:00
Cédric Krier 80a69bb67d Replace getattr by hasattr in report 2026-06-09 13:01:23 +02:00
Cédric Krier 897a8acbf4 Call the same super method for validate_fields of account move line
Closes #14901
2026-06-18 14:37:36 +02:00
Cédric Krier 724eb420e4 Filter lines by reconciliation date to calculate payable/receivable of party
The lines reconciled after the date should be included in the sum as the other
line may be filtered.

Closes #14857
2026-05-21 16:13:34 +02:00
Cédric Krier e531835283 Use also maturity date to calculate reconciliation date 2026-06-05 15:50:42 +02:00
Cédric Krier dccf30db96 Use new non-readonly transaction to create journal-period from opening wizard
Since 088e367462ce the execution of the wizard is on a readonly transaction
which prevents to insert in the database.

Closes #14894
2026-06-16 13:19:12 +02:00
Cédric Krier 0c1652ca99 Skip second update of chart of account when template is overridden
Closes #14879
2026-06-09 10:48:51 +02:00
Cédric Krier 77073c56e4 Improve help text for the tax rule fields on party
Closes #12674
2026-04-14 15:19:59 +02:00
Cédric Krier 8dfa6915b7 Convert toolbar into mutable objects before modification
Since 619fd425e3bb the toolbar may be immutable when it comes from the cache.

Closes #14881
2026-06-08 09:09:23 +02:00
Cédric Krier c92f64c1d6 Use join to calculate account party of general ledger line 2026-05-11 16:01:30 +02:00
Cédric Krier ddc9186416 Print general ledger lines per party for account with party required
Closes #14828
2026-05-11 15:51:51 +02:00
Cédric Krier 9d33e837fe Order the lines of the general ledger account
They must use the same order as the order used to calculate the cumulative
balance.

Closes #14829
2026-05-11 15:50:41 +02:00
Cédric Krier 5f56aa0769 Add row factory to cursor
Closes #14797
2026-06-04 23:41:21 +02:00
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