dias.py 285 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 # -*- coding: utf-8 -*- from odoo import models, fields, api, exceptions class trans_dias(models.Model): _name = 'trans.dias' _description = 'Dia de la semana' _rec_name = 'dia_nombre' dia_nombre = fields.Char( string=u'Dia', readonly=True )