Hi,
I'm curious about why it is only possible to increase the quantity to receive and not decrease.
addons/purchase/models/purchase.py#L733
if float_compare(diff_quantity, 0.0, precision_rounding=self.product_uom.rounding) >0:
Because it is not possible to decrease below received quantity.
addons/purchase/models/purchase.py#L654
if float_compare(line.product_qty, line.qty_received, line.product_uom.rounding) <0:
Nonetheless, you could possibly want to decrease the quantity before you have receive any goods.
Thanks.