[Fix] In words showing grand total instead of rounded total (#15065)

This commit is contained in:
rohitwaghchaure
2018-08-01 18:09:51 +05:30
committed by Nabin Hait
parent 0452b405f4
commit ae4ff5a403
5 changed files with 192 additions and 61 deletions

View File

@@ -26,6 +26,10 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
};
});
if (this.frm.doc.__islocal) {
this.frm.set_value("disable_rounded_total", cint(frappe.sys_defaults.disable_rounded_total));
}
/* eslint-disable */
// no idea where me is coming from
if(this.frm.get_field('shipping_address')) {