Commit dc47c752 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

erp5_core: fix undefined name.

parent bc30f85d
......@@ -54,7 +54,7 @@ def parseField(f):
if k.startswith(field_prefix):
# We only take into account
# the object attributes
k = k[field_prefix_len:]
k = k[len(field_prefix):]
# Form: '' -> ERP5: None
if v == '':
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