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. 1
      base_location/README.rst
  2. 4
      base_location/__openerp__.py
  3. 12
      base_location/demo/better_zip.xml

1
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
---- ----

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