[14.0][IMP] stock_available_unreserved: Improve field help message

This commit is contained in:
Denis Roussel
2021-07-08 13:35:30 +02:00
parent c4220b79a8
commit e2f4eb6ea8
2 changed files with 4 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ class ProductProduct(models.Model):
digits="Product Unit of Measure",
compute="_compute_qty_available_not_reserved",
search="_search_quantity_unreserved",
help="Quantity of this product that is "
"not currently reserved for a stock move",
)
def _prepare_domain_available_not_reserved(self):

View File

@@ -13,6 +13,8 @@ class ProductTemplate(models.Model):
digits="Product Unit of Measure",
compute="_compute_product_available_not_res",
search="_search_quantity_unreserved",
help="Quantity of this product that is "
"not currently reserved for a stock move",
)
@api.depends("product_variant_ids.qty_available_not_res")