Fix in accounts receivable report

This commit is contained in:
Nabin Hait
2014-02-05 18:15:12 +05:30
parent 18eb8c5f68
commit a7af1d619e
5 changed files with 13 additions and 12 deletions

View File

@@ -102,7 +102,7 @@ class DocType:
webnotes.conn.sql("delete from `tabBin` where warehouse=%s", olddn)
from accounts.utils import rename_account_for
rename_account_for("Warehouse", olddn, newdn, merge)
rename_account_for("Warehouse", olddn, newdn, merge, self.doc.company)
return newdn