From 26d949ab963df4f84c5a473471b9ba6ac575126a Mon Sep 17 00:00:00 2001 From: Sandy Carter <sandy.carter@savoirfairelinux.com> Date: Mon, 16 Mar 2015 12:29:24 -0400 Subject: [PATCH] Add demo data Brussels Belgium city --- base_location/README.rst | 3 ++- base_location/__openerp__.py | 4 ++++ base_location/demo/better_zip.xml | 12 ++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 base_location/demo/better_zip.xml diff --git a/base_location/README.rst b/base_location/README.rst index 8c0350d9e..0fb7de7a5 100644 --- a/base_location/README.rst +++ b/base_location/README.rst @@ -18,6 +18,7 @@ Contributors * Ignacio Ibeas (Acysos S.L.) * Pedro M. Baeza <pedro.baeza@serviciosbaeza.com> * Alejandro Santana <alejandrosantana@anubia.es> +- Sandy Carter <sandy.carter@savoirfairelinux.com> Icon ---- @@ -37,4 +38,4 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit http://odoo-community.org. \ No newline at end of file +To contribute to this module, please visit http://odoo-community.org. diff --git a/base_location/__openerp__.py b/base_location/__openerp__.py index 0dcaeeac9..44309a4b1 100644 --- a/base_location/__openerp__.py +++ b/base_location/__openerp__.py @@ -30,6 +30,7 @@ 'Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>', 'Ignacio Ibeas (Acysos S.L.)', 'Alejandro Santana <alejandrosantana@anubia.es>', + 'Sandy Carter <sandy.carter@savoirfairelinux.com>', ], 'summary': '''Enhanced zip/npa management system''', 'website': 'http://www.camptocamp.com', @@ -39,6 +40,9 @@ 'views/company_view.xml', 'views/partner_view.xml', 'security/ir.model.access.csv'], + 'demo': [ + 'demo/better_zip.xml', + ], 'installable': True, 'active': False, } diff --git a/base_location/demo/better_zip.xml b/base_location/demo/better_zip.xml new file mode 100644 index 000000000..7ecc6b14b --- /dev/null +++ b/base_location/demo/better_zip.xml @@ -0,0 +1,12 @@ +<?xml version = "1.0" encoding="utf-8"?> +<openerp> + <data> + + <record id="demo_brussels" model="res.better.zip"> + <field name="name">1000</field> + <field name="city">Brussels</field> + <field name="country_id" ref="base.be"/> + </record> + + </data> +</openerp>