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