# -*- encoding: utf-8 -*- from openerp import models, fields, api class AccountInvoice(models.Model): _name = 'account.invoice' _inherit = 'account.invoice' attachment_ids = fields.One2many('ir.attachment', 'res_id', 'Attachment') timbrado = fields.Char('NÂș de timbrado del proveedor', size=8) imputa_irp = fields.Boolean(string='Imputa IRP', readonly=False) si_imputa = fields.Boolean(string='Imputa IRE Simple', readonly=False)