indicate if the product is used
This commit is contained in:
parent
5fc5d9ab48
commit
15fe2a7205
@ -1870,6 +1870,9 @@ class Products extends DolibarrApi
|
|||||||
$this->product->fk_product_parent = $fk_product_parent;
|
$this->product->fk_product_parent = $fk_product_parent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// product is used
|
||||||
|
$this->product->is_object_used = $this->product->isObjectUsed();
|
||||||
|
|
||||||
return $this->_cleanObjectDatas($this->product);
|
return $this->_cleanObjectDatas($this->product);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user