Fixed Address Template Patch

This commit is contained in:
Anand Doshi
2014-06-06 17:37:31 +05:30
parent f56656f6b4
commit cd0aed993a
2 changed files with 8 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ def get_address_display(address_dict):
{"is_default": 1}, "template")
if not template:
frappe.throw(_("No default Address Template found. Please create a new one"))
frappe.throw(_("No default Address Template found. Please create a new one from Setup > Printing and Branding > Address Template."))
return frappe.render_template(template, address_dict)