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:
commit
e11bd8c70d
@ -510,7 +510,7 @@ if ($massaction == 'confirm_createbills')
|
|||||||
$objecttmp->cond_reglement_id = $cmd->cond_reglement_id;
|
$objecttmp->cond_reglement_id = $cmd->cond_reglement_id;
|
||||||
$objecttmp->mode_reglement_id = $cmd->mode_reglement_id;
|
$objecttmp->mode_reglement_id = $cmd->mode_reglement_id;
|
||||||
$objecttmp->fk_project = $cmd->fk_project;
|
$objecttmp->fk_project = $cmd->fk_project;
|
||||||
|
$objecttmp->multicurrency_code = $cmd->multicurrency_code;
|
||||||
$datefacture = dol_mktime(12, 0, 0, $_POST['remonth'], $_POST['reday'], $_POST['reyear']);
|
$datefacture = dol_mktime(12, 0, 0, $_POST['remonth'], $_POST['reday'], $_POST['reyear']);
|
||||||
if (empty($datefacture))
|
if (empty($datefacture))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user