Skip to content

[10.0][MIG] geoengine_partner#160

Merged
yvaucher merged 3 commits into
OCA:10.0from
CompassionCH:10.0-geoengine-partner
Jun 28, 2018
Merged

[10.0][MIG] geoengine_partner#160
yvaucher merged 3 commits into
OCA:10.0from
CompassionCH:10.0-geoengine-partner

Conversation

@ecino
Copy link
Copy Markdown
Contributor

@ecino ecino commented Feb 9, 2018

Migrate geoengine partner module

Copy link
Copy Markdown
Member

@yvaucher yvaucher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started to review then figured our a lot of change were made in base_geoengine.

I guess you wanted to fix PEP8 issues. May I suggest you to do this in another PR?


# technical field to display or not wmts options
is_wmts = fields.Boolean(compute='_compute_is_wmts')
is_wmts = fields.Boolean(compute='_get_is_wmts')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please keep _compute as it is an OCA convention for computed fields.

base_geoengine/geo_view/geo_raster_layer.py:38: [C8108(method-compute), GeoRasterLayer] Name of compute method should start with "compute"
base_geoengine/geo_view/geo_raster_layer.py:59: [C8108(method-compute), GeoRasterLayer] Name of compute method should start with "compute"

use_to_edit = fields.Boolean('Use to edit')

@api.multi
@api.one
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider api.one as deprecated, there was some flip flop about it but the final result is that it is discouraged to use it.

@ecino
Copy link
Copy Markdown
Contributor Author

ecino commented Apr 20, 2018

Oops, you are right there are some unwanted changes here! I just tried to replace the openerp imports but I might have brought some unwanted changes I have to check what I did 😄

@ecino
Copy link
Copy Markdown
Contributor Author

ecino commented Apr 20, 2018

@yvaucher I think it's better now!

@ecino
Copy link
Copy Markdown
Contributor Author

ecino commented Apr 20, 2018

It seems that odoo-sphinx-autodoc is creating errors in the travis test instance...

@ecino
Copy link
Copy Markdown
Contributor Author

ecino commented Jun 28, 2018

@yvaucher I guess you can review now. I just replaced openerp imports with odoo, otherwise it's only geoengine_partner changes.

@yvaucher yvaucher merged commit b02e332 into OCA:10.0 Jun 28, 2018
@ecino ecino deleted the 10.0-geoengine-partner branch June 28, 2018 13:52
rvalyi pushed a commit to akretion/geospatial that referenced this pull request Mar 10, 2023
[FIX] Google map views markers located on the same coordinate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants