indicate if the product is used

This commit is contained in:
Cédric 2021-03-08 13:25:01 +01:00 committed by GitHub
parent 5fc5d9ab48
commit 15fe2a7205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1870,6 +1870,9 @@ class Products extends DolibarrApi
$this->product->fk_product_parent = $fk_product_parent;
}
}
// product is used
$this->product->is_object_used = $this->product->isObjectUsed();
return $this->_cleanObjectDatas($this->product);
}