agregar_cheque.py 556 Bytes
# -*- coding: utf-8 -*-
from odoo import models, fields, api
from odoo.exceptions import UserError, ValidationError

class asw_corrector_numtal(models.TransientModel):
    _name = 'hgt.agregar_cheque_terceroasis'
    _description = "Agregarcheque de tercero"

    pcw_chq_terceros = fields.Many2many(
        comodel_name='asw.cheque', 
        relation='pago_discriminado_chq_terceros', #ya lo edite
        column1='asw_cheque_id', 
        column2='asw_cliente_id', 
        string='Cheques Propios',
        domain=[],
        readonly=False
    )