Merge pull request #11257 from atm-ph/fix_7.0_create_bills_multicurrency

Fix create bills on mass action does not retrieve the original currency
This commit is contained in:
Laurent Destailleur 2019-05-29 13:51:57 +02:00 committed by GitHub
commit e11bd8c70d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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))
{