AUDIT: r17154 - gnucash/trunk/src/business/business-gnome - Bug #512991: Do not allow posting invoices to placeholder accounts.
Andreas Köhler
andi5 at cvs.gnucash.org
Sun May 11 21:41:30 EDT 2008
Author: andi5
Date: 2008-05-11 21:41:30 -0400 (Sun, 11 May 2008)
New Revision: 17154
Trac: http://svn.gnucash.org/trac/changeset/17154
Modified:
gnucash/trunk/src/business/business-gnome/dialog-date-close.c
Log:
Bug #512991: Do not allow posting invoices to placeholder accounts.
BP
Modified: gnucash/trunk/src/business/business-gnome/dialog-date-close.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/dialog-date-close.c 2008-05-11 23:22:52 UTC (rev 17153)
+++ gnucash/trunk/src/business/business-gnome/dialog-date-close.c 2008-05-12 01:41:30 UTC (rev 17154)
@@ -73,6 +73,12 @@
return;
}
+ if (xaccAccountGetPlaceholder (acc)) {
+ gnc_error_dialog (ddc->dialog,
+ _("Placeholder account selected. Please try again."));
+ return;
+ }
+
ddc->acct = acc;
}
More information about the gnucash-changes
mailing list