WIP Complete module MRP

This commit is contained in:
Laurent Destailleur
2019-12-08 23:45:06 +01:00
parent a6ca56a7e1
commit 2b5866aca2
7 changed files with 212 additions and 10 deletions

View File

@@ -7317,7 +7317,7 @@ abstract class CommonObject
global $conf;
$queryarray = array();
foreach ($this->fields as $field=>$info) // Loop on definition of fields
foreach ($this->fields as $field => $info) // Loop on definition of fields
{
// Depending on field type ('datetime', ...)
if ($this->isDate($info))
@@ -7553,6 +7553,8 @@ abstract class CommonObject
{
$error++;
$this->errors[] = $this->db->lasterror();
} else {
$this->ref = '(PROV'.$this->id.')';
}
}
}