split_tema_descr.py
436 Bytes
# -*- coding: utf-8 -*-
from odoo import models, fields, api
class hgt_split_tema_descr(models.TransientModel):
_name = "hgt.split_tema_descr"
splittd_descr = fields.Text(
string=u'Descripción',
)
splittd_nom = fields.Char(
string=u'Nombre',
)
rel_split = fields.Many2one(
string='Split',
comodel_name='hgt.incidencias_temas_split',
ondelete='set null',
)