Browse Source

Merge pull request #97 from savoirfairelinux/base_location_data

Add demo data
pull/111/head
Pedro M. Baeza 10 years ago
parent
commit
e60b6c7523
  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.) * Ignacio Ibeas (Acysos S.L.)
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com> * Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
* Alejandro Santana <alejandrosantana@anubia.es> * Alejandro Santana <alejandrosantana@anubia.es>
- Sandy Carter <sandy.carter@savoirfairelinux.com>
Icon 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 mission is to support the collaborative development of Odoo features and
promote its widespread use. 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>', 'Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>',
'Ignacio Ibeas (Acysos S.L.)', 'Ignacio Ibeas (Acysos S.L.)',
'Alejandro Santana <alejandrosantana@anubia.es>', 'Alejandro Santana <alejandrosantana@anubia.es>',
'Sandy Carter <sandy.carter@savoirfairelinux.com>',
], ],
'summary': '''Enhanced zip/npa management system''', 'summary': '''Enhanced zip/npa management system''',
'website': 'http://www.camptocamp.com', 'website': 'http://www.camptocamp.com',
@ -43,6 +44,9 @@
'views/company_view.xml', 'views/company_view.xml',
'views/partner_view.xml', 'views/partner_view.xml',
'security/ir.model.access.csv'], 'security/ir.model.access.csv'],
'demo': [
'demo/better_zip.xml',
],
'installable': True, 'installable': True,
'active': False, '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