In create(), copy vlist before update.
This commit is contained in:
parent
7c25a6bfbe
commit
decc1e7b15
|
@ -93,6 +93,7 @@ class QualitySample(ModelSQL, ModelView):
|
|||
pool = Pool()
|
||||
Config = pool.get('quality.configuration')
|
||||
|
||||
vlist = [x.copy() for x in vlist]
|
||||
sequence = Config(1).sample_sequence
|
||||
for value in vlist:
|
||||
if not value.get('code'):
|
||||
|
|
Loading…
Reference in New Issue