Commit Graph
9 Commits
Author SHA1 Message Date
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 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 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 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
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 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 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
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 05d2f171c5 Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-16 21:09:30 +01:00