patch for address template fixes #1749

This commit is contained in:
Rushabh Mehta 2014-06-05 14:46:44 +05:30
parent eaa2e55d20
commit 33020a63b8

View File

@ -21,4 +21,4 @@ class AddressTemplate(Document):
def on_trash(self): def on_trash(self):
if self.is_default: if self.is_default:
frappe.throw(_("Default Address Tempalate cannot be deleted")) frappe.throw(_("Default Address Template cannot be deleted"))