
from openerp.osv import osv, fields


class product_product(osv.Model):
    _inherit = "res.partner"
    _columns = {
        'pec_mail': fields.char(
            'PEC Mail'
        ),
    }


from openerp.osv import fields, orm


class ResPartner(orm.Model):
    _inherit = "res.partner"
    _columns = {
        'pec_mail': fields.char(
            'PEC Mail'
        ),
    }

Fix CamelCase on PEC module
[Fix] Fix CamelCase on PEC module

  
- from openerp.osv import osv, fields
+ from openerp.osv import fields, orm
  
  
- class product_product(osv.Model):
+ class ResPartner(orm.Model):
      _inherit = "res.partner"
      _columns = {
          'pec_mail': fields.char(
              'PEC Mail'
          ),
      }
  
Fix CamelCase on PEC module
## Code Before:

from openerp.osv import osv, fields


class product_product(osv.Model):
    _inherit = "res.partner"
    _columns = {
        'pec_mail': fields.char(
            'PEC Mail'
        ),
    }

## Instruction:
Fix CamelCase on PEC module
## Code After:

from openerp.osv import fields, orm


class ResPartner(orm.Model):
    _inherit = "res.partner"
    _columns = {
        'pec_mail': fields.char(
            'PEC Mail'
        ),
    }
