Commit Graph
59 Commits
Author SHA1 Message Date
Cédric Krier f2d672eb78 Increase version number
--HG--
branch : 6.0
2025-04-26 18:01:48 +02:00
Cédric Krier bb39a6e0b7 Prepare release account-6.0.30
--HG--
branch : 6.0
2025-04-26 18:01:38 +02:00
Cédric Krier 6dbca3a3b8 Ensure the contextual company is not None and positive before using it
Closes #13868
(grafted from 0ea68af90f3ef7059c7c9c7a33d13fa216e23bc4)

--HG--
branch : 6.0
2025-03-10 23:43:49 +01:00
Cédric Krier 597c6ee1d0 Increase version number
--HG--
branch : 6.0
2025-01-16 19:04:02 +01:00
Cédric Krier f1565e5034 Prepare release account-6.0.29
--HG--
branch : 6.0
2025-01-16 19:03:50 +01:00
Cédric Krier 87dc812d29 Use proper default value for Eval on account move
(grafted from 1294a1c18863a45df2c3a2340bf2f2c7ec0d3e16)

--HG--
branch : 6.0
2024-12-26 18:55:47 +01:00
Cédric Krier 48ffff14e2 Increase version number
--HG--
branch : 6.0
2025-01-01 20:47:06 +01:00
Cédric Krier dd8246af95 Prepare release account-6.0.28
--HG--
branch : 6.0
2025-01-01 20:46:51 +01:00
Cristina Sangrador 6ae4ae429e 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
(grafted from baf0a88808a8c5e85116ebbc7cf5f414b6bd95fc)

--HG--
branch : 6.0
2024-12-28 14:00:38 +01:00
Cédric Krier a61799cdc3 Pin setuptools version in tox env
We use the command test from setuptools which has been removed in version
72.0.0.

Closes #13510

--HG--
branch : 6.0
2024-09-13 16:37:56 +02:00
Cédric Krier 568fc0374a Increase version number
--HG--
branch : 6.0
2024-09-01 14:13:41 +02:00
Cédric Krier 1624fed600 Prepare release account-6.0.27
--HG--
branch : 6.0
2024-09-01 14:13:31 +02:00
Cédric Krier 54d15f0fff Do not filter with context lines for aged balance
Closes #12210
(grafted from 428746eda064bb89c4b1945cdc778efe2d7b7557)

--HG--
branch : 6.0
2024-07-26 23:25:02 +02:00
Cédric Krier bbc803a342 Increase version number
--HG--
branch : 6.0
2024-06-02 19:41:12 +02:00
Cédric Krier e66c54f676 Prepare release account-6.0.26
--HG--
branch : 6.0
2024-06-02 19:40:59 +02:00
Cédric Krier 793db38e03 Use decimal 0 without digits as default value
If the digits of the field is 0, than using '0.0' trigger the validation error
introduced by 2be02f249a1d.

Closes #13197
(grafted from 979cd092ea24f04328af5f4ff315c418e1c5b3e6)

--HG--
branch : 6.0
2024-04-30 19:15:44 +02:00
Cédric Krier 44bb0f187d Increase version number
--HG--
branch : 6.0
2024-05-15 19:17:03 +02:00
Cédric Krier a95025c262 Prepare release account-6.0.25
--HG--
branch : 6.0
2024-05-15 19:16:50 +02:00
Cédric Krier 64f0f47422 Set default value from account move using line field name
Some Function fields has the move as prefix which is removed when applied to
the move. But when setting default value for the line, the move prefix must
not be removed.

Closes #12967
(grafted from bce77308e529f2e96c46da2296546f047af48161)

--HG--
branch : 6.0
2024-04-27 18:36:49 +02:00
Cédric Krier 46a6ad2155 Ensure there is a company id in the context before testing as positive
Closes #13228
(grafted from b317427d7a7599e310332894ab7ddbb013220d82)

--HG--
branch : 6.0
2024-05-02 18:55:04 +02:00
Cédric Krier b2d0a85184 Increase version number
--HG--
branch : 6.0
2024-05-01 14:40:20 +02:00
Cédric Krier 81a6c122cd Prepare release account-6.0.24
--HG--
branch : 6.0
2024-05-01 14:40:06 +02:00
Cédric Krier 7f9ae41ef8 Test if contextual company id is positive before using it
Closes #13176
(grafted from fa023763f7b00cd4fbfa9e818bf25db9e259cfbd)

