From 7b87a7ec748381a9351430991f5b447ca72b297a Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 16 May 2012 14:07:02 +0530 Subject: [PATCH] fixed pos settings --- erpnext/accounts/doctype/pos_setting/pos_setting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/doctype/pos_setting/pos_setting.py b/erpnext/accounts/doctype/pos_setting/pos_setting.py index 6c1988223a..f4be368131 100755 --- a/erpnext/accounts/doctype/pos_setting/pos_setting.py +++ b/erpnext/accounts/doctype/pos_setting/pos_setting.py @@ -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)