diff --git a/openerp/addons/base/i18n/ru.po b/openerp/addons/base/i18n/ru.po index 0e97644b80e..7969b36fc35 100644 --- a/openerp/addons/base/i18n/ru.po +++ b/openerp/addons/base/i18n/ru.po @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.4\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-02-08 00:44+0000\n" -"PO-Revision-Date: 2012-10-23 18:39+0000\n" +"PO-Revision-Date: 2012-10-25 07:14+0000\n" "Last-Translator: Chertykov Denis \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-10-24 04:55+0000\n" -"X-Generator: Launchpad (build 16179)\n" +"X-Launchpad-Export-Date: 2012-10-26 04:55+0000\n" +"X-Generator: Launchpad (build 16194)\n" #. module: base #: model:res.country,name:base.sh @@ -4520,7 +4520,7 @@ msgstr "Португалия" #. module: base #: model:ir.module.module,shortdesc:base.module_share msgid "Share any Document" -msgstr "Совместный доступ r любым документам" +msgstr "Совместный доступ к любым документам" #. module: base #: field:ir.module.module,certificate:0 diff --git a/openerp/addons/base/res/res_config.py b/openerp/addons/base/res/res_config.py index c24fc11a377..1aa108c14d2 100644 --- a/openerp/addons/base/res/res_config.py +++ b/openerp/addons/base/res/res_config.py @@ -361,6 +361,7 @@ class res_config_installer(osv.osv_memory): 'to install', ['uninstalled'], context=context) cr.commit() #TOFIX: after remove this statement, installation wizard is fail new_db, self.pool = pooler.restart_pool(cr.dbname, update_module=True) + res_config_installer() DEPRECATION_MESSAGE = 'You are using an addon using old-style configuration '\ @@ -538,6 +539,10 @@ class res_config_settings(osv.osv_memory): ir_module.button_uninstall(cr, uid, to_uninstall_ids, context=context) ir_module.button_immediate_install(cr, uid, to_install_ids, context=context) + config = self.pool.get('res.config').next(cr, uid, [], context=context) or {} + if config.get('type') not in ('ir.actions.act_window_close',): + return config + # force client-side reload (update user menu and current view) return { 'type': 'ir.actions.client', diff --git a/openerp/addons/base/res/res_country.py b/openerp/addons/base/res/res_country.py index 35fb2a29ea7..98a3b769a11 100644 --- a/openerp/addons/base/res/res_country.py +++ b/openerp/addons/base/res/res_country.py @@ -47,7 +47,7 @@ class Country(osv.osv): help='The full name of the country.', required=True, translate=True), 'code': fields.char('Country Code', size=2, help='The ISO country code in two chars.\n' - 'You can use this field for quick search.', required=True), + 'You can use this field for quick search.'), 'address_format': fields.text('Address Format', help="""You can state here the usual format to use for the \ addresses belonging to this country.\n\nYou can use the python-style string patern with all the field of the address \ (for example, use '%(street)s' to display the field 'street') plus diff --git a/openerp/addons/base/res/res_country_view.xml b/openerp/addons/base/res/res_country_view.xml index 47b665426f9..8f64d330440 100644 --- a/openerp/addons/base/res/res_country_view.xml +++ b/openerp/addons/base/res/res_country_view.xml @@ -31,8 +31,7 @@ -