Commit Graph
218 Commits
Author SHA1 Message Date
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
Cédric Krier eda1f8e7de Merge tax line with the same key but computed separately
Closes #13777
2024-12-24 14:54:47 +01:00
Cédric Krier 801a06970b Use proper default value for Eval on account move 2024-12-26 18:55:47 +01:00
Cédric Krier 643dc186cd Get context from default config to get chart ID to create
49ca1e40161c replace the .find call by get_id which requires a context.
2025-01-01 19:59:35 +01:00
Cédric Krier fabb5340e9 Always synchronize XML data with database
Closes #13668
2024-11-11 18:24:06 +01:00
Cristina Sangrador 2c0f7be02d Do not try to create periods when renewing a fiscal year without periods
The computation of interval raises a ZeroDivisionError because the length of
periods is 0.

Closes #13671
2024-12-28 14:00:38 +01:00
Cédric Krier 5299f36eb9 Include amount in record name of account move line
Only the account code is used to limit the size of the name.
2024-10-30 16:19:57 +01:00
Cédric Krier b26ff9757e Add metadata columns to ModelSQL with table query
Closes #9414
2024-10-25 00:24:39 +02:00
Cédric Krier c40169b8a9 Do not call next_party for account without party required
next_party assign a list with None as parties for the account without party
required. But since 81e16830e46e it is no more valid.
Instead we need to manage account without party explicitly without calling
next_party.

Closes #13760
2024-12-17 17:31:57 +01:00
Cédric Krier c833195650 Set default integer digits to None 2024-11-25 23:47:12 +01:00
Cédric Krier d86eeeb5c5 Retrieve tax rounding configuration using the company of the taxable
Closes #13688
2024-11-15 18:06:45 +01:00
Cédric Krier e9104be1ee Round together only taxable lines with the same taxes and sign
The rounding error must not be distributed between taxable lines having
different taxes otherwise the tax amount is not stable for the same base
amount.

Closes #13673
2024-11-12 17:39:42 +01:00
Cédric Krier fe852af844 Merge move description with description on general ledger line
By using the move origin as fallback of the line origine, the description is
computed as the move description.

Closes #13696
2024-11-20 15:14:49 +01:00
Cédric Krier ccd026c9c6 Compute maturity date of grouped account move lines per debit/credit
Closes #8876
2024-10-23 20:02:00 +02:00
Cédric Krier 21d30ebd42 Use defaultdict when computing grouping move lines 2024-10-23 19:54:03 +02:00
Cédric Krier 6e3817ba05 Add equivalent domain of SQL constraints
When possible we should also add a domain so the client can provide better
feedback to the user.

Closes #9432
2024-10-27 16:20:45 +01:00
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier d194910b72 Do not ask question on warning message about closed period
The client already ask a generic question to keep proceeding.

Closes #8806
2024-10-23 19:12:31 +02:00
Cédric Krier ab3fecb282 Increase version number 2024-11-04 18:51:20 +01:00
Cédric Krier dc470fe1f4 Prepare release 7.4.0 2024-11-04 18:23:40 +01:00
Cédric Krier 015c68f2c6 Update translations 2024-11-02 16:10:36 +01:00
Cédric Krier 2612aced12 Fix missing target field in operand of domain 2024-11-01 09:00:07 +01:00
Korbinian Preisler cbee496373 Add German translation of universal chart of account 2024-10-31 09:45:45 +01:00
Sergi Almacellas Abellana 954c6c233a Add Spanish translation of universal chart of account 2024-10-31 09:25:58 +01:00
Cédric Krier 8e5b459d76 Add French translation of universal chart of account 2024-10-30 22:55:00 +01:00
Cédric Krier ae26cabdb0 Standardize and minimize output of XLST
This prevent to regenerate existing versions because a new version is added.
2024-10-30 19:23:06 +01:00
Korbinian Preisler e9f5155062 Fix typo in word Litigation of universal account chart template 2024-10-29 20:53:20 +01:00
Cédric Krier e5658ccf92 Fix missing target field in operand of domain 2024-10-30 11:24:15 +01:00
Cédric Krier f10ee771e0 Round payable and receivable balance on account move line 2024-10-08 14:43:51 +02:00
Cédric Krier 6ac2e5001f Order Non-operating section account type after expense 2024-10-14 13:52:17 +02:00
Cédric Krier a3ada4ef98 Replace minimal by universal chart of account
Closes #9642
2024-10-13 23:55:37 +02:00
Cédric Krier 1e7dd3c351 Use SQL constraint to enforce unique usage of post move sequence 2024-10-10 00:34:19 +02:00
Cédric Krier 6f4fbb008a Replace dates checks of fiscal year and period by overlap SQL constraint 2024-10-09 17:29:27 +02:00