mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
@@ -122,7 +122,7 @@ class QcInspection(models.Model):
|
||||
for vals in val_list:
|
||||
if vals.get("name", "/") == "/":
|
||||
vals["name"] = self.env["ir.sequence"].next_by_code("qc.inspection")
|
||||
return super().create(vals)
|
||||
return super().create(val_list)
|
||||
|
||||
def unlink(self):
|
||||
for inspection in self:
|
||||
|
||||
Reference in New Issue
Block a user