diff --git a/model/document.js b/model/document.js index 6c7dbf77..b81607de 100644 --- a/model/document.js +++ b/model/document.js @@ -255,7 +255,7 @@ module.exports = class BaseDocument extends Observable { return true; } - if (!frappe.isServer) { + if (!frappe.isServer || frappe.isElectron) { if (doc[field.fieldname] == null || doc[field.fieldname] == '') { return true; }