Commit Graph
208 Commits
Author SHA1 Message Date
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
Cédric Krier aafa890c5c Add depends on periods when changing company of tax code context
Since fa8f759f834b there is an assert to ensure that changing values of
xxx2Many can be done only if the field had a initial value.

Closes #13535
2024-09-30 17:22:37 +02:00
Cédric Krier d3cca51abc Create company and chart of account when activate modules in test scenario 2024-09-11 19:05:12 +02:00
Nicolas Évrard 6907ea5b7b Add warning when using implicit rec_name target for relational domain 2024-09-07 00:39:55 +02:00
Cédric Krier 62b079225f Remove $ before series in formatted document URL without base URL 2024-09-03 17:55:42 +02:00
Cédric Krier eefdb714b1 Group accounts per company when computing the balance, debit or credit
The Move.query_get relies on the contextual company to filter the lines.
So when computing an amount for an account, its company must be in the context
of the query_get call otherwise no lines will be selected and the amount is
always 0.

Closes #13483
2024-08-30 12:50:29 +02:00
Cédric Krier 1da4e8811e Group numbering account move when posting 2024-08-27 13:35:18 +02:00
Cédric Krier 2c87de506c Group numbering account move at creation 2024-08-25 10:58:04 +02:00
Cédric Krier 9dc25266b0 Implement a strategy of O(n) to find the best combination of lines to reconcile
The combination implementation is replaced by strategy that search the
smallest remaining from the order lines by removing the last debit or credit
depending on the remaining sign.

Closes #13451
2024-08-19 23:58:41 +02:00
Cédric Krier a2dfc4455b Refine index definition
- Set low and high cardinality to index usage
- Use Range usage for numerical expression instead of Equality
2024-07-27 18:36:14 +02:00
Cédric Krier b41ee38f1a Allow copying move from closed period
Closes #13361
2024-06-26 09:39:26 +02:00