Commit Graph
7 Commits
Author SHA1 Message Date
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier e54257bf7c Set payment term ratio and divisor to None when type is not percentage 2024-10-27 20:04:09 +01:00
Cédric Krier bdabde97c6 Forbid to set ratio and divisor to zero for percentage payment term
Closes #13615
2024-10-27 20:03:24 +01:00
Cédric Krier 06270e6a7a 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
2024-04-30 19:15:44 +02:00
Cédric Krier e70d24d375 Return values instead of changed result when testing payment term
Since 0db956eb2505 the returned value of on_change_with is set on the field.

Closes #12775
2023-11-27 12:43:31 +01:00
Adrià Tarroja Caubet 960c220329 Remove migrations previous to 5.0
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier f85e1ff97b Prepare migration to monorepo 2022-12-16 21:00:07 +01:00