Hi!
I would like to display the data retrieved from the database.
This is a example of my code:
class course(models.Model):
cost = fields.Float( )
@api.depends
def _get_cost(self):
self.cost = self.env[ 'course'].cost
##############
< field name="cost" readonly="1"/>