In create(), copy vlist before update.

This commit is contained in:
Albert Cervera i Areny 2023-09-25 10:32:29 +02:00
parent 7c25a6bfbe
commit decc1e7b15
1 changed files with 1 additions and 0 deletions

View File

@ -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'):