Update file init_test.py

This commit is contained in:
2023-11-06 09:22:36 +00:00
parent d0c1327bf9
commit 8f04dcfd23

View File

@@ -28,8 +28,8 @@ class CustomModel(models.Model):
#raise ValidationError(external_content)
# Update the field in a record
record = self.search([('id', '=', 1)]) # Replace <record_id> with the actual ID of the record you want to update
record.write({'external_content': external_content})
record = self.search([('id', '=', 1)]) # Replace <record_id> with the actual ID of the record you want to update
record.write({'external_content': external_content})
# @api.model