Merge remote-tracking branch 'upstream/version-13-hotfix' into dev-quality-inspection-accounts

This commit is contained in:
Rohan Bansal
2021-06-02 14:22:32 +05:30
75 changed files with 2044 additions and 2945 deletions

View File

@@ -1011,7 +1011,6 @@ class AccountsController(TransactionBase):
else:
grand_total -= self.get("total_advance")
base_grand_total = flt(grand_total * self.get("conversion_rate"), self.precision("base_grand_total"))
if total != flt(grand_total, self.precision("grand_total")) or \
base_total != flt(base_grand_total, self.precision("base_grand_total")):
frappe.throw(_("Total Payment Amount in Payment Schedule must be equal to Grand / Rounded Total"))