listview indicator fix
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user