Bug #512991: Do not allow posting invoices to placeholder accounts.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17154 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler
2008-05-12 01:41:30 +00:00
parent c2cccd17c7
commit c7c3f3653c
@@ -73,6 +73,12 @@ gnc_dialog_date_close_ok_cb (GtkWidget *widget, gpointer user_data)
return;
}
if (xaccAccountGetPlaceholder (acc)) {
gnc_error_dialog (ddc->dialog,
_("Placeholder account selected. Please try again."));
return;
}
ddc->acct = acc;
}