mirror of
https://github.com/frappe/books.git
synced 2024-11-14 17:34:04 +00:00
Formula fix for electron
This commit is contained in:
parent
b99519d86b
commit
631cb61c31
@ -255,7 +255,7 @@ module.exports = class BaseDocument extends Observable {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!frappe.isServer) {
|
if (!frappe.isServer || frappe.isElectron) {
|
||||||
if (doc[field.fieldname] == null || doc[field.fieldname] == '') {
|
if (doc[field.fieldname] == null || doc[field.fieldname] == '') {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user