mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 05:52:06 +02:00
12 lines
310 B
Python
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")
|