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