Skip to content

Gnucash 2.7 file not importing currencies #764

Description

@stonewareslord

Steps to reproduce the behaviour

  1. Open GnuCash 2.7.3
  2. Create a new book with currency USD some default accounts (or just open a 2.6 book and re-save it)
    • It's possible this also affects other currencies, but I only tested with USD
  3. Import the .gnucash into GnuCash-Android

Expected behaviour

  1. The accounts are imported with the USD currency

Actual behaviour

  1. Every account has currency type XXX, even if you change the Default Currency setting to USD before or after importing

Software specifications

  • GnuCash Android version: F-Droid 2.3.0

  • System Android version:7.1.2 RR-N-v5.8.5-20170924-cheeseburger-Final

  • Device type: OnePlus5, rooted

  • GnuCash desktop version: GnuCash 2.7.3, Build ID: 2.7.3+ (2017-12-30)

Notes

I created two books with two GnuCash verions with default accounts and a couple transactions with USD currency and imported both into GnuCash-Android. The 2.6 version worked (imported as USD), and the 2.7 did not (imported as XXX).

If you run a diff (diff -Naur <(zcat 2.6.15-base.gnucash) <(zcat 2.7.3-base.gnucash)) on the files, you'll notice (aside from guid/date differences) <cmdty:space>ISO4217</cmdty:space> has been replaced with <cmdty:space>CURRENCY</cmdty:space>. I have attached the diff and both files.

It looks like 2.7.3 introduces breaking changes:

Their news page mentions these breaking changes on their Update Notes page, but I can't seem to access that page at the moment.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions