[Resolved] merge conflicts

This commit is contained in:
Saurabh
2018-08-10 17:11:30 +05:30
5 changed files with 213 additions and 4 deletions

View File

@@ -26,7 +26,8 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
};
});
if (this.frm.doc.__islocal) {
if (this.frm.doc.__islocal
&& frappe.meta.has_field(this.frm.doc.doctype, "disable_rounded_total")) {
this.frm.set_value("disable_rounded_total", cint(frappe.sys_defaults.disable_rounded_total));
}