diff options
| author | Saurang Suthar(OpenERP) <> | 2012-08-22 18:32:32 +0530 |
|---|---|---|
| committer | pso (OpenERP) <pso@tinyerp.com> | 2012-08-22 18:32:32 +0530 |
| commit | 095843797c3f89f0e81dbc77d049c9a277d64e9e (patch) | |
| tree | fdb4bf2ac3d2ce5d172f64dea379323c1f79ea7b /addons/base_module_record | |
| parent | c78a04bc68ae5b8b96e98abb0d1a5f3303fb5d9b (diff) | |
[IMP] Improved _openerp__.py of all modules by replacing demo_xml with demo, init_xml and update_xml with data and adding noupdate
bzr revid: pso@tinyerp.com-20120822130232-un52dks3sclyx8m5
Diffstat (limited to 'addons/base_module_record')
| -rw-r--r-- | addons/base_module_record/wizard/base_module_save.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/addons/base_module_record/wizard/base_module_save.py b/addons/base_module_record/wizard/base_module_save.py index 5e557472f7e..a63e7197654 100644 --- a/addons/base_module_record/wizard/base_module_save.py +++ b/addons/base_module_record/wizard/base_module_save.py @@ -60,9 +60,8 @@ def _create_module(self, cr, uid, ids, context=None): "category" : "%(category)s", "description": \"\"\"%(description)s\"\"\", "depends" : [%(depends)s], - "init_xml" : [ ], - "demo_xml" : [ %(demo_name)s], - "update_xml" : [%(update_name)s], + "demo" : [ %(demo_name)s], + "data" : [%(update_name)s], "installable": True } """ % data filewrite = { @@ -167,4 +166,4 @@ class base_module_save(osv.osv_memory): base_module_save() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
