I’ve noticed that it is possible to have regular account move lines with negative values but this is not the case on analytic move lines and this may give some insconsistent behaviour between both. The constraint is set at the database level.
I’m sure that there’s a good explanation for this behaviour but I can not guess it (or find it anywhere). Any clues on this?
The constraint exists in the revision 0, so it seems it was forgotten when the constraint was removed on account move line: modules/account: 47fc0ca456a4