Commit Graph
50 Commits
Author SHA1 Message Date
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
Cédric Krier 3956eccf38 Limit debit and credit kind to line with debit and credit in aged balance
Closes #12193
(grafted from 01f8d4ee34924c99faeb418b2a4eafd34fe9840f)

--HG--
branch : 6.0
2023-04-07 17:03:03 +02:00
Cédric Krier 3e6b5f967d Increase version number
--HG--
branch : 6.0
2023-02-17 19:58:14 +01:00
Cédric Krier a7c4bf955f Prepare release account-6.0.15
--HG--
branch : 6.0
2023-02-17 19:58:00 +01:00
Cédric Krier 68b7ee2d4e Lock journal period when automatically creating one
This avoids uniqueness constraint error in case of concurrent creation.

Closes #10747
(grafted from c4674b8f6fbda574212a4b1768afd86f4651f7c7)

--HG--
branch : 6.0
2023-01-21 18:47:49 +01:00
Cédric Krier d4af9737da Increase version number
--HG--
branch : 6.0
2023-02-05 22:33:52 +01:00
Cédric Krier 22fe7747ce Prepare release account-6.0.14
--HG--
branch : 6.0
2023-02-05 22:33:39 +01:00
Sergi Almacellas Abellana 393aff1f07 Update parent and replaced_by when template has no taxes
Closes #11891
(grafted from 46a73ccc6b68e222baa5e60218eee5ef3b6f0637)

--HG--
branch : 6.0
2023-01-09 14:34:21 +01:00
Cédric Krier 7c275d29fb Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-17 17:14:49 +01:00
Cédric Krier 05d2f171c5 Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-16 21:09:30 +01:00