manipulate diff only if diff <= 0.02
diff --git a/erpnext/selling/sales_common.js b/erpnext/selling/sales_common.js
index 6fdfeae..f440315 100644
--- a/erpnext/selling/sales_common.js
+++ b/erpnext/selling/sales_common.js
@@ -471,7 +471,7 @@
var diff = this.frm.doc.net_total_export
- flt(last_tax.total / this.frm.doc.conversion_rate, precision("grand_total_export"));
- if (diff) {
+ if ( diff && Math.abs(diff) <= (2.0 / Math.pow(10, precision("total", last_tax)) ) {
last_tax.total += flt(diff * this.frm.doc.conversion_rate, precision("total", last_tax));
}
}