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

@@ -161,7 +161,7 @@ class DocType(TransactionBase):
def before_rename(self, olddn, newdn, merge=False):
from accounts.utils import rename_account_for
rename_account_for("Supplier", olddn, newdn, merge)
rename_account_for("Supplier", olddn, newdn, merge, self.doc.company)
def after_rename(self, olddn, newdn, merge=False):
set_field = ''