geom_test.py 207 Bytes
from odoo import api, fields, models


class GeomTest(models.Model):
    _description = 'GeomTest'
    _name = 'geom.test'
    name = fields.Char(index=True)
    geom = fields.GeoPolygon(index=True)