[FIX] rma: fix error in onchange of picking related to not computing it in all cases.

This commit is contained in:
Jared Kipe
2021-04-05 13:37:56 -07:00
parent f76cd697f2
commit 65aecd81c8

View File

@@ -304,6 +304,8 @@ class RMA(models.Model):
rma.stock_picking_rma_count = rma_data[0]['stock_picking_id_count']
else:
rma.stock_picking_rma_count = 0.0
else:
rma.stock_picking_rma_count = 0.0
def open_stock_picking_rmas(self):
return {