Commit 94df591f authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_hal_json_style: get all fields in group list

Fix bug:
when a field's enable value is defined by TALES, it'll not be in group list
parent ce99eed0
......@@ -493,7 +493,7 @@ def renderFormDefinition(form, response_dict):\n
if group[\'gid\'].find(\'hidden\') < 0:\n
field_list = []\n
\n
for field in form.get_fields_in_group(group[\'goid\']):\n
for field in form.get_fields_in_group(group[\'goid\'], include_disabled=1):\n
field_list.append((field.id, renderRawField(field)))\n
\n
group_list.append((group[\'gid\'], field_list))\n
......
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