Commit Graph
268 Commits
Author SHA1 Message Date
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
Cédric Krier 95456d6f92 Use tryton.cfg to register in the Pool 2025-09-18 16:42:29 +02:00
Cédric Krier 86c9db5ad9 Unpack move table when converting domain for payable/receivable date
Closes #14158
2025-08-23 21:21:10 +02:00
Adrià Tarroja Caubet 3ed4e9c168 Unpack tables move when ordering by payable_receivable_date
Closes #14158
2025-08-13 11:35:04 +02:00
Cédric Krier f958c59d05 Test if party is set before using its record name for reconciliation error message
Closes #14127
2025-07-30 15:12:15 +02:00
Cédric Krier da57dd5f78 Reset period of move when company is changed
Closes #13999
2025-05-05 16:26:06 +02:00
Cédric Krier 74186a04c8 Improve error message when delete or modify reconciled line 2025-05-21 17:15:31 +02:00
Cédric Krier b0f7d45254 Manage readonly wizard
readonly wizards do not check for write access on the active model.

Closes #13989
2025-04-29 09:31:05 +02:00
Cédric Krier 1bc9046fbe Add test scenario for tax test wizard 2025-05-30 21:36:23 +02:00
Cédric Krier a4a655b05e Use explicit key when computing taxes and object instead of dict
This defines explicitly the available attribute and unify the use the values as
tax line instead of the keys.
2025-05-30 21:35:55 +02:00
Cédric Krier cc8901276e Round only the tax amount of the line when rounding per line
If we round the tax amount already added to the other line, the result may vary
depending on the order of the lines.
This is because round half even is used so the result may depend on the already
summed tax amounts.

Closes #14047
2025-05-30 18:10:27 +02:00
Cédric Krier b859ee5074 Invert boolean operator when searching description with negative operator
Closes #14037
2025-05-27 19:57:03 +02:00
Cédric Krier 6e49fd3e79 Add closed constraint on default receivable/payable account of configuration storage
The same domain constraint from the multivalue field must be applied to the
storage field.
2025-05-25 17:09:45 +02:00
Cédric Krier 30c5744433 Fix message ID for unique constraint on move sequence of fiscal year
Closes #13996
2025-05-08 09:28:55 +02:00
Cédric Krier 5b01323986 Coalesce boolean account type columns on negative clause
In SQL the negation of NULL is still NULL.

Closes #13967
2025-04-11 09:24:13 +02:00
Cédric Krier ae5b18eba0 Increase version number 2025-04-28 16:40:56 +02:00
Cédric Krier 04487b81d4 Prepare release 7.6.0 2025-04-28 16:12:25 +02:00
Cédric Krier b85d6e9efa Update translations [skip ci] 2025-04-27 11:36:15 +02:00