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:
parent
9b17d8dcc3
commit
66d0d09769
@ -753,7 +753,11 @@ class MouvementStock extends CommonObject
|
|||||||
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
|
||||||
$origin = new FactureFournisseur($this->db);
|
$origin = new FactureFournisseur($this->db);
|
||||||
break;
|
break;
|
||||||
|
case 'project':
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
|
||||||
|
$origin = new Project($this->db);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if ($origintype)
|
if ($origintype)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user