0001-workflows-fix-display-value-reset-when-setting-backo.patch
wcs/wf/backoffice_fields.py | ||
---|---|---|
136 | 136 |
formdata.data, formdef_field.id) |
137 | 137 |
if display_value: |
138 | 138 |
formdata.data['%s_display' % formdef_field.id] = display_value |
139 |
elif d.has_key('%s_display' % formdef_field.id):
|
|
139 |
elif formdata.data.has_key('%s_display' % formdef_field.id):
|
|
140 | 140 |
del formdata.data['%s_display' % formdef_field.id] |
141 | 141 | |
142 | 142 |
formdata.store() |
143 |
- |