mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
Apply formula when doc value is empty string
This commit is contained in:
parent
e6d254749b
commit
db7050512f
@ -256,7 +256,7 @@ module.exports = class BaseDocument extends Observable {
|
||||
}
|
||||
|
||||
if (!frappe.isServer) {
|
||||
if (doc[field.fieldname] == null) {
|
||||
if (doc[field.fieldname] == null || doc[field.fieldname] == '') {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user