chore: clean up sales invoice form

This commit is contained in:
Saqib Ansari
2021-02-01 15:45:26 +05:30
parent 13d48a0c20
commit cee3670167
8 changed files with 60 additions and 121 deletions

View File

@@ -239,9 +239,6 @@ class calculate_taxes_and_totals(object):
self.doc.round_floats_in(self.doc, ["total", "base_total", "net_total", "base_net_total"])
if self.doc.doctype == 'Sales Invoice' and self.doc.is_pos:
self.doc.pos_total_qty = self.doc.total_qty
def calculate_taxes(self):
self.doc.rounding_adjustment = 0
# maintain actual tax rate based on idx