Browse Source

Update base_document.py

version-14
John Vermette 10 years ago
parent
commit
86715e55ad
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/model/base_document.py

+ 1
- 1
frappe/model/base_document.py View File

@@ -332,7 +332,7 @@ class BaseDocument(object):
value, comma_options))

def _validate_constants(self):
if frappe.flags.in_import:
if frappe.flags.in_import or self.is_new():
return

constants = [d.fieldname for d in self.meta.get("fields", {"set_only_once": 1})]


Loading…
Cancel
Save