old_contents: # -*- coding: utf-8 -*-
  ##############################################################################
  #
  #   Copyright (c) 2015 Kmee - www.kmee.com.br
  #   @author Fernando Marcato Rodrigues
  #
  #    This program is free software: you can redistribute it and/or modify
  #    it under the terms of the GNU Affero General Public License as
  #    published by the Free Software Foundation, either version 3 of the
  #    License, or (at your option) any later version.
  #
  #    This program is distributed in the hope that it will be useful,
  #    but WITHOUT ANY WARRANTY; without even the implied warranty of
  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #    GNU Affero General Public License for more details.
  #
  #    You should have received a copy of the GNU Affero General Public License
  #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #
  ##############################################################################
  
  from openerp import models, fields, api
  
  PRODUCT_ORIGIN = [
      ('0', u'0 - Nacional, exceto as indicadas nos códigos 3 a 5'),
      ('1', u'1 - Estrangeira - Importação direta, exceto a indicada no código 6'),
      ('2', u'2 - Estrangeira - Adquirida no mercado interno, exceto a indicada no código 7'),
      ('3', u'3 - Nacional, mercadoria ou bem com Conteúdo de Importação superior a  40% (quarenta por cento)'),
      ('4', u'4 - Nacional, cuja produção tenha sido feita em conformidade com os processos produtivos básicos de que tratam o Decreto-Lei nº 288/67, e as Leis nºs 8.248/91, 8.387/91, 10.176/01 e 11.484/07'),
      ('5', u'5 - Nacional, mercadoria ou bem com Conteúdo de Importação inferior ou igual a 40% (quarenta por cento)'),
      ('6', u'6 - Estrangeira - Importação direta, sem similar nacional, constante em lista de Resolução CAMEX'),
      ('7', u'7 - Estrangeira - Adquirida no mercado interno, sem similar nacional, constante em lista de Resolução CAMEX')
  ]
  
  
  class ProductProduct(models.Model):
      """Personalization to allow different ncm's in product variants"""
      _inherit = "product.product"
  
      ncm_id = fields.Many2one('account.product.fiscal.classification', u'NCM')
      categ_id = fields.Many2one('product.category','Internal Category',
          required=True, change_default=True, domain="[('type','=','normal')]",
          help="Select category for the current product")
      origin = fields.Selection(PRODUCT_ORIGIN, 'Origem')
  
new_contents: # -*- coding: utf-8 -*-
  ##############################################################################
  #
  #   Copyright (c) 2015 Kmee - www.kmee.com.br
  #   @author Fernando Marcato Rodrigues
  #
  #    This program is free software: you can redistribute it and/or modify
  #    it under the terms of the GNU Affero General Public License as
  #    published by the Free Software Foundation, either version 3 of the
  #    License, or (at your option) any later version.
  #
  #    This program is distributed in the hope that it will be useful,
  #    but WITHOUT ANY WARRANTY; without even the implied warranty of
  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #    GNU Affero General Public License for more details.
  #
  #    You should have received a copy of the GNU Affero General Public License
  #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #
  ##############################################################################
  
  from openerp import models, fields, api
  
  PRODUCT_ORIGIN = [
      ('0', u'0 - Nacional, exceto as indicadas nos códigos 3 a 5'),
      ('1', u'1 - Estrangeira - Importação direta, exceto a indicada no código 6'),
      ('2', u'2 - Estrangeira - Adquirida no mercado interno, exceto a indicada no código 7'),
      ('3', u'3 - Nacional, mercadoria ou bem com Conteúdo de Importação superior a  40% (quarenta por cento)'),
      ('4', u'4 - Nacional, cuja produção tenha sido feita em conformidade com os processos produtivos básicos de que tratam o Decreto-Lei nº 288/67, e as Leis nºs 8.248/91, 8.387/91, 10.176/01 e 11.484/07'),
      ('5', u'5 - Nacional, mercadoria ou bem com Conteúdo de Importação inferior ou igual a 40% (quarenta por cento)'),
      ('6', u'6 - Estrangeira - Importação direta, sem similar nacional, constante em lista de Resolução CAMEX'),
      ('7', u'7 - Estrangeira - Adquirida no mercado interno, sem similar nacional, constante em lista de Resolução CAMEX')
  ]
  
  
  class ProductProduct(models.Model):
      """Personalization to allow different ncm's in product variants"""
      _inherit = "product.product"
  
      fiscal_classification_id = fields.Many2one('account.product.fiscal.classification', u'NCM')
      categ_id = fields.Many2one('product.category','Internal Category',
          required=True, change_default=True, domain="[('type','=','normal')]",
          help="Select category for the current product")
      origin = fields.Selection(PRODUCT_ORIGIN, 'Origem')
  
subject: update nome do campo