Use default value for anglo_saxon_quantity when duplicate
(transplanted from f88037e2180bda8379d561e54d9e3a96683bcbe7)
This commit is contained in:
1 parent
01dad010b0
commit
09ec89ea73
1 file changed
+2
-1
@@ -85,7 +85,8 @@ class Move(ModelSQL, ModelView):
|
||||
if default is None:
|
||||
default = {}
|
||||
default = default.copy()
|
||||
default.setdefault('anglo_saxon_quantity', None)
|
||||
default.setdefault('anglo_saxon_quantity',
|
||||
self.default_anglo_saxon_quantity())
|
||||
return super(Move, self).copy(ids, default=default)
|
||||
|
||||
Move()
|
||||
Reference in new issue
Block a user