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
Cédric Krier
20a3f53d2b
Do not filter with context lines for aged balance
...
Closes #12210
2024-07-26 23:25:02 +02:00
Cédric Krier
147be849f4
Prevent reconcile lines using write-off with the same account
...
Closes #13425
2024-07-27 15:15:55 +02:00
Sergi Almacellas Abellana
0c5707f0fe
Unify reopen usage
2024-07-13 19:54:41 +02:00
Cédric Krier
5823bce6cf
Add tools to apply types to SQLite select queries
2024-07-04 08:45:19 +02:00
Cédric Krier
d95bf48e93
Allow Account group to run open type wizard
...
As account group has only read access to account type, it needs to be given
access to the open type wizard to run it.
Closes #13342
2024-06-17 15:40:28 +02:00
Juan Jose Pablos
fbe87b99c8
Replace link to configuration document by ref to labels
2024-07-08 19:00:26 +02:00
Cédric Krier
f0b1c9d590
Align label in the middle of image
2024-06-25 12:28:11 +02:00
Cédric Krier
59b74452e6
Add test scenario for reconciliation of empty lines on posting
2024-06-28 01:00:22 +02:00
Richard Vong
e48510503f
Do not try to reconcile posted lines without debit/credit but with second currency amount
...
Closes #13293
2024-06-28 00:59:01 +02:00
Sergi Almacellas Abellana
732af53046
Replace Accounting Party by Accounting group
...
There is no need to use a dedicated group for party fields as it can use the
Accounting group
2024-05-13 14:11:20 +02:00
Cédric Krier
9e759e9604
Sort posted lines to reconcile at last by party
...
The lines may or may not have a party depending on the account.
So the order key must avoid compare party instance with None value.
Closes #13268
2024-05-21 10:12:46 +02:00
Cédric Krier
5035063b35
Check validity of description of move template
2024-05-10 16:06:31 +02:00