Commit 9f0577c7 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Add support for Listbox for getting Relation field field parameter dict.

parent 7c1fb3bc
......@@ -55,7 +55,8 @@
based on its id\n
"""\n
pieces = context.getId().split(\'_\')\n
if pieces.pop(0) != \'my\':\n
prefix = pieces.pop(0)\n
if prefix != \'my\' and prefix != \'listbox\':\n
return {} # this should not happen\n
\n
if pieces[-1] == \'list\':\n
......
2014-01-27 arnaud.fontaine
* Allow getting field parameter dict for a ListBox field.
2014-01-27 arnaud.fontaine
* Likewise a non-ListBox field, call custom edit() if available (eg encapsulated editor). For example, MultiRelationStringField does not return a plain value, but a MultiRelationEditor overriding Base_edit default behavior.
......
41150
\ No newline at end of file
41151
\ No newline at end of file
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