minor fix

This commit is contained in:
Nabin Hait 2014-06-26 14:56:47 +05:30
parent cf2632fe59
commit 3e6586f58d

View File

@ -392,7 +392,7 @@ class SalesInvoice(SellingController):
where ifnull(user,'') = '' and company = %s""", self.company)
if global_pos_setting:
warehouse = global_pos_setting[0][1] if global_pos_setting else None
warehouse = global_pos_setting[0][1]
elif not user_pos_setting:
msgprint(_("POS Setting required to make POS Entry"), raise_exception=True)