[fix] issues encountered migrating from v3/4 to 6

This commit is contained in:
Anand Doshi
2015-10-31 22:49:42 +05:30
parent c39cef363c
commit aba8fdd18d
5 changed files with 24 additions and 4 deletions

View File

@@ -163,7 +163,7 @@ def validate_recurring_document(doc):
raise_exception=1)
elif not (doc.from_date and doc.to_date):
throw(_("Period From and Period To dates mandatory for recurring %s") % doc.doctype)
throw(_("Period From and Period To dates mandatory for recurring {0}").format(doc.doctype))
#
def convert_to_recurring(doc, posting_date):