mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-08-14 06:54:43 -05:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user