Cédric Krier
3b29353565
Do not fail on leap day to create next fiscal year
...
Replace the year of a date is not safe, it is better to use relativedelta.
Closes #13064
(grafted from 4b19fb0bc801a784139c0c6245d8649480e13280)
--HG--
branch : 7.0
2024-02-29 15:36:16 +01:00
Maxime Richez
8f44c6b46a
Order journal by matching sequence when searching for match
...
Journals are ordered by default by name instead of matching sequence.
Closes #13001
(grafted from 8208738ff1889474331276024c531f914946856e)
--HG--
branch : 7.0
2024-02-12 23:22:23 +01:00
Cédric Krier
681a0247ab
Increase version number
...
--HG--
branch : 7.0
2024-01-16 00:24:28 +01:00
Cédric Krier
fa81e1bc5c
Prepare release account-7.0.3
...
--HG--
branch : 7.0
2024-01-16 00:24:14 +01:00
Cédric Krier
493d45366b
Return list of instance as result of test tax wizard
...
Since 0db956eb2505 the on_change_with for xxx2Many must return a list of
instances.
Closes #12852
(grafted from 78704afb76ef28e16c518b99d2aee4c84eb01bc9)
--HG--
branch : 7.0
2023-12-23 01:47:24 +01:00
Cédric Krier
c70507ac5d
Increase version number
...
--HG--
branch : 7.0
2024-01-01 13:11:43 +01:00
Cédric Krier
e4defc1227
Prepare release account-7.0.2
...
--HG--
branch : 7.0
2024-01-01 13:11:30 +01:00
Cédric Krier
113b73c866
Use 0 as fallback for missing debit or credit in on_change functions
...
Closes #12823
(grafted from bcff7d7cd008ddb4b8d9df3b63b6cecefcfce5c6)
--HG--
branch : 7.0
2023-12-12 17:02:31 +01:00
Cédric Krier
0ddca6da00
Increase version number
...
--HG--
branch : 7.0
2023-12-16 11:07:17 +01:00
Cédric Krier
cda7c9bd3b
Prepare release account-7.0.1
...
--HG--
branch : 7.0
2023-12-16 11:07:04 +01:00
Cédric Krier
701670f0e3
Update trees of chart of accounts with 2 passes
...
When a new parent is added to a tree template like types, taxes or tax codes,
the corresponding record of the new template parent is not yet created.
So we need to use a default value for the parent and update again the tree
after creating the new records.
Closes #12755
(grafted from 561f9c7dbdc2a2c39c1fe5f6bf7274d01ee9ebd6)
--HG--
branch : 7.0
2023-11-16 16:32:43 +01:00
Cédric Krier
6c91d493b6
Increase version number
...
--HG--
branch : 7.0
2023-10-30 18:49:03 +01:00
Cédric Krier
65f477f731
Prepare release 7.0.0
2023-10-30 18:17:32 +01:00
Cédric Krier
33de40f77b
Test to_date in context to get dates for general ledger
...
1b3d9d7a758f added the wrong test to exclude period and dates.
Closes #12629
2023-10-21 16:21:40 +02:00
Cédric Krier
c577fad900
Update translations [skip ci]
2023-10-28 14:15:23 +02:00
Cédric Krier
d10a47f7d1
Do not fail when reconciling an empty list
...
Closes #12626
2023-10-21 15:46:53 +02:00
Cédric Krier
4e010a988f
Add support for Python 3.12
2023-10-22 19:40:55 +02:00
Cédric Krier
e64dbbefa9
Test account reconcile scenario without party required
2023-10-11 18:35:03 +02:00
Cédric Krier
caf654f1ec
Set party clause to None when retrieve currencies to reconcile without party
...
Closes #12601
2023-10-11 18:34:32 +02:00
Cédric Krier
9cff1e0b62
Do not compute account party for general ledger line without party
...
Closes #12570
2023-10-05 23:18:51 +02:00
Cédric Krier
96a24bcaf6
Remove extra button group access
...
Since ab05d05bb811 there is no need to have access defined on button if they
are the same as the write access on the model.
Closes #12578
2023-09-20 09:45:20 +02:00
Cédric Krier
11caf1d821
Fix wording of description help of move template
2023-09-30 22:18:47 +02:00
Cédric Krier
590fbe3aa8
Use origin description as fallback description for account move and line
...
Closes #12571
2023-09-16 10:30:44 +02:00
Cédric Krier
42c9ffb209
Warn when cancelling, grouping, rescheduling or delegating move line with payment
2023-09-08 20:52:32 +02:00
Adrià Tarroja Caubet
0b08c2e786
Change currency exchange account order in form
...
Closes #12585
2023-09-20 17:41:09 +02:00
Cédric Krier
0cfc78cdad
Do not fail to set default fiscal year when context value is None
...
We can not compare contextual fiscalyear or period as positive if their values
have been set to None.
Closes #12502
2023-09-17 19:19:17 +02:00
Cédric Krier
523bcd4011
Use module name to build path for readthedocs requirements
2023-09-03 12:03:49 +02:00
Cédric Krier
6a06579e13
Use Sphinx book theme for documentation
2023-09-01 09:44:09 +02:00
Cédric Krier
14bc5d2a6c
Use selection widget for journal fields
...
It is expected to have only a small number of journals.
But also it is uncommon to create of a new journal from a form.
So it provides a better user experience to use a selection widget.
2023-08-06 00:34:16 +02:00
Cédric Krier
5ce06c7d69
Post write-off and exchange moves when reconcile posted lines
...
Closes #12439
2023-07-29 15:10:59 +02:00
Cédric Krier
69c88b6a8a
Do not apply unaccent when searching on number fields
...
Closes #12435
2023-08-03 15:54:33 +02:00
Adrià Tarroja Caubet
83220a6076
Reuse cumulate per party from context as default value for general ledger line
...
Closes #12367
2023-07-05 16:32:56 +02:00
Cédric Krier
36618628dd
Set next party after next account only on initial filling of accounts
...
When the next account method is called from the while loop, the next party is
always called by the upper loop.
If next party is called also in next account then the first party is skipped.
Closes #12327
2023-07-17 23:05:11 +02:00
Cédric Krier
adc26533da
Add .readthedocs.yaml configuration [skip ci]
...
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/
Closes #12344
2023-08-06 11:06:08 +02:00
Nicolas Évrard
768e44bc8a
Return period end date as default date for account move
...
When period is before today, the default date of the account move must be set
with the period end date.
Closes #12408
2023-08-02 22:05:22 +02:00
Cédric Krier
ee98731a76
Post delegated move at the end of the action
...
Other modules may want to alter the delegated move so we must post it once it
is no more accessible to other modules.
Closes #12416
2023-07-19 18:15:18 +02:00
Cédric Krier
9096dda5b4
Do not display delegated amount if it is 0
...
This prevents to display the currency when there is no amount delegated.
2023-06-13 12:56:54 +02:00
Cédric Krier
13ded08918
Remove anchor from Wikipedia link to Ledger
...
The anchor does not exist anymore and in general the anchor on Wikipedia
should be avoided because they may change at any time.
2023-07-10 09:21:27 +02:00
Cédric Krier
418d977280
Post cancelled, grouped, rescheduled and delegated moves
...
If origin moves are posted, the result move should be posted otherwise payable
or receivable lines are no more considered.
2023-06-13 15:48:30 +02:00
Cédric Krier
e16444665f
Rename close state to closed
2023-06-20 10:13:56 +02:00
Christophe Crier
8b52a5b6ac
Ask for date when creating account move from template
...
Closes #8725
2023-06-21 21:57:18 +02:00
Cédric Krier
6278bce20e
Fix message variable for open fiscal year earlier
2023-06-13 15:57:00 +02:00
Cédric Krier
0e8f642662
Use sum_tree for accounting trees
2023-05-11 16:49:58 +02:00
Cédric Krier
1b165ac4bd
Raise error messages for missing currency exchange journal and accounts
2023-05-10 14:57:42 +02:00
Cédric Krier
681988e9dd
Raise an error message for missing write-off method when reconciling
2023-06-01 00:00:37 +02:00
Cédric Krier
4255e6ec1c
Use consistent name for "Write-off"
2023-05-10 14:43:34 +02:00
Cédric Krier
2015647285
Do not fail on missing writeoff account for reconciliation
...
There is no need to check for second currency if there is no account.
2023-05-10 13:14:00 +02:00
Cédric Krier
6b70ecf0f3
Test currency instead of party when reconcile automatically
...
Closes #12258
2023-05-05 12:24:08 +02:00
Cédric Krier
4929c6f294
Do not compute amount from reconciled lines if there is no currency
...
Closes #12256
2023-05-05 11:13:43 +02:00
Cédric Krier
5335a2022d
Convert sum attribute into boolean
2023-05-06 14:25:22 +02:00