comprobante.py 288 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 # -*- 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', )