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