Merge branch 'hotfix'

This commit is contained in:
Nabin Hait 2016-11-10 11:25:33 +05:30
commit 176577b549
2 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
from __future__ import unicode_literals
import frappe
__version__ = '7.1.9'
__version__ = '7.1.10'
def get_default_company(user=None):
'''Get default company for user'''

View File

@ -6,7 +6,8 @@ def execute():
si_list = frappe.db.sql("""
select distinct parent
from `tabSales Invoice Payment`
where docstatus!=2 and amount != 0 and base_amount = 0
where docstatus!=2 and parenttype = 'Sales Invoice'
and amount != 0 and base_amount = 0
""")
count = 0