From 43bc2667cf98def1db81f4af7fcee8098fe010dc Mon Sep 17 00:00:00 2001 From: Romain Deheele Date: Tue, 14 Jan 2014 16:39:36 +0100 Subject: [PATCH] [ADD] add continent datas --- base_continent/__openerp__.py | 26 +++++++++++++------------ base_continent/base_continent_data.xml | 27 ++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 12 deletions(-) create mode 100644 base_continent/base_continent_data.xml diff --git a/base_continent/__openerp__.py b/base_continent/__openerp__.py index d663a0d5e..851c0950c 100644 --- a/base_continent/__openerp__.py +++ b/base_continent/__openerp__.py @@ -20,21 +20,23 @@ ############################################################################## -{"name": "Continent management", - "version": "1.0", - "depends": ["base"], - "author": "Camptocamp", - "license": "AGPL-3", - "description": """ +{'name': 'Continent management', + 'version': '1.0', + 'depends': ['base'], + 'author': 'Camptocamp', + 'license': 'AGPL-3', + 'description': """ This module introduces continent management. ============================================ Links continents to countries, adds continent field on partner form """, - "category": "Generic Modules/Base", - "init_xml": [], - "demo_xml": [], - "update_xml": ["base_continent_view.xml"], - "active": False, - "installable": True, + 'category': 'Generic Modules/Base', + 'init_xml': [], + 'demo_xml': [], + 'update_xml': [ + 'base_continent_view.xml', + 'base_continent_data.xml'], + 'active': False, + 'installable': True, } diff --git a/base_continent/base_continent_data.xml b/base_continent/base_continent_data.xml new file mode 100644 index 000000000..555c433ea --- /dev/null +++ b/base_continent/base_continent_data.xml @@ -0,0 +1,27 @@ + + + + + + Africa + + + Antarctica + + + Asia + + + Europe + + + North America + + + Oceania + + + South America + + +