linea_pago_admin.py
433 Bytes
# -*- coding: utf-8 -*-
from odoo import models, fields, api
class hgt_linea_pago_admin(models.Model):
_name = 'hgt.linea_pago_admin'
monto = fields.Float(
string='Monto',
)
val_tipo = fields.Many2one(
string=u'Tipo',
comodel_name='asw.tipos_valores',
ondelete='set null',
)
abonado = fields.Boolean(
string=u'Abonado a Admin',
default= False,
)