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