--HG--
branch : 6.0
2024-04-10 11:25:11 +02:00
Cédric Krier 60b5e47ed2 Increase version number
--HG--
branch : 6.0
2024-04-17 12:47:17 +02:00
Cédric Krier 17d0a2ed12 Prepare release account-6.0.23
--HG--
branch : 6.0
2024-04-17 12:47:05 +02:00
Cédric Krier a0c34866e0 Use min date as default From Date for start amount of general ledger
Closes #12660
(grafted from 06bc271a0d51d43f06306dc2c872ccd07979d50d)

--HG--
branch : 6.0
2024-03-17 11:36:24 +01:00
Cédric Krier 4da191fd3c Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 6.0
2024-03-04 00:52:20 +01:00
Cédric Krier 35cc6e45b8 Increase version number
--HG--
branch : 6.0
2024-03-03 13:28:03 +01:00
Cédric Krier 9809b38a4f Prepare release account-6.0.22
--HG--
branch : 6.0
2024-03-03 13:27:51 +01:00
Cédric Krier d620f7bf14 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 : 6.0
2024-02-29 15:36:16 +01:00
Cédric Krier bcd5cc0588 Increase version number
--HG--
branch : 6.0
2024-01-01 13:12:38 +01:00
Cédric Krier fd40f6a48b Prepare release account-6.0.21
--HG--
branch : 6.0
2024-01-01 13:12:25 +01:00
Cédric Krier 1e2a8cfd1e Use 0 as fallback for missing debit or credit in on_change functions
Closes #12823
(grafted from bcff7d7cd008ddb4b8d9df3b63b6cecefcfce5c6)

--HG--
branch : 6.0
2023-12-12 17:02:31 +01:00
Cédric Krier 6397a4bc11 Increase version number
--HG--
branch : 6.0
2023-12-16 11:08:10 +01:00
Cédric Krier 29956dad62 Prepare release account-6.0.20
--HG--
branch : 6.0
2023-12-16 11:07:56 +01:00
Cédric Krier b355a57017 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 : 6.0
2023-11-16 16:32:43 +01:00
Cédric Krier ebd2ff8e85 Increase version number
--HG--
branch : 6.0
2023-11-03 19:13:28 +01:00
Cédric Krier b109efecbe Prepare release account-6.0.19
--HG--
branch : 6.0
2023-11-03 19:13:12 +01:00
Cédric Krier e8da8ca0e1 Test to_date in context to get dates for general ledger
1b3d9d7a758f added the wrong test to exclude period and dates.

Closes #12629
(grafted from 43f382562aa3365af4e03cc5c1073b400ea0d604)

--HG--
branch : 6.0
2023-10-21 16:21:40 +02:00
Cédric Krier c2e097fbf2 Do not fail when reconciling an empty list
Closes #12626
(grafted from 2f04f787260ea6bd52ecf4b3ac414d343c78dc70)

--HG--
branch : 6.0
2023-10-21 15:46:53 +02:00
Cédric Krier ac88e12308 Do not compute account party for general ledger line without party
Closes #12570
(grafted from d7fee1d3bf9107875d7ac7bd447b1e6e563c33aa)

--HG--
branch : 6.0
2023-10-05 23:18:51 +02:00
Cédric Krier 9f176fa2b0 Increase version number
--HG--
branch : 6.0
2023-09-06 23:38:24 +02:00
Cédric Krier 6b613e7596 Prepare release account-6.0.18
--HG--
branch : 6.0
2023-09-06 23:38:11 +02:00
Adrià Tarroja Caubet 5af2b59359 Reuse cumulate per party from context as default value for general ledger line
Closes #12367
(grafted from 5a95256398af9136cab85c1ca4c4d84ae23b70ec)

--HG--
branch : 6.0
2023-07-05 16:32:56 +02:00
Cédric Krier 944afc59ff Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
(grafted from ffef63a3959b55756c395ebfd3ee1224f4dc7611)

--HG--
branch : 6.0
2023-08-06 19:31:44 +02:00
Cédric Krier cd6f1f110d Increase version number
--HG--
branch : 6.0
2023-05-17 23:01:55 +02:00
Cédric Krier dc732edd51 Prepare release account-6.0.17
--HG--
branch : 6.0
2023-05-17 23:01:41 +02:00
Cédric Krier b0b6b6c4a4 Do not fail to update chart if parent template is no more a template
(grafted from 72270f3117ad4cbbdc0984509dd3cba414135558)

--HG--
branch : 6.0
2023-04-26 11:26:08 +02:00
Cédric Krier cd0a3ed941 Increase version number
--HG--
branch : 6.0
2023-05-03 19:09:23 +02:00
Cédric Krier b100b835dd Prepare release account-6.0.16
--HG--
branch : 6.0
2023-05-03 19:09:09 +02:00