mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[14.0][IMP] stock_available_unreserved: Improve field help message
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user