I am adding a new field in a model, while it works fine, I think its name is not being updated. In this case I got '%' as field name, which if I recall correctly it i the first name I gave it. Then I have changed the name t 'Margen de Ventas (%)' as you can see in the code. I have uninstalled and reinstalled the module but it seems stuck with %.
Is this the right way to name new fields? Thanks
# -*- coding: utf-8 -*- from openerp import models, fields, api class SaleMarginLines(models.Model): _inherit = 'sale.order.line', x_sale_margin = fields.Float('Margen de Ventas (%)', (4, 2))