From 616d827d7fe27e83141ee00bb42df35280afdd13 Mon Sep 17 00:00:00 2001 From: Mourad Elhadj Mimoune Date: Tue, 30 Aug 2016 16:18:00 +0200 Subject: [PATCH] [MIG] Migrate module from 8.0 to 9.0 --- sql_export/__init__.py | 2 +- sql_export/__openerp__.py | 4 ++-- sql_export/models/__init__.py | 1 + sql_export/{ => models}/sql_export.py | 0 sql_export/{ => views}/sql_export_view.xml | 3 ++- 5 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 sql_export/models/__init__.py rename sql_export/{ => models}/sql_export.py (100%) rename sql_export/{ => views}/sql_export_view.xml (96%) diff --git a/sql_export/__init__.py b/sql_export/__init__.py index 5dfb4aab3..9b4296142 100644 --- a/sql_export/__init__.py +++ b/sql_export/__init__.py @@ -1,2 +1,2 @@ -from . import sql_export +from . import models from . import wizard diff --git a/sql_export/__openerp__.py b/sql_export/__openerp__.py index 9048aa751..ec6a00d30 100644 --- a/sql_export/__openerp__.py +++ b/sql_export/__openerp__.py @@ -20,7 +20,7 @@ ############################################################################## {'name': 'SQL Export', - 'version': '0.1', + 'version': '9.0.1.0.0', 'author': 'Akretion,Odoo Community Association (OCA)', 'website': 'http://www.akretion.com', 'license': 'AGPL-3', @@ -29,7 +29,7 @@ 'depends': ['base', ], 'data': [ - 'sql_export_view.xml', + 'views/sql_export_view.xml', 'wizard/wizard_file_view.xml', 'security/sql_export_security.xml', 'security/ir.model.access.csv', diff --git a/sql_export/models/__init__.py b/sql_export/models/__init__.py new file mode 100644 index 000000000..014462062 --- /dev/null +++ b/sql_export/models/__init__.py @@ -0,0 +1 @@ +from . import sql_export diff --git a/sql_export/sql_export.py b/sql_export/models/sql_export.py similarity index 100% rename from sql_export/sql_export.py rename to sql_export/models/sql_export.py diff --git a/sql_export/sql_export_view.xml b/sql_export/views/sql_export_view.xml similarity index 96% rename from sql_export/sql_export_view.xml rename to sql_export/views/sql_export_view.xml index b981f3351..611a269a7 100644 --- a/sql_export/sql_export_view.xml +++ b/sql_export/views/sql_export_view.xml @@ -51,7 +51,8 @@ - +