
from openerp.osv import fields
from base_geoengine import geo_model


class ResPartner(geo_model.GeoModel):
    """Add geo_point to partner using a function filed"""
    _name = "res.partner"
    _inherit = "res.partner"

    _columns = {
        'geo_point': fields.geo_point('Addresses coordinate')
    }


from openerp.osv import fields
from openerp.addons.base_geoengine import geo_model


class ResPartner(geo_model.GeoModel):
    """Add geo_point to partner using a function filed"""
    _name = "res.partner"
    _inherit = "res.partner"

    _columns = {
        'geo_point': fields.geo_point('Addresses coordinate')
    }

Use absolute imports on opnerp.addons
[FIX] Use absolute imports on opnerp.addons

  
  from openerp.osv import fields
- from base_geoengine import geo_model
+ from openerp.addons.base_geoengine import geo_model
  
  
  class ResPartner(geo_model.GeoModel):
      """Add geo_point to partner using a function filed"""
      _name = "res.partner"
      _inherit = "res.partner"
  
      _columns = {
          'geo_point': fields.geo_point('Addresses coordinate')
      }
  
Use absolute imports on opnerp.addons
## Code Before:

from openerp.osv import fields
from base_geoengine import geo_model


class ResPartner(geo_model.GeoModel):
    """Add geo_point to partner using a function filed"""
    _name = "res.partner"
    _inherit = "res.partner"

    _columns = {
        'geo_point': fields.geo_point('Addresses coordinate')
    }

## Instruction:
Use absolute imports on opnerp.addons
## Code After:

from openerp.osv import fields
from openerp.addons.base_geoengine import geo_model


class ResPartner(geo_model.GeoModel):
    """Add geo_point to partner using a function filed"""
    _name = "res.partner"
    _inherit = "res.partner"

    _columns = {
        'geo_point': fields.geo_point('Addresses coordinate')
    }
