comprobante.py
403 Bytes
# -*- coding: utf-8 -*-
from odoo import models, fields, api, exceptions
class asw_comprobante(models.Model):
_inherit = 'asw.comprobante'
agrupaciones = fields.Char(
string="Grupo",
)
referencia = fields.One2many(
string=u'Referencia',
comodel_name='asw.referencias',
inverse_name='factura',
)
qr = fields.Binary(
string=u'QR',
)