[FIX] sale_stock: missing dependency

Following #48718

opw-2224335

closes odoo/odoo#49162

X-original-commit: e69c080d6b07578bc162e134d2e3b63335d23800
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
Nicolas Martinelli
2020-04-07 14:52:56 +00:00
parent 0d007f24e6
commit 4fc45fce2c
+1 -1
View File
@@ -277,7 +277,7 @@ class SaleOrderLine(models.Model):
else:
line.display_qty_widget = False
@api.depends('product_id', 'customer_lead', 'product_uom_qty', 'order_id.warehouse_id', 'order_id.commitment_date')
@api.depends('product_id', 'customer_lead', 'product_uom_qty', 'product_uom', 'order_id.warehouse_id', 'order_id.commitment_date')
def _compute_qty_at_date(self):
""" Compute the quantity forecasted of product at delivery date. There are
two cases: