Skip to content

Commit

Permalink
FIX: massive import of products
Browse files Browse the repository at this point in the history
  • Loading branch information
mboscolo committed Nov 14, 2023
1 parent 8d4aebb commit fbc1726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plm/models/product_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ def create(self, vals):
vals_dict = self.plm_sanitize(vals_dict)
to_write.append(vals_dict)
try:
res = super().create(vals_dict)
res = super().create(to_write)
return res
except Exception as ex:
if isinstance(ex, UserError):
Expand Down

0 comments on commit fbc1726

Please sign in to comment.