-
-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] geoengine_base_geolocalize migration
- Loading branch information
Showing
10 changed files
with
90 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,27 @@ | ||
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# Author: Laurent Mignon | ||
# Copyright (c) 2015 Acsone SA/NV (http://www.acsone.eu) | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
{'name': 'Geospatial support for base_geolocalize', | ||
'version': '8.0.0.1.0', | ||
'category': 'GeoBI', | ||
'author': "ACSONE SA/NV, Odoo Community Association (OCA)", | ||
'license': 'AGPL-3', | ||
'website': 'http://www.acsone.eu', | ||
'depends': [ | ||
'base', | ||
'geoengine_partner', | ||
'base_geolocalize', | ||
], | ||
'external_dependencies': { | ||
'python': ['requests'], | ||
}, | ||
'data': [ | ||
'views/res_partner_view.xml' | ||
], | ||
'installable': False, | ||
'application': True, | ||
'autoinstall': True, | ||
'active': False, | ||
} | ||
# Copyright 2015-2017 ACSONE SA/NV (<http://acsone.eu>) | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
{ | ||
'name': 'Geospatial support for base_geolocalize', | ||
'version': '10.0.1.0.0', | ||
'category': 'GeoBI', | ||
'author': "ACSONE SA/NV, Odoo Community Association (OCA)", | ||
'license': 'AGPL-3', | ||
'website': 'https://github.com/OCA/geospatial', | ||
'depends': [ | ||
'base', | ||
'geoengine_partner', | ||
'base_geolocalize', | ||
'base_geolocalize_openstreetmap', | ||
], | ||
'external_dependencies': { | ||
'python': [ | ||
'requests' | ||
], | ||
}, | ||
'data': [ | ||
'views/res_partner_view.xml' | ||
], | ||
'application': True, | ||
'autoinstall': True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1 @@ | ||
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# Author: Laurent Mignon | ||
# Copyright (c) 2015 Acsone SA/NV (http://www.acsone.eu) | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
from . import res_partner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 3 additions & 22 deletions
25
geoengine_base_geolocalize/tests/test_geoengine_partner.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
<record model="ir.ui.view" id="geoengine_partner.geo_partner_view_form"> | ||
<field name="name">geo_partner_form</field> | ||
<field name="model">res.partner</field> | ||
<field name="inherit_id" ref="base_geolocalize.view_crm_partner_geo_form"/> | ||
<field name="arch" type="xml"> | ||
<field name="date_localization" position="after"> | ||
<field name="geo_point" widget="geo_edit_map" | ||
groups="base_geoengine.group_geoengine_user,base_geoengine.group_geoengine_admin"/> | ||
</field> | ||
<odoo> | ||
|
||
<record model="ir.ui.view" id="geoengine_partner.geo_partner_view_form"> | ||
<field name="name">geo_partner_form</field> | ||
<field name="model">res.partner</field> | ||
<field name="inherit_id" ref="base_geolocalize.view_crm_partner_geo_form"/> | ||
<field name="arch" type="xml"> | ||
<field name="date_localization" position="after"> | ||
<field name="geo_point" widget="geo_edit_map" | ||
groups="base_geoengine.group_geoengine_user,base_geoengine.group_geoengine_admin"/> | ||
</field> | ||
</record> | ||
</data> | ||
</openerp> | ||
</field> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
This directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins. | ||
|
||
This directory caches those eggs to prevent repeated downloads. | ||
|
||
However, it is safe to delete this directory. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) |
1 change: 1 addition & 0 deletions
1
setup/geoengine_base_geolocalize/odoo/addons/geoengine_base_geolocalize
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../geoengine_base_geolocalize/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |