Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: htdocs/compta/facture/class/facture.class.php
This commit is contained in:
commit
c8da9f97a8
@ -3157,7 +3157,7 @@ class Facture extends CommonInvoice
|
||||
return -2;
|
||||
}
|
||||
} else {
|
||||
dol_syslog(get_class($this)."::addline status of order must be Draft to allow use of ->addline()", LOG_ERR);
|
||||
dol_syslog(get_class($this)."::addline status of invoice must be Draft to allow use of ->addline()", LOG_ERR);
|
||||
return -3;
|
||||
}
|
||||
}
|
||||
|
||||
@ -338,6 +338,8 @@ if ($action == "transfert_stock" && !$cancel)
|
||||
if (isset($object->pmp)) $pricesrc = $object->pmp;
|
||||
$pricedest = $pricesrc;
|
||||
|
||||
$nbpiece = price2num(GETPOST("nbpiece", 'alphanohtml'));
|
||||
|
||||
if ($object->hasbatch())
|
||||
{
|
||||
$pdluo = new Productbatch($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user