Mercurial > libervia-backend
diff sat/tools/xml_tools.py @ 4032:bb211f80c3e6
tools (xml_tools): add fields's `values` when converting data form to dict
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 07 Apr 2023 14:59:01 +0200 |
parents | 818db4ca3717 |
children | 524856bd7b19 |
line wrap: on
line diff
--- a/sat/tools/xml_tools.py Thu Mar 30 16:57:11 2023 +0200 +++ b/sat/tools/xml_tools.py Fri Apr 07 14:59:01 2023 +0200 @@ -226,6 +226,8 @@ ('var', 'name'), ('label', 'label'), ('value', 'value'), + # FIXME: we probably should have only "values" + ('values', 'values') ): value = getattr(form_field, src_name, None) if value: