oca-technical/odoo-bringout-oca-geospatial-geoengine_partner/geoengine_partner/models/partner.py
2025-08-29 15:43:03 +02:00

12 lines
310 B
Python

# Copyright 2011-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
from odoo import fields, models
class ResPartner(models.Model):
"""Add geo_point to partner using a function filed"""
_inherit = "res.partner"
geo_point = fields.GeoPoint("Address coordinates")