summaryrefslogtreecommitdiff
path: root/bin/addons/base/module/wizard
diff options
context:
space:
mode:
authorjas <jas@tinyerp.com>2010-09-29 13:28:01 +0530
committerjas <jas@tinyerp.com>2010-09-29 13:28:01 +0530
commit55bec50ff09b29eb616ffbd56949b9ca194753d0 (patch)
tree87fb36b1d31ed726aee95753ac02efc1ee42b701 /bin/addons/base/module/wizard
parent276b05358b2528d971a2d85acbc6f75a91c812b6 (diff)
[IMP]: base : Improvements in base module
bzr revid: jas@tinyerp.com-20100929075801-l569rvj9tiq2ha9w
Diffstat (limited to 'bin/addons/base/module/wizard')
-rw-r--r--bin/addons/base/module/wizard/base_module_import_view.xml2
-rw-r--r--bin/addons/base/module/wizard/base_module_update.py2
-rw-r--r--bin/addons/base/module/wizard/base_module_update_view.xml2
-rw-r--r--bin/addons/base/module/wizard/base_module_upgrade_view.xml2
-rw-r--r--bin/addons/base/module/wizard/base_update_translations.py6
5 files changed, 10 insertions, 4 deletions
diff --git a/bin/addons/base/module/wizard/base_module_import_view.xml b/bin/addons/base/module/wizard/base_module_import_view.xml
index 8cb974167d9..9d1aa1bce49 100644
--- a/bin/addons/base/module/wizard/base_module_import_view.xml
+++ b/bin/addons/base/module/wizard/base_module_import_view.xml
@@ -7,7 +7,7 @@
<field name="model">base.module.import</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form string="Module import">
+ <form string="Import module">
<separator string="Module Import" colspan="4"/>
<label string="Please give your module .ZIP file to import." colspan="4"/>
<field name="module_file"/>
diff --git a/bin/addons/base/module/wizard/base_module_update.py b/bin/addons/base/module/wizard/base_module_update.py
index 29e897b3a0c..eea5f5aaee4 100644
--- a/bin/addons/base/module/wizard/base_module_update.py
+++ b/bin/addons/base/module/wizard/base_module_update.py
@@ -92,7 +92,7 @@ class base_module_update_open(osv.osv_memory):
"""
res = {
'domain': str([]),
- 'name': 'Module List',
+ 'name': 'Modules',
'view_type': 'form',
'view_mode': 'tree,form',
'res_model': 'ir.module.module',
diff --git a/bin/addons/base/module/wizard/base_module_update_view.xml b/bin/addons/base/module/wizard/base_module_update_view.xml
index 08576006ba5..9091b5a1b9d 100644
--- a/bin/addons/base/module/wizard/base_module_update_view.xml
+++ b/bin/addons/base/module/wizard/base_module_update_view.xml
@@ -8,7 +8,7 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Scan for new modules">
- <label string="This function will check for new modules in the 'addons' path" colspan="4" align="0.0"/>
+ <label string="This wizard will scan all module repositories (on the server side) to detect any new or updated modules. Please be patient as this operation may take a few seconds..." colspan="4" align="0.0"/>
<separator string="" colspan="4" />
<newline/>
<group colspan="6" >
diff --git a/bin/addons/base/module/wizard/base_module_upgrade_view.xml b/bin/addons/base/module/wizard/base_module_upgrade_view.xml
index ce7d2e6b659..75e635b3ab4 100644
--- a/bin/addons/base/module/wizard/base_module_upgrade_view.xml
+++ b/bin/addons/base/module/wizard/base_module_upgrade_view.xml
@@ -47,7 +47,7 @@
<field name="model">base.module.upgrade</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form string="System update done">
+ <form string="Apply Scheduled Upgrades">
<separator string="System update completed" colspan="4"/>
<label align="0.0" string="The selected modules have been updated / installed !" colspan="4"/>
<label align="0.0" string="We suggest to reload the menu tab to see the new menus (Ctrl+T then Ctrl+R)." colspan="4"/>
diff --git a/bin/addons/base/module/wizard/base_update_translations.py b/bin/addons/base/module/wizard/base_update_translations.py
index 7e61c0a2431..cc7a3361a29 100644
--- a/bin/addons/base/module/wizard/base_update_translations.py
+++ b/bin/addons/base/module/wizard/base_update_translations.py
@@ -50,6 +50,12 @@ class base_update_translations(osv.osv_memory):
buf.close()
return {'type': 'ir.actions.act_window_close'}
+ def default_get(self, cr, uid, fields, context=None):
+ lang_obj = self.pool.get('res.lang')
+ record_id = context and context.get('active_id', False) or False
+ lang=lang_obj.browse(cr,uid,record_id).code
+ return {'lang':lang}
+
_name = 'base.update.translations'
_columns = {
'lang': fields.selection(_get_languages, 'Language', required=True),