fix: restore missing change from develop branch

This commit is contained in:
Saqib Ansari
2022-02-10 10:28:51 +05:30
parent 41b7c5f92d
commit 503cc65db4

View File

@@ -186,7 +186,6 @@ class POSInvoiceMergeLog(Document):
if not found: if not found:
payments.append(payment) payments.append(payment)
if doc.rounding_adjustment or doc.base_rounding_adjustment:
rounding_adjustment += doc.rounding_adjustment rounding_adjustment += doc.rounding_adjustment
rounded_total += doc.rounded_total rounded_total += doc.rounded_total
base_rounding_adjustment += doc.base_rounding_adjustment base_rounding_adjustment += doc.base_rounding_adjustment