Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Asset accounts gets (-) negative sign prepended when editing, causing double negative #726

@mutedbytes

Description

@mutedbytes

Steps to reproduce the behaviour

  1. Create a transaction to decrease amount in an asset account.
  2. Click to edit the transaction, a (-) sign appears in front of red decreasing value
  3. Click to save the edited transaction
  4. -> error = the "decrease" transaction now becomes a "negative decrease" resulting in a positive increase to the asset balance

This behavior occurred after changing default transactions to be "credit" rather than "debit" in settings. Not sure if this is relevant.

Expected behaviour

Expected behavior would be to have the negative not included in the calculation.

Actual behaviour

Negative sign seems to be prepended upon a decrease transaction type. After editing and saving, the negative seems to be included in the resulting calculations, causing the transaction to increase the asset balance rather than decreasing it as should be.

Software specifications

  • GnuCash Android version: 2.2.1
  • System Android version: 6.0.1
  • Device type: LG Nexus 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions