From ac1abcb8c356367dcac581bdb0b8d3a51fa48adc Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sat, 1 May 2021 09:53:56 -0700 Subject: [PATCH] Fix reversed parameters in call to xaccAccountTypesCompatible. Missed in 2258e7a4. --- gnucash/gnome-utils/dialog-account.c | 2 +- po/POTFILES.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gnucash/gnome-utils/dialog-account.c b/gnucash/gnome-utils/dialog-account.c index 508e191db2..d90bc06dfe 100644 --- a/gnucash/gnome-utils/dialog-account.c +++ b/gnucash/gnome-utils/dialog-account.c @@ -879,7 +879,7 @@ gnc_common_ok (AccountWindow *aw) } /* check whether the types of child and parent are compatible */ - if (!xaccAccountTypesCompatible (aw->type, xaccAccountGetType (parent))) + if (!xaccAccountTypesCompatible (xaccAccountGetType (parent), aw->type)) { const char *message = _("The selected account type is incompatible with " "the one of the selected parent."); diff --git a/po/POTFILES.in b/po/POTFILES.in index 52d0e0e577..d2f2ba6f5e 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -487,6 +487,7 @@ gnucash/report/reports/standard/dashboard.scm gnucash/report/reports/standard/equity-statement.scm gnucash/report/reports/standard/general-journal.scm gnucash/report/reports/standard/general-ledger.scm +gnucash/report/reports/standard/ifrs-cost-basis.scm gnucash/report/reports/standard/income-gst-statement.scm gnucash/report/reports/standard/income-statement.scm gnucash/report/reports/standard/invoice.scm