FIX if we have PRODUCT_USE_UNITS, task fail

we need 	public function getLabelOfUnit($type = 'long') fonction or printlineOriginLine fail
This commit is contained in:
BENKE Charlene 2022-01-20 17:06:03 +01:00 committed by Laurent Destailleur
parent e85051aaaa
commit 5f3c81daee

View File

@ -4,6 +4,7 @@
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2020 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2022 Charlene Benke <charlene@patas-monkey.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -32,7 +33,7 @@ require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
/**
* Class to manage tasks
*/
class Task extends CommonObject
class Task extends CommonObjectLine
{
/**
* @var string ID to identify managed object