Cédric Krier
082564ceda
Convert account move line check_modification into on_modification
...
The method is calling validate_move which test the value in the database but
check_modification is called before the update of the database for write.
But on_modification is always called after the database modification.
Closes #15157
(grafted from a4629adf43a5dbf915a7eb031ae01e5763004396)
--HG--
branch : 8.0
2026-10-09 23:28:16 +02:00
Cédric Krier
a9448b7ec8
Cast currency rounding when comparing against sum of debit - credit for SQLite
...
The Decimal value is adapted as string for SQLite backend so without column
affinity to trigger conversion, SQLite compares REAL against TEXT. And for
SQLite's comparison ordering, numeric values sort before text values.
Closes #15158
(grafted from 5c67a5358f10ebc9192f680acdc9e61b976719fc)
--HG--
branch : 8.0
2026-10-09 23:25:45 +02:00
Cédric Krier
57e8b983b7
Use binary version of psycopg for tests
...
(grafted from 7868852522d26ff069aebcc03ae73d98abe97879)
--HG--
branch : 8.0
2026-07-17 22:11:32 +02:00
Cédric Krier
db9d78dbe5
Increase version number
...
--HG--
branch : 8.0
2026-07-15 19:39:41 +02:00
Cédric Krier
e648ec687b
Prepare release account-8.0.3
...
--HG--
branch : 8.0
2026-07-15 19:39:20 +02:00
Cédric Krier
ebed93c61a
Define index using COALESCE for nullable Char fields
...
Closes #14909
(grafted from 525198c97acdd19820d581411b3af0f5bb6e4237)
--HG--
branch : 8.0
2026-07-14 21:14:05 +02:00
Cédric Krier
6c11480447
Replace getattr by hasattr in general journal report
...
Closes #14929
(grafted from 7e1c7cb2a0f2d3013bb83388b0212fa32a0f6c25)
--HG--
branch : 8.0
2026-07-03 13:37:38 +02:00
Cédric Krier
29ba2841bd
Increase version number
...
--HG--
branch : 8.0
2026-07-01 23:12:37 +02:00
Cédric Krier
f20acc5f91
Prepare release account-8.0.2
...
--HG--
branch : 8.0
2026-07-01 23:12:26 +02:00
Cédric Krier
35291a25e2
Replace getattr by hasattr in report
...
(grafted from 1a0574d67704d7acbd7c224d906a4be12aaf3423)
--HG--
branch : 8.0
2026-06-09 13:01:23 +02:00
Cédric Krier
f812dd6da9
Call the same super method for validate_fields of account move line
...
Closes #14901
(grafted from e8394b1a0c0f3b7b3266a9bbb65d84b90a5f0e7e)
--HG--
branch : 8.0
2026-06-18 14:37:36 +02:00
Cédric Krier
8123288003
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
(grafted from 2a1ecd1da4a1eca4b01666ff359b7b3424d058bd)
--HG--
branch : 8.0
2026-06-16 13:19:12 +02:00
Cédric Krier
16005ba031
Skip second update of chart of account when template is overridden
...
Closes #14879
(grafted from 95fb6332fd9bc92f81a87d0c07ae814ae69ed059)
--HG--
branch : 8.0
2026-06-09 10:48:51 +02:00
Cédric Krier
ca293f43e2
Increase version number
...
--HG--
branch : 8.0
2026-06-18 21:50:42 +02:00
Cédric Krier
5f877783e5
Prepare release account-8.0.1
...
--HG--
branch : 8.0
2026-06-18 21:50:31 +02:00
Cédric Krier
ac029c3f22
Convert toolbar into mutable objects before modification
...
Since 619fd425e3bb the toolbar may be immutable when it comes from the cache.
Closes #14881
(grafted from 9e8d1bca2c7fd2fc4ce70284e069d4b06f5ec810)
--HG--
branch : 8.0
2026-06-08 09:09:23 +02:00
Cédric Krier
35e4dac5d6
Fix computation of documentation series for odd minor version
...
(grafted from f4d6cf9d57ce7c69bcde185f933f866c0dd40301)
--HG--
branch : 8.0
2026-04-20 21:23:36 +02:00
Cédric Krier
045421c749
Increase version number
...
--HG--
branch : 8.0
2026-04-20 21:01:58 +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