listview indicator fix

This commit is contained in:
Nabin Hait
2015-02-18 12:23:18 +05:30
parent da5f766dd5
commit fe81da2dd1
8 changed files with 24 additions and 25 deletions

View File

@@ -52,8 +52,8 @@ class AccountsController(TransactionBase):
break
def calculate_taxes_and_totals(self):
from erpnext.controllers.taxes_and_totals import taxes_and_totals
taxes_and_totals(self).calculate()
from erpnext.controllers.taxes_and_totals import calculate_taxes_and_totals
calculate_taxes_and_totals(self)
if self.doctype in ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice"]:
self.calculate_commission()