dias.py 288 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 = 'Día de la semana' _rec_name = 'dia_nombre' dia_nombre = fields.Char( string=u'Días', readonly=True )