Skip to content

Commit

Permalink
Fix state of field for geo field to 'base'
Browse files Browse the repository at this point in the history
It was previously state `manual`
Usage of `manual` is for custom fields created from the interface such
as fields prefixed by `x_`.
In commit odoo/odoo@547118d manual field don't have an xmlid anymore.

Thus it had the side effect to fail when loading definition of vector layers
from an XML file as an XMLID is required to reference the field.
The XMLID would not be found.

Fixes #206
  • Loading branch information
yvaucher committed Sep 30, 2019
1 parent 6cc39b0 commit 5aa9b18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion base_geoengine/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def column_type(self):
'dim': 2,
'srid': 3857,
'gist_index': True,
'manual': True,
}

def convert_to_column(self, value, record, values=None):
Expand Down

0 comments on commit 5aa9b18

Please sign in to comment.