[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user