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
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
This avoids uniqueness constraint error in case of concurrent creation.
Closes#10747
(grafted from c4674b8f6fbda574212a4b1768afd86f4651f7c7)
--HG--
branch : 6.0