Browse Source

[FIX]Check weight 0 to create transaction

12.0-FIX-WEIGHT
Juliana 8 months ago
parent
commit
b6a8d2fe74
  1. 1
      models/pos_order_line.py

1
models/pos_order_line.py

@ -38,6 +38,7 @@ class PosOrderLine(models.Model):
if res.container_id:
today = datetime.today().isoformat('T')[:19]
if res.qty > 0:
weight_str = str(int(res.qty * 1000))
# weight_str = str(res.qty * 1000).zfill(5)

Loading…
Cancel
Save