Fixed POS and Sales Invoice paid amount display, when invoice not submitted. Fixes #1573

This commit is contained in:
Anand Doshi
2014-05-04 19:37:45 +05:30
parent 2af558598c
commit 69e0cb5d6f
5 changed files with 36 additions and 27 deletions

View File

@@ -120,10 +120,8 @@ class AccountsController(TransactionBase):
if not tax_master_doctype:
tax_master_doctype = self.meta.get_field(tax_master_field).options
tax_doctype = self.meta.get_field(tax_parentfield).options
self.extend(tax_parentfield,
get_taxes_and_charges(tax_doctype, self.get(tax_master_field)), tax_parentfield)
get_taxes_and_charges(tax_master_doctype, self.get(tax_master_field), tax_parentfield))
def set_other_charges(self):
self.set("other_charges", [])