account_invoice.py 258 B

123456789
  1. # -*- coding: utf-8 -*-
  2. from openerp import api, models, fields
  3. class account_invoice(models.Model):
  4. _inherit = "account.invoice"
  5. _name = 'account.invoice'
  6. seq_invoice = fields.Char(string='Secuencia', related='internal_number', store = True)