Merge pull request #1170 from akhileshdarjee/master

[fix] [minor] rename fix for customer and supplier
This commit is contained in:
Nabin Hait
2013-12-11 23:29:18 -08:00
8 changed files with 63 additions and 18 deletions

View File

@@ -85,7 +85,7 @@ class AccountsReceivableReport(object):
def get_account_map(self):
if not hasattr(self, "account_map"):
self.account_map = dict(((r.name, r) for r in webnotes.conn.sql("""select
account.name, customer.customer_name, customer.territory
account.name, customer.name as customer_name, customer.territory
from `tabAccount` account, `tabCustomer` customer
where account.master_type="Customer"
and customer.name=account.master_name""", as_dict=True)))