comprobante.py 431 Bytes
# -*- coding: utf-8 -*-
from odoo import models, fields, api, exceptions

class asw_comprobante(models.Model):
    _inherit = 'asw.comprobante'

    comp_lin_deuda = fields.Many2one(
        string=u'Linea Deuda',
        comodel_name='vnt.linea_deuda',
        ondelete='set null',
    )

    nd_lin_deuda = fields.Many2one(
        string=u'Linea Deuda',
        comodel_name='vnt.linea_deuda',
        ondelete='set null',
    )