change hasBatch function

This commit is contained in:
Christophe Battarel 2021-02-25 15:35:45 +01:00
parent a61fa2b049
commit a3a8e7c4e4

View File

@ -5460,7 +5460,7 @@ class Product extends CommonObject
*/ */
public function hasbatch() public function hasbatch()
{ {
return ($this->status_batch == 1 ? true : false); return ($this->status_batch > 0 ? true : false);
} }