fixed pos settings

This commit is contained in:
Nabin Hait 2012-05-16 14:07:02 +05:30
parent f0c3fc47f9
commit 7b87a7ec74

View File

@ -49,5 +49,5 @@ class DocType:
if res:
if res[0][1]:
msgprint("POS Setting '%s' already created for user: '%s' and company: '%s'"%(res[0][0], res[0][1], self.doc.company), raise_exception=1)
else:
msgprint("Global POS Setting already created - %s for this company: '%s'" % (res[0][0], self.doc.company), raise_exception=1)
else:
msgprint("Global POS Setting already created - %s for this company: '%s'" % (res[0][0], self.doc.company), raise_exception=1)