r17269 - gnucash/branches/2.2/src/business/business-gnome - [r17154] Bug #512991: Do not allow posting invoices to placeholder accounts.
Christian Stimming
cstim at cvs.gnucash.org
Mon Jul 7 16:55:10 EDT 2008
Author: cstim
Date: 2008-07-07 16:55:09 -0400 (Mon, 07 Jul 2008)
New Revision: 17269
Trac: http://svn.gnucash.org/trac/changeset/17269
Modified:
gnucash/branches/2.2/src/business/business-gnome/dialog-date-close.c
Log:
[r17154] Bug #512991: Do not allow posting invoices to placeholder accounts.
Originally by andi5.
Modified: gnucash/branches/2.2/src/business/business-gnome/dialog-date-close.c
===================================================================
--- gnucash/branches/2.2/src/business/business-gnome/dialog-date-close.c 2008-07-07 20:55:01 UTC (rev 17268)
+++ gnucash/branches/2.2/src/business/business-gnome/dialog-date-close.c 2008-07-07 20:55:09 UTC (rev 17269)
@@ -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