mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Revert "Question about GncMonetary class instead of tuple"
This reverts commit 8fe0b14213
.
Question has been discussed in pull request.
This commit is contained in:
parent
8fe0b14213
commit
ff660a873e
@ -445,8 +445,7 @@ def decorate_monetary_list_returning_function(orig_function):
|
||||
array of tuples: (GncCommodity, GncNumeric)
|
||||
|
||||
ToDo:
|
||||
* Maybe this function should better reside in module function_class ?
|
||||
* Should it be tuples anyway ? Wouldn't it be better to have GncMonetary to reflect gnc_monetary in c ?"""
|
||||
Maybe this function should better reside in module function_class (?)"""
|
||||
# warning, item.commodity has been shown to be None
|
||||
# when the transaction doesn't have a currency
|
||||
return [(GncCommodity(instance=item.commodity),
|
||||
|
Loading…
Reference in New Issue
Block a user