Dolibarr V20
I do not know when this bug was introduced but it worked fine up to 19.x. Shipping module no longer accepts non-whole numbers when shipping, and we cannot set weight to like “1.5kg” (see this topic: Default units on shipments - #4 by gurksallad ) because weight gets rounded to an integer.
Today we were supposed to ship 28 cm LED-strip. We stock these in meters [m] in our warehouse, meaning we need to ship 0.28 of the units. When creating the shipping, all rows from the Sales Order were copied, except for the LED-strip (I did not catch it at that moment). That sales line simply disappeared.
Then I created a new shipping card, containing only the LED-strip so the stock would be correct, but Dolibarr throws an error since it’s not a whole number.
See screenshots:
The weird thing is that the stock module recognized that there will be a future stock movement:
Something has happened to the shipping module since it no longer accepts floats for values.