FIX: undefined measuring_units_squared() on update

On update product, by a third party module, measuring_units_squared() and measuring_units_cubed() was undefined
This commit is contained in:
Mickael Desgranges 2020-11-30 09:04:13 +01:00 committed by GitHub
parent a2ede3573e
commit 283c83cae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,7 @@
* \ingroup produit
* \brief File of class to manage predefined products or services
*/
require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/commonobject.class.php';
require_once DOL_DOCUMENT_ROOT.'/product/class/productbatch.class.php';
require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php';