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