Browse Source

Add demo data

Brussels Belgium city
14.0
Sandy Carter 10 years ago
committed by Pedro M. Baeza
parent
commit
73adbd0cd2
  1. 3
      base_location/README.rst
  2. 4
      base_location/__openerp__.py
  3. 12
      base_location/demo/better_zip.xml

3
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.
To contribute to this module, please visit http://odoo-community.org.

4
base_location/__openerp__.py

@ -34,6 +34,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',
@ -43,6 +44,9 @@
'views/company_view.xml',
'views/partner_view.xml',
'security/ir.model.access.csv'],
'demo': [
'demo/better_zip.xml',
],
'installable': True,
'active': False,
}

12
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>
Loading…
Cancel
Save