Commit dc47c752 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

erp5_core: fix undefined name.

parent bc30f85d
...@@ -54,7 +54,7 @@ def parseField(f): ...@@ -54,7 +54,7 @@ def parseField(f):
if k.startswith(field_prefix): if k.startswith(field_prefix):
# We only take into account # We only take into account
# the object attributes # the object attributes
k = k[field_prefix_len:] k = k[len(field_prefix):]
# Form: '' -> ERP5: None # Form: '' -> ERP5: None
if v == '': if v == '':
v = None v = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment