account_invoice.py 457 B

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