Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split balance error if one split is a liability, Equity or an Income #876

Open
JeanGarf opened this issue Feb 29, 2020 · 0 comments
Open

Comments

@JeanGarf
Copy link

JeanGarf commented Feb 29, 2020

Steps to reproduce the behaviour

Create a transaction like this
wallet : credit 85
food : debit 60
gasoline : debit 25

Balance is 0. That's OK

Now change gasoline to account Jean (whose type is liability, Equity or an Income)

Expected behaviour

Balance is 0

Actual behaviour

Balance is 50

Software specifications

  • GnuCash Android version: 2.4.1 85704b4
  • System Android version:
  • Device type:
@JeanGarf JeanGarf changed the title Split balance error if one split is a liability Split balance error if one split is a liability, Equity or an Income Feb 29, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Feb 29, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 2, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 2, 2020
…dows. isChecked() : true == CREDIT. CREDIT => red, DEBIT => green
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 2, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 2, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 4, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 4, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 4, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 4, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 4, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 4, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 4, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 4, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
…nsure storing of absolute values in splits
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 7, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Mar 8, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue May 24, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue May 24, 2020
John-Yu added a commit to John-Yu/gnucash-android that referenced this issue May 25, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue May 28, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 10, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 13, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 13, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 13, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 14, 2020
…om TransactionFormFragment.extractSplitsFromView to Money.setAmount()
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 14, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 14, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 14, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 14, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 14, 2020
…with TransactionTypeSwitch.setWidgetTextColor()
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 14, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 14, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 15, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 15, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 15, 2020
John-Yu added a commit to John-Yu/gnucash-android that referenced this issue Jun 15, 2020
John-Yu added a commit to John-Yu/gnucash-android that referenced this issue Jun 15, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 16, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 16, 2020
slak44 added a commit to slak44/gnucash-android that referenced this issue Sep 6, 2020
…nt signum"

This reverts commit 6615458.

# Conflicts:
#	app/src/main/java/org/gnucash/android/db/adapter/SplitsDbAdapter.java
slak44 added a commit to slak44/gnucash-android that referenced this issue Sep 6, 2020
JeanGarf added a commit to JeanGarf/gnucash-android that referenced this issue Jun 7, 2021
…not currency symbol because it shall be evaluated (in order to allows arithmetic expressions as value)
Thumas added a commit to Thumas/gnucash-android that referenced this issue Jun 20, 2021
Commit c1a40f3 changed the way the money amount is displayed in the split editor. If you entered a decimal value in a split transaction, saved and then edited the split again, the values now seemed to be rounded and you would have to enter the correct values again to make changes.
-> Deleted toShortString method in Money and changed it to toLocaleString in AccountType.displayBalance().

codinguser#876
Thumas pushed a commit to Thumas/gnucash-android that referenced this issue Jun 20, 2021
…not currency symbol because it shall be evaluated (in order to allows arithmetic expressions as value)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant