Merge branch 'master' of github.com:webnotes/erpnext into custom_script_defer

This commit is contained in:
Anand Doshi
2013-07-30 10:44:07 +05:30
6 changed files with 24 additions and 12 deletions

View File

@@ -190,7 +190,7 @@ def get_pos_settings(company):
if not pos_settings:
pos_settings = webnotes.conn.sql("""select * from `tabPOS Setting`
where ifnull(user,'') = '' and company = %s""", company, as_dict=1)
return pos_settings and pos_settings[0] or None
def apply_pos_settings(pos_settings, opts):