mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-07 01:23:00 +01:00
Merge remote-tracking branch 'origin/3.7' into develop
Conflicts: htdocs/admin/tools/eaccelerator.php htdocs/fourn/class/fournisseur.commande.class.php htdocs/fourn/commande/dispatch.php
This commit is contained in:
@@ -112,8 +112,16 @@ class modProductBatch extends DolibarrModules
|
||||
*/
|
||||
function init($options='')
|
||||
{
|
||||
global $db,$conf;
|
||||
|
||||
$sql = array();
|
||||
|
||||
|
||||
if(! empty($conf->cashdesk->enabled)) {
|
||||
if (!$conf->global->CASHDESK_NO_DECREASE_STOCK) {
|
||||
$res = dolibarr_set_const($db,"CASHDESK_NO_DECREASE_STOCK",1,'chaine',0,'',$conf->entity);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->_init($sql, $options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user