Call change_with selection method with an instance
issue8293
This commit is contained in:
1 parent
c1a59b07e7
commit
1f2256d545
1 file changed
+1
-2
@@ -201,8 +201,7 @@ class Model(URLMixin, PoolBase, metaclass=ModelMeta):
|
||||
change_with = props.get('selection_change_with')
|
||||
if change_with:
|
||||
selection = getattr(
|
||||
Relation, props['selection'])(
|
||||
dict((p, None) for p in change_with))
|
||||
Relation(), props['selection'])()
|
||||
else:
|
||||
selection = getattr(
|
||||
Relation, props['selection'])()
|
||||
|
||||
Reference in new issue
Block a user