main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit f3ebeb7cd3 - Show all commits

View File

@@ -2020,7 +2020,7 @@ class LotShipping(Wizard):
if self.ship.quantity:
shipped_quantity = self.ship.quantity
if shipped_quantity == 0:
shipped_quantity = Decimal(r.r_lot_matched)
shipped_quantity = Decimal(str(r.r.r_lot_matched)).quantize(Decimal("0.00001"))
if self.ship.shipment == 'in':
shipment_origin = 'stock.shipment.in,'+str(self.ship.shipment_in.id)
elif self.ship.shipment == 'out':