Add : additionnal origin of mouvement

Main problem is the difference between folder and the class of project
Maybe one time (for a major version of dolibarr (5, 6 ...) we start to standadisation of all modules
This commit is contained in:
BENKE Charlie 2016-07-23 16:30:12 +02:00 committed by GitHub
parent 9b17d8dcc3
commit 66d0d09769

View File

@ -753,7 +753,11 @@ class MouvementStock extends CommonObject
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
$origin = new FactureFournisseur($this->db);
break;
case 'project':
require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
$origin = new Project($this->db);
break;
default:
if ($origintype)
{