Merge pull request #14031 from atm-florianm/10.0_FIX_copy_payment_value_date_on_account_line

FIX: copy value date of VariousPayment onto the new AccountLine
This commit is contained in:
Laurent Destailleur 2020-06-06 21:19:11 +02:00 committed by GitHub
commit a5b74189e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,7 +422,11 @@ class PaymentVarious extends CommonObject
$sign * abs($this->amount),
$this->num_payment,
($this->category_transaction > 0 ? $this->category_transaction : 0),
$user
$user,
'',
'',
'',
$this->datev
);
// Update fk_bank into llx_paiement.