[Hotfix] Selecting create on blank field throws error (#13014)

* selecting create on blank field error fix

* error when fetching default_print_format
This commit is contained in:
Zarrar
2018-02-21 11:13:14 +05:30
committed by Rushabh Mehta
parent f65afac353
commit bc5515651b
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ def get_slide_settings():
help=_("Set a sales goal you'd like to achieve for your company."),
fields=[
{"fieldtype":"Currency", "fieldname":"monthly_sales_target",
"label":_("Monthly Sales Target (" + currency + ")")},
"label":_("Monthly Sales Target (" + currency + ")"), "reqd":1},
],
submit_method="erpnext.utilities.user_progress_utils.set_sales_target",
done_state_title=_("Go to " + company),