First create a model (if you dont have one yet) then create some fields on this model:
class check_demo(models.Model):
    _name = 'check.demo'
    name = fields.Char(required=True)
    numberOfUpdates = fields.Integer('Number of updates', help='The number of times the scheduler has run and updated this field')
    lastModified = fields.Date('Last updated')
This will create a new model named check.demo which will contain three fields: a text field for the name, an integer field to keep track of how many times the record was updated and a date field. 
This is all you need on the database level. You have your fields in the database, now you only need to show them to the user now.
                       
                    
0 Comment(s)