300 Commits
Author SHA1 Message Date
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
Cédric Krier 275248478a Ensure the contextual company is not None and positive before using it
Closes #13868
2025-03-10 23:43:49 +01:00
Cédric Krier 1e151a15a2 Remove support for Python 3.8 2025-04-06 12:11:03 +02:00
Cédric Krier 6d8b42c687 Add support for Python 3.13 2025-04-06 12:10:20 +02:00
Cédric Krier 5aeff66acd Use ModelStorage hooks instead of extending create/write/delete 2025-04-06 00:14:17 +02:00
Cédric Krier 45122b77c0 Add on_write to ModelStorage 2025-02-24 13:39:52 +01:00
Cédric Krier 1772caec90 Clean migrations for series before 6.0 2025-01-04 00:19:42 +01:00
Nicolas Évrard cbdad75620 Remove old-style of super() calls 2025-04-04 00:45:18 +02:00
Cédric Krier e5c727a12f Add payable/receivable date on move line group
Same as 7caa97a96b95 but for move line group.
2025-03-27 23:53:17 +01:00
Cédric Krier 13dec41635 Use "Accounting" in the group names
Closes #13907
2025-03-08 09:47:54 +01:00
Cédric Krier 0fd308172e Use strict sequence to number account moves
Closes #12603
2025-02-11 12:04:55 +01:00
Cédric Krier 262a8b894b Add payable/receivable date
The date is the maturity date and if it is empty, fallback to the effective
date.
This gives a better chronology of the lines.
2025-02-14 10:43:15 +01:00
Cédric Krier 93b3d27117 Replace account move number by post number
Closes #13864
2025-02-11 12:50:48 +01:00
Cédric Krier 55bd6d327e Remove or convert company domain into context domain
Closes #10506
2025-01-21 13:39:30 +01:00
Cédric Krier 184536c72a Remove usage of getattr to access state view fields of wizard 2024-11-20 10:35:06 +01:00
Cédric Krier ecaf2bc391 Setup explicitly the accounts, parties and currencies of reconciliation wizard
It is better to not rely on missing the field on the state view but to have an
explicit transition to setup the values.
2024-11-20 10:32:24 +01:00
Udo Spallek b245323c30 Fix typo in alt text of documentation logo
Closes #13895
2025-02-28 00:49:48 +01:00
Cédric Krier 60cd69732f Try to reconcile only valid account move line
Closes #13847
2025-01-29 18:20:46 +01:00
Cédric Krier 709bebe701 Use base URL as logo link and include homepage in TOC
This way the navigation in the documentation is unified.
2025-02-09 15:19:19 +01:00