Fix CI
This commit is contained in:
parent
a8d3fd8db2
commit
61982bf42b
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ class mod_bookkeeping_argon extends ModeleNumRefBookkeeping
|
|||
// Get entities
|
||||
//$entity = getEntity('invoicenumber', 1, $object);
|
||||
$entity = $conf->entity; // In accountancy, we never share entities
|
||||
$numFinal = get_next_value($db, $mask, 'accounting_bookkeeping', 'ref', $where, null, (empty($object) ? dol_now() : $object->doc_date), $mode, false, null, (string) $entity, $object);
|
||||
$numFinal = get_next_value($db, $mask, 'accounting_bookkeeping', 'ref', $where, null, $object->doc_date, $mode, false, null, (string) $entity, $object);
|
||||
if (!preg_match('/([0-9])+/', $numFinal)) {
|
||||
$this->error = $numFinal;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue