Fix create bills on mass action does not retrieve the original currency code

This commit is contained in:
atm-ph 2019-05-27 11:18:29 +02:00
parent 234ad4c76a
commit c79b9b9704

View File

@ -510,7 +510,7 @@ if ($massaction == 'confirm_createbills')
$objecttmp->cond_reglement_id = $cmd->cond_reglement_id;
$objecttmp->mode_reglement_id = $cmd->mode_reglement_id;
$objecttmp->fk_project = $cmd->fk_project;
$objecttmp->multicurrency_code = $cmd->multicurrency_code;
$datefacture = dol_mktime(12, 0, 0, $_POST['remonth'], $_POST['reday'], $_POST['reyear']);
if (empty($datefacture))
{