Backed out changeset c909bd88517d
Using rec_name to search key is wrong because rec_name is the string and not the key. issue3483
This commit is contained in:
1 parent
3c7ce7b36c
commit
3768c7f834
1 file changed
+1
-1
@@ -481,7 +481,7 @@ class DictWidget(WidgetInterface):
|
||||
context = self.field.context_get(self.record)
|
||||
try:
|
||||
key_ids = RPCExecute('model', self.schema_model, 'search',
|
||||
[('rec_name', '=', key)], 0, CONFIG['client.limit'],
|
||||
[('name', '=', key)], 0, CONFIG['client.limit'],
|
||||
None, context=context)
|
||||
self.keys[key] = RPCExecute('model', self.schema_model,
|
||||
'get_keys', key_ids, context=context)[0]
|
||||
|
||||
Reference in new issue
Block a user