Merge PR #1458 into 13.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2022-08-31 12:16:38 +00:00
2 changed files with 8 additions and 1 deletions

View File

@@ -13,7 +13,13 @@ class SaleOrderLine(models.Model):
compute="_compute_immediately_usable_qty_today"
)
@api.depends("product_id", "product_uom_qty")
@api.depends(
"product_id",
"product_uom_qty",
"order_id.commitment_date",
"order_id.date_order",
"warehouse_id",
)
def _compute_immediately_usable_qty_today(self):
qty_processed_per_product = defaultdict(lambda: 0)
self.immediately_usable_qty_today = False

View File

@@ -3,3 +3,4 @@
* Ernesto Tejeda
* Pedro M. Baeza
* Víctor Martínez
* César A. Sánchez