mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Assign as payment - when random transaction is selected, reset transaction description to owner
This will make the assigned payment more in line with traditionally created business payments
This commit is contained in:
parent
ce900d1df3
commit
cd9c3807c0
@ -751,6 +751,8 @@ gncOwnerCreatePaymentLot (const GncOwner *owner, Transaction **preset_txn,
|
||||
|
||||
if (txn)
|
||||
{
|
||||
xaccTransSetDescription (txn, name ? name : "");
|
||||
|
||||
/* Pre-existing transaction was specified. We completely clear it,
|
||||
* except for the split in the transfer account, unless the
|
||||
* transaction can't be reused (wrong currency, wrong transfer account).
|
||||
|
Loading…
Reference in New Issue
Block a user