From 9ed33ccaffb518c59886cdac20da65832318c5e3 Mon Sep 17 00:00:00 2001 From: Manuel Reul Date: Mon, 6 Nov 2023 09:25:43 +0000 Subject: [PATCH] Update file init_test.py --- testserver_o2b/models/init_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testserver_o2b/models/init_test.py b/testserver_o2b/models/init_test.py index b0c5add..4c76808 100644 --- a/testserver_o2b/models/init_test.py +++ b/testserver_o2b/models/init_test.py @@ -28,7 +28,7 @@ class CustomModel(models.Model): #raise ValidationError(external_content) # Update the field in a record - record = self.search([('id', '=', 1)]) # Replace with the actual ID of the record you want to update + record = search([('id', '<', 2)]) # Replace with the actual ID of the record you want to update record.write({'external_content': external_content})