mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 736703 - Scheduled transaction are registered without credit/debit
Use a default exchange rate of 1 instead of 0.
This commit is contained in:
@@ -1173,7 +1173,7 @@ create_each_transaction_helper(Transaction *template_txn, void *user_data)
|
||||
}
|
||||
*/
|
||||
|
||||
exchange_rate = gnc_numeric_zero();
|
||||
exchange_rate = gnc_numeric_create (1, 1);
|
||||
g_string_printf(exchange_rate_var_name, "%s -> %s",
|
||||
gnc_commodity_get_mnemonic(first_cmdty),
|
||||
gnc_commodity_get_mnemonic(split_cmdty));
|
||||
|
||||
Reference in New Issue
Block a user