[MERGE] merged with main addons branch

bzr revid: qdp-launchpad@openerp.com-20110830120839-2e6gbk2c5hestd1r
This commit is contained in:
Quentin (OpenERP) 2011-08-30 14:08:39 +02:00
commit 999efde443
137 changed files with 509 additions and 587 deletions

4
debian/po/bg.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/ca.po vendored
View File

@ -15,8 +15,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/cs.po vendored
View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/da.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/de.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/el.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/en_GB.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/es.po vendored
View File

@ -15,8 +15,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/es_CL.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/es_EC.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/fa.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/fi.po vendored
View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/fr.po vendored
View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/gl.po vendored
View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/he.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/hr.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/hu.po vendored
View File

@ -15,8 +15,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/it.po vendored
View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/ja.po vendored
View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/ko.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/lv.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/mn.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/nb.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/nl.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/pl.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/pt.po vendored
View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/pt_BR.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/ro.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/ru.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/sk.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/sq.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/sr.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/sv.po vendored
View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
"X-Poedit-Language: Swedish\n"
#. Type: string

4
debian/po/tr.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/uk.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/vi.po vendored
View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/zh_CN.po vendored
View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. Type: string
#. Description

4
debian/po/zh_TW.po vendored
View File

@ -12,8 +12,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
"X-Poedit-Country: TAIWAN\n"
"X-Poedit-Language: Chinese\n"
"X-Poedit-SourceCharset: utf-8\n"

View File

@ -30,9 +30,6 @@ GNU Public Licence.
(c) 2003-TODAY, Fabien Pinckaers - OpenERP s.a.
"""
#----------------------------------------------------------
# python imports
#----------------------------------------------------------
import logging
import os
import signal
@ -45,139 +42,140 @@ import openerp
__author__ = openerp.release.author
__version__ = openerp.release.version
if os.name == 'posix':
import pwd
# We DON't log this using the standard logger, because we might mess
# with the logfile's permissions. Just do a quick exit here.
if pwd.getpwuid(os.getuid())[0] == 'root' :
sys.stderr.write("Attempted to run OpenERP server as root. This is not good, aborting.\n")
def check_root_user():
""" Exit if the process's user is 'root' (on POSIX system)."""
if os.name == 'posix':
import pwd
if pwd.getpwuid(os.getuid())[0] == 'root' :
sys.stderr.write("Running as user 'root' is a security risk, aborting.\n")
sys.exit(1)
def check_postgres_user():
""" Exit if the configured database user is 'postgres'.
This function assumes the configuration has been initialized.
"""
config = openerp.tools.config
if config['db_user'] == 'postgres':
sys.stderr.write("Using the database user 'postgres' is a security risk, aborting.")
sys.exit(1)
#-----------------------------------------------------------------------
# parse the command line
#-----------------------------------------------------------------------
openerp.tools.config.parse_config(sys.argv[1:])
config = openerp.tools.config
def report_configuration():
""" Log the server version and some configuration values.
#----------------------------------------------------------
# get logger
#----------------------------------------------------------
openerp.netsvc.init_logger()
logger = logging.getLogger('server')
This function assumes the configuration has been initialized.
"""
config = openerp.tools.config
logger = logging.getLogger('server')
logger.info("OpenERP version %s", __version__)
for name, value in [('addons paths', config['addons_path']),
('database hostname', config['db_host'] or 'localhost'),
('database port', config['db_port'] or '5432'),
('database user', config['db_user'])]:
logger.info("%s: %s", name, value)
logger.info("OpenERP version - %s", __version__)
for name, value in [('addons_path', config['addons_path']),
('database hostname', config['db_host'] or 'localhost'),
('database port', config['db_port'] or '5432'),
('database user', config['db_user'])]:
logger.info("%s - %s", name, value)
def setup_pid_file():
""" Create a file with the process id written in it.
# Don't allow if the connection to PostgreSQL done by postgres user
if config['db_user'] == 'postgres':
logger.error("Connecting to the database as 'postgres' user is forbidden, as it present major security issues. Shutting down.")
sys.exit(1)
This function assumes the configuration has been initialized.
"""
config = openerp.tools.config
if config['pidfile']:
fd = open(config['pidfile'], 'w')
pidtext = "%d" % (os.getpid())
fd.write(pidtext)
fd.close()
#----------------------------------------------------------
# init net service
#----------------------------------------------------------
logger.info('initialising distributed objects services')
def preload_registry(dbname):
""" Preload a registry, and start the cron."""
db, pool = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
pool.get('ir.cron').restart(db.dbname)
#----------------------------------------------------------
# Load and update databases if requested
#----------------------------------------------------------
def run_test_file(dbname, test_file):
""" Preload a registry, possibly run a test file, and start the cron."""
db, pool = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
if not ( config["stop_after_init"] or \
config["translate_in"] or \
config["translate_out"] ):
openerp.osv.osv.start_object_proxy()
openerp.service.web_services.start_web_services()
cr = db.cursor()
logger = logging.getLogger('server')
logger.info('loading test file %s', test_file)
openerp.tools.convert_yaml_import(cr, 'base', file(test_file), {}, 'test', True)
cr.rollback()
cr.close()
def export_translation():
config = openerp.tools.config
dbname = config['db_name']
logger = logging.getLogger('server')
if config["language"]:
msg = "language %s" % (config["language"],)
else:
msg = "new language"
logger.info('writing translation file for %s to %s', msg,
config["translate_out"])
fileformat = os.path.splitext(config["translate_out"])[-1][1:].lower()
buf = file(config["translate_out"], "w")
cr = openerp.pooler.get_db(dbname).cursor()
openerp.tools.trans_export(config["language"],
config["translate_modules"] or ["all"], buf, fileformat, cr)
cr.close()
buf.close()
logger.info('translation file written successfully')
def import_translation():
config = openerp.tools.config
context = {'overwrite': config["overwrite_existing_translations"]}
dbname = config['db_name']
cr = openerp.pooler.get_db(dbname).cursor()
openerp.tools.trans_load( cr, config["translate_in"], config["language"],
context=context)
openerp.tools.trans_update_res_ids(cr)
cr.commit()
cr.close()
def start_services():
http_server = openerp.service.http_server
netrpc_server = openerp.service.netrpc_server
# Instantiate local services (this is a legacy design).
openerp.osv.osv.start_object_proxy()
# Export (for RPC) services.
openerp.service.web_services.start_web_services()
# Initialize the HTTP stack.
http_server.init_servers()
http_server.init_xmlrpc()
http_server.init_static_http()
netrpc_server.init_servers()
if config['db_name']:
for dbname in config['db_name'].split(','):
db, pool = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
cr = db.cursor()
# Start the main cron thread.
openerp.netsvc.start_agent()
if config["test_file"]:
logger.info('loading test file %s', config["test_file"])
openerp.tools.convert_yaml_import(cr, 'base', file(config["test_file"]), {}, 'test', True)
cr.rollback()
pool.get('ir.cron').restart(db.dbname)
cr.close()
#----------------------------------------------------------
# translation stuff
#----------------------------------------------------------
if config["translate_out"]:
if config["language"]:
msg = "language %s" % (config["language"],)
else:
msg = "new language"
logger.info('writing translation file for %s to %s', msg, config["translate_out"])
fileformat = os.path.splitext(config["translate_out"])[-1][1:].lower()
buf = file(config["translate_out"], "w")
dbname = config['db_name']
cr = openerp.pooler.get_db(dbname).cursor()
openerp.tools.trans_export(config["language"], config["translate_modules"] or ["all"], buf, fileformat, cr)
cr.close()
buf.close()
logger.info('translation file written successfully')
sys.exit(0)
if config["translate_in"]:
context = {'overwrite': config["overwrite_existing_translations"]}
dbname = config['db_name']
cr = openerp.pooler.get_db(dbname).cursor()
openerp.tools.trans_load(cr,
config["translate_in"],
config["language"],
context=context)
openerp.tools.trans_update_res_ids(cr)
cr.commit()
cr.close()
sys.exit(0)
#----------------------------------------------------------------------------------
# if we don't want the server to continue to run after initialization, we quit here
#----------------------------------------------------------------------------------
if config["stop_after_init"]:
sys.exit(0)
openerp.netsvc.start_agent()
#----------------------------------------------------------
# Launch Servers
#----------------------------------------------------------
LST_SIGNALS = ['SIGINT', 'SIGTERM']
SIGNALS = dict(
[(getattr(signal, sign), sign) for sign in LST_SIGNALS]
)
# Start the top-level servers threads (normally HTTP, HTTPS, and NETRPC).
openerp.netsvc.Server.startAll()
# Variable keeping track of the number of calls to the signal handler defined
# below. This variable is monitored by ``quit_on_signals()``.
quit_signals_received = 0
def handler(signum, frame):
"""
:param signum: the signal number
def signal_handler(sig, frame):
""" Signal handler: exit ungracefully on the second handled signal.
:param sig: the signal number
:param frame: the interrupted stack frame or None
"""
global quit_signals_received
quit_signals_received += 1
if quit_signals_received > 1:
# logging.shutdown was already called at this point.
sys.stderr.write("Forced shutdown.\n")
os._exit(0)
def dumpstacks(signum, frame):
def dumpstacks(sig, frame):
""" Signal handler: dump a stack trace for each existing thread."""
# code from http://stackoverflow.com/questions/132058/getting-stack-trace-from-a-running-python-application#answer-2569696
# modified for python 2.5 compatibility
thread_map = dict(threading._active, **threading._limbo)
@ -191,20 +189,33 @@ def dumpstacks(signum, frame):
code.append(" %s" % (line.strip()))
logging.getLogger('dumpstacks').info("\n".join(code))
for signum in SIGNALS:
signal.signal(signum, handler)
def setup_signal_handlers():
""" Register the signal handler defined above. """
SIGNALS = map(lambda x: getattr(signal, "SIG%s" % x), "INT TERM".split())
map(lambda sig: signal.signal(sig, signal_handler), SIGNALS)
if os.name == 'posix':
signal.signal(signal.SIGQUIT, dumpstacks)
if os.name == 'posix':
signal.signal(signal.SIGQUIT, dumpstacks)
def quit_on_signals():
""" Wait for one or two signals then shutdown the server.
The first SIGINT or SIGTERM signal will initiate a graceful shutdown while
a second one if any will force an immediate exit.
"""
# Wait for a first signal to be handled. (time.sleep will be interrupted
# by the signal handler.)
while quit_signals_received == 0:
time.sleep(60)
def quit():
openerp.netsvc.Agent.quit()
openerp.netsvc.Server.quitAll()
config = openerp.tools.config
if config['pidfile']:
os.unlink(config['pidfile'])
logger = logging.getLogger('shutdown')
logger.info("Initiating OpenERP Server shutdown")
logger.info("Hit CTRL-C again or send a second signal to immediately terminate the server...")
logger = logging.getLogger('server')
logger.info("Initiating shutdown")
logger.info("Hit CTRL-C again or send a second signal to force the sutdown.")
logging.shutdown()
# manually join() all threads before calling sys.exit() to allow a second signal
@ -219,19 +230,40 @@ def quit():
time.sleep(0.05)
sys.exit(0)
if config['pidfile']:
fd = open(config['pidfile'], 'w')
pidtext = "%d" % (os.getpid())
fd.write(pidtext)
fd.close()
if __name__ == "__main__":
openerp.netsvc.Server.startAll()
check_root_user()
openerp.tools.config.parse_config(sys.argv[1:])
check_postgres_user()
openerp.netsvc.init_logger()
report_configuration()
logger.info('OpenERP server is running, waiting for connections...')
config = openerp.tools.config
while quit_signals_received == 0:
time.sleep(60)
if config["test_file"]:
run_test_file(config['db_name'], config['test_file'])
sys.exit(0)
quit()
if config["translate_out"]:
export_translation()
sys.exit(0)
if config["translate_in"]:
import_translation()
sys.exit(0)
if config['db_name']:
for dbname in config['db_name'].split(','):
preload_registry(dbname)
if config["stop_after_init"]:
sys.exit(0)
setup_pid_file()
setup_signal_handlers()
start_services()
logger = logging.getLogger('server')
logger.info('OpenERP server is running, waiting for connections...')
quit_on_signals()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -59,18 +59,18 @@
'res/res_request_view.xml',
'res/res_lang_view.xml',
'res/res_log_view.xml',
'res/partner/partner_report.xml',
'res/partner/partner_view.xml',
'res/partner/partner_shortcut_data.xml',
'res/partner/bank_view.xml',
'res/country_view.xml',
'res/res_partner_report.xml',
'res/res_partner_view.xml',
'res/res_partner_shortcut_data.xml',
'res/res_bank_view.xml',
'res/res_country_view.xml',
'res/res_currency_view.xml',
'res/partner/crm_view.xml',
'res/partner/wizard/partner_sms_send_view.xml',
'res/partner/wizard/partner_wizard_spam_view.xml',
'res/partner/wizard/partner_clear_ids_view.xml',
'res/partner/wizard/partner_wizard_ean_check_view.xml',
'res/partner/partner_data.xml',
'res/res_partner_event_view.xml',
'res/wizard/partner_sms_send_view.xml',
'res/wizard/partner_wizard_spam_view.xml',
'res/wizard/partner_clear_ids_view.xml',
'res/wizard/partner_wizard_ean_check_view.xml',
'res/res_partner_data.xml',
'res/ir_property_view.xml',
'security/base_security.xml',
'publisher_warranty/publisher_warranty_view.xml',
@ -81,8 +81,7 @@
],
'demo_xml': [
'base_demo.xml',
'res/partner/partner_demo.xml',
'res/partner/crm_demo.xml',
'res/res_partner_demo.xml',
'res/res_widget_demo.xml',
],
'test': [

View File

@ -224,16 +224,18 @@
<field name="city"/>
<field name="country_id"/>
<field name="state_id"/>
<field name="phone" on_change="on_change_header(phone, email, fax, website, vat)"/>
<field name="email" on_change="on_change_header(phone, email, fax, website, vat)"/>
<field name="fax" on_change="on_change_header(phone, email, fax, website, vat)"/>
<field name="website" on_change="on_change_header(phone, email, fax, website, vat)"/>
<field name="vat" on_change="on_change_header(phone, email, fax, website, vat)"/>
<field name="phone"/>
<field name="email"/>
<field name="fax"/>
<field name="website"/>
<field name="vat"/>
<field name="company_registry"/>
<separator string="Header/Footer of Reports" colspan="4"/>
<group colspan="4" col="3">
<field name="rml_header1" colspan="3"/>
<newline/>
<field name="rml_footer1" colspan="3"/>
<field name="rml_footer1" colspan="2"/>
<button name="generate_header" string="Generate" type="object" icon="gtk-go-forward"/>
<newline/>
<field name="rml_footer2" colspan="2"/>
<button name="%(bank_account_update)d" string="Set Bank Accounts" type="action" icon="gtk-go-forward"/>
@ -242,10 +244,10 @@
<button name="%(preview_report)d" string="Preview Header" type="action" icon="gtk-print"/>
</group>
</page>
<page string="Header/Footer" groups="base.group_extended">
<page string="External Template" groups="base.group_extended">
<field colspan="4" name="rml_header" nolabel="1"/>
</page>
<page string="Internal Header/Footer" groups="base.group_extended">
<page string="Internal Template" groups="base.group_extended">
<separator string="Portrait" colspan="2"/>
<separator string="Landscape" colspan="2"/>
<field colspan="2" name="rml_header2" nolabel="1"/>

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:37+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:57+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:37+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:57+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:37+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:57+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:38+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:58+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:38+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:58+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:38+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:58+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -8,13 +8,13 @@ msgstr ""
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2011-01-11 11:14+0000\n"
"PO-Revision-Date: 2011-08-13 17:34+0000\n"
"Last-Translator: Chronos <robie@centrum.cz>\n"
"Last-Translator: Jiří Hajda <robie@centrum.cz>\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: 2011-08-14 04:38+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:58+0000\n"
"X-Generator: Launchpad (build 13697)\n"
"X-Poedit-Language: Czech\n"
#. module: base

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:38+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:58+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -15,8 +15,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:39+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:59+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -12,8 +12,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:39+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:59+0000\n"
"X-Generator: Launchpad (build 13697)\n"
"X-Poedit-Country: GREECE\n"
"X-Poedit-Language: Greek\n"
"X-Poedit-SourceCharset: utf-8\n"

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:43+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:03+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:42+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:02+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:43+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:03+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:03+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:38+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:58+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:37+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:57+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -9,8 +9,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:41+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:00+0000\n"
"X-Generator: Launchpad (build 13697)\n"
"X-Poedit-Country: IRAN, ISLAMIC REPUBLIC OF\n"
"X-Poedit-Language: Persian\n"

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:39+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:58+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:39+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:58+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:39+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:59+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:39+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:59+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:42+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:01+0000\n"
"X-Generator: Launchpad (build 13697)\n"
"Language: hr\n"
#. module: base

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:39+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:59+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:37+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:57+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:40+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:59+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:39+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:59+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:40+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:59+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:40+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:59+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:40+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:00+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:40+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:00+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:40+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:00+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:40+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:00+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:40+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:00+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:41+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:00+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:38+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:58+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:43+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:03+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:41+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:00+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:41+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:01+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0
@ -580,7 +580,7 @@ msgstr ""
#. module: base
#: field:res.partner,title:0
msgid "Partner Form"
msgstr "Formulário de Parceiros"
msgstr "Tipo de Organização"
#. module: base
#: selection:base.language.install,lang:0
@ -618,7 +618,7 @@ msgstr "Importar idioma"
#. module: base
#: model:ir.model,name:base.model_res_config_users
msgid "res.config.users"
msgstr ""
msgstr "res.config.users"
#. module: base
#: selection:base.language.install,lang:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:43+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:03+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:41+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:01+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:41+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:01+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:42+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:02+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:42+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:02+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:37+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 04:57+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:41+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:01+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:44+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:04+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:42+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:02+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:42+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:02+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:42+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:02+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:42+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:02+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:42+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:02+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:43+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:03+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:43+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:03+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:43+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:03+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0
@ -33,7 +33,7 @@ msgstr "圣赫勒拿"
#. module: base
#: view:ir.actions.report.xml:0
msgid "Other Configuration"
msgstr "其他配置"
msgstr "其它设置"
#. module: base
#: selection:ir.property,type:0
@ -296,7 +296,7 @@ msgstr "源对象"
#. module: base
#: view:ir.actions.todo:0
msgid "Config Wizard Steps"
msgstr "置向导步骤"
msgstr "置向导步骤"
#. module: base
#: model:ir.model,name:base.model_ir_ui_view_sc
@ -806,7 +806,7 @@ msgstr "关岛(美属)"
#. module: base
#: model:ir.ui.menu,name:base.menu_hr_project
msgid "Human Resources Dashboard"
msgstr "人事管理仪表盘"
msgstr "人力资源控制台"
#. module: base
#: code:addons/base/res/res_user.py:507
@ -840,7 +840,7 @@ msgstr "韩国"
#: model:ir.ui.menu,name:base.menu_workflow_transition
#: view:workflow.activity:0
msgid "Transitions"
msgstr "转"
msgstr "转"
#. module: base
#: code:addons/orm.py:4020
@ -996,7 +996,7 @@ msgstr "请求日期"
#. module: base
#: model:ir.ui.menu,name:base.menu_hr_dasboard
msgid "Dashboard"
msgstr "仪表盘"
msgstr "控制台"
#. module: base
#: model:ir.ui.menu,name:base.menu_purchase_root
@ -1041,7 +1041,7 @@ msgstr "不存在代码为“%s”的语言"
#: code:addons/base/publisher_warranty/publisher_warranty.py:163
#, python-format
msgid "Error during communication with the publisher warranty server."
msgstr "当与发布者保障服务器通信时发生错误。"
msgstr "当与保障服务器通信时发生错误。"
#. module: base
#: help:ir.actions.server,email:0
@ -1996,7 +1996,7 @@ msgstr "亚美尼亚"
#: model:ir.actions.act_window,name:base.ir_property_form
#: model:ir.ui.menu,name:base.menu_ir_property_form_all
msgid "Configuration Parameters"
msgstr "置参数"
msgstr "置参数"
#. module: base
#: constraint:ir.cron:0
@ -2046,7 +2046,7 @@ msgstr "图像"
#. module: base
#: view:ir.actions.server:0
msgid "Iteration Action Configuration"
msgstr "重复活动置"
msgstr "重复活动置"
#. module: base
#: selection:publisher_warranty.contract,state:0
@ -2262,7 +2262,7 @@ msgstr "ID参照"
#: model:ir.actions.server,name:base.action_start_configurator
#: model:ir.ui.menu,name:base.menu_view_base_module_configuration
msgid "Start Configuration"
msgstr "开始置"
msgstr "开始置"
#. module: base
#: model:res.country,name:base.mt
@ -2961,8 +2961,7 @@ msgid ""
"\n"
"Click 'Continue' and enjoy your OpenERP experience..."
msgstr ""
"您的帐套已经全部配置完毕。\n"
"\n"
"您的帐套已经全部设置完毕。\n"
"请单击“继续”按钮开始享受您的 OpenERP 体验..."
#. module: base
@ -3103,7 +3102,7 @@ msgstr "Abkhazian / аҧсуа"
#. module: base
#: view:base.module.configuration:0
msgid "System Configuration Done"
msgstr "系统置完成"
msgstr "系统置完成"
#. module: base
#: code:addons/orm.py:929
@ -3372,7 +3371,7 @@ msgstr ""
#: view:res.request:0
#: field:res.request,history:0
msgid "History"
msgstr "历史记录"
msgstr "日志"
#. module: base
#: field:ir.attachment,create_uid:0
@ -3430,7 +3429,7 @@ msgstr "一般说明"
#: model:ir.actions.act_window,name:base.action_config_simple_view_form
#: view:res.config.view:0
msgid "Configure Your Interface"
msgstr "置你的界面"
msgstr "置你的界面"
#. module: base
#: field:ir.values,meta:0
@ -3647,7 +3646,7 @@ msgstr "ir.actions.wizard"
#: view:ir.filters:0
#: view:res.request:0
msgid "Group By"
msgstr "分组方式"
msgstr "分组"
#. module: base
#: view:res.config:0
@ -3903,7 +3902,7 @@ msgstr "ir.actions.url"
#. module: base
#: model:res.widget,title:base.currency_converter_widget
msgid "Currency Converter"
msgstr "货币转换器"
msgstr "币别兑换"
#. module: base
#: code:addons/orm.py:156
@ -4113,7 +4112,7 @@ msgstr "未读"
#. module: base
#: field:ir.cron,doall:0
msgid "Repeat Missed"
msgstr "重复错过的"
msgstr "重做错过的动作"
#. module: base
#: help:ir.actions.server,state:0
@ -4129,7 +4128,7 @@ msgstr "对象映射"
#: help:res.currency,rate:0
#: help:res.currency.rate,rate:0
msgid "The rate of the currency to the currency of rate 1"
msgstr "货币到货币的转换汇率为 1"
msgstr "币别到其他币别的汇率为 1"
#. module: base
#: model:res.country,name:base.uk
@ -4203,7 +4202,7 @@ msgstr "ir.attachment"
msgid ""
"You cannot perform this operation. New Record Creation is not allowed for "
"this object as this object is for reporting purpose."
msgstr "您不能支持此操作。此对象不允许进行“创建新记录”操作,因为此对象是为报表准备的。"
msgstr "您不能执行此操作。此对象不允许进行“创建新记录”操作,因为此对象是为报告准备的。"
#. module: base
#: view:base.language.import:0
@ -4507,7 +4506,9 @@ msgid ""
"The configuration wizards are used to help you configure a new instance of "
"OpenERP. They are launched during the installation of new modules, but you "
"can choose to restart some wizards manually from this menu."
msgstr "配置向导将帮助您配置一个新的 OpenERP 实例。向导将在安装新模块的时候启动,但是您也可以在此菜单中手工重新启动一些向导。"
msgstr ""
"设置向导将帮助您设置一个新的 OpenERP 实例。\r\n"
"向导将在安装新模块的时候启动,但是您也可以在此菜单中手工重新启动一些向导。"
#. module: base
#: code:addons/base/res/res_user.py:206
@ -4625,7 +4626,7 @@ msgstr "此窗口"
#. module: base
#: view:publisher_warranty.contract:0
msgid "Publisher Warranty Contracts"
msgstr "发布者担保合约"
msgstr "担保合约"
#. module: base
#: help:res.log,name:0
@ -5152,7 +5153,7 @@ msgstr "多米尼加"
#: sql_constraint:publisher_warranty.contract:0
msgid ""
"Your publisher warranty contract is already subscribed in the system !"
msgstr "您的发布者保障合约已经在系统中订阅。"
msgstr "您的保障合约已经在系统中订阅。"
#. module: base
#: help:ir.cron,nextcall:0
@ -5525,7 +5526,7 @@ msgid ""
msgstr ""
"如果用户已提供电子邮件,将发送欢迎邮件给他们.\\n\n"
"\\n\n"
"警告:如果“email_from”和“smtp_server”SMTP没有置,将无法发送邮件给新用户。"
"警告:如果“email_from”和“smtp_server”SMTP没有置,将无法发送邮件给新用户。"
#. module: base
#: selection:base.language.install,lang:0
@ -5803,7 +5804,7 @@ msgstr "视图类型设为“tree”来使用树形控件显示层次数据
#: code:addons/base/res/res_config.py:421
#, python-format
msgid "Click 'Continue' to configure the next addon..."
msgstr "请单击“继续”按钮置下一个模块..."
msgstr "请单击“继续”按钮置下一个模块..."
#. module: base
#: field:ir.actions.server,record_id:0
@ -5873,7 +5874,7 @@ msgstr "字段描述"
#: view:res.partner.address:0
#: view:workflow.activity:0
msgid "Group By..."
msgstr "分组"
msgstr "分组..."
#. module: base
#: view:ir.model.fields:0
@ -6008,7 +6009,7 @@ msgstr "Spanish (CO) / Español (CO)"
msgid ""
"All pending configuration wizards have been executed. You may restart "
"individual wizards via the list of configuration wizards."
msgstr "所有挂起的配置向导已被执行,您可以通过配置向导列表重启单个向导。"
msgstr "所有挂起的设置向导已被执行,您可以通过设置向导列表重启单个向导。"
#. module: base
#: wizard_button:server.action.create,step_1,create:0
@ -6441,14 +6442,14 @@ msgid ""
"No rate found \n"
"for the currency: %s \n"
"at the date: %s"
msgstr "找不到货币 %s 日期 %s 的比率。"
msgstr "找不到币别 %s 日期 %s 的汇率。"
#. module: base
#: model:ir.actions.act_window,help:base.action_ui_view_custom
msgid ""
"Customized views are used when users reorganize the content of their "
"dashboard views (via web client)"
msgstr "自定义视图用于用户重新组织他们的仪表盘视图内容(经由 Web 客户端)"
msgstr "自定义视图用于用户重新组织他们的控制台视图内容(通过 Web 客户端)"
#. module: base
#: field:ir.model,name:0
@ -6634,7 +6635,7 @@ msgstr ""
#: model:ir.ui.menu,name:base.next_id_73
#: model:ir.ui.menu,name:base.reporting_menu
msgid "Reporting"
msgstr "报"
msgstr "报"
#. module: base
#: model:res.country,name:base.tg
@ -6718,7 +6719,7 @@ msgstr "州/省名称"
#. module: base
#: field:workflow.activity,join_mode:0
msgid "Join Mode"
msgstr "合模式"
msgstr "合模式"
#. module: base
#: field:res.config.users,context_tz:0
@ -6760,7 +6761,7 @@ msgstr "OpenERP 业务伙伴"
#. module: base
#: model:ir.ui.menu,name:base.menu_hr_manager
msgid "HR Manager Dashboard"
msgstr "人事经理仪表盘"
msgstr "人力资源经理控制台"
#. module: base
#: code:addons/base/module/module.py:253
@ -7539,7 +7540,7 @@ msgstr "爱沙尼亚"
#. module: base
#: model:ir.ui.menu,name:base.dashboard
msgid "Dashboards"
msgstr "仪表盘"
msgstr "控制台"
#. module: base
#: help:ir.attachment,type:0
@ -7736,7 +7737,7 @@ msgstr "标识此对象模型是否仅存于内存,比如一个不需要持久
#: field:res.partner,child_ids:0
#: field:res.request,ref_partner_id:0
msgid "Partner Ref."
msgstr "业务伙伴参照"
msgstr "业务伙伴"
#. module: base
#: model:ir.actions.act_window,name:base.action_partner_supplier_form
@ -7753,12 +7754,12 @@ msgstr "注册"
#. module: base
#: field:res.request,ref_doc2:0
msgid "Document Ref 2"
msgstr "单据参照2"
msgstr "单据2"
#. module: base
#: field:res.request,ref_doc1:0
msgid "Document Ref 1"
msgstr "单据参照1"
msgstr "单据1"
#. module: base
#: model:res.country,name:base.ga
@ -7921,7 +7922,7 @@ msgstr "保加利亚"
#. module: base
#: view:publisher_warranty.contract.wizard:0
msgid "Publisher warranty contract successfully registered!"
msgstr "发布者保障合同注册成功!"
msgstr "保障合同注册成功!"
#. module: base
#: model:res.country,name:base.ao
@ -7941,7 +7942,7 @@ msgstr "法属南部领土"
#: field:res.currency,name:0
#: field:res.currency.rate,currency_id:0
msgid "Currency"
msgstr "币"
msgstr "币"
#. module: base
#: field:res.partner.canal,name:0
@ -8468,7 +8469,7 @@ msgstr "事件日志"
#: code:addons/base/module/wizard/base_module_configuration.py:37
#, python-format
msgid "System Configuration done"
msgstr "系统置已完成"
msgstr "系统置已完成"
#. module: base
#: field:workflow.triggers,instance_id:0
@ -8536,7 +8537,7 @@ msgstr "3. 如果用户属于多个组那么第2步的结果将使用“或
#: code:addons/base/publisher_warranty/publisher_warranty.py:145
#, python-format
msgid "Please check your publisher warranty contract name and validity."
msgstr "请检查您的发布者保障合同名称和有效性。"
msgstr "请检查您的保障合同名称和有效性。"
#. module: base
#: model:res.country,name:base.sv
@ -8634,7 +8635,7 @@ msgstr "台湾"
#. module: base
#: model:ir.model,name:base.model_res_currency_rate
msgid "Currency Rate"
msgstr "兑换率"
msgstr "率"
#. module: base
#: model:ir.actions.act_window,help:base.grant_menu_access
@ -8807,7 +8808,7 @@ msgstr "电子邮件与签名"
#. module: base
#: view:publisher_warranty.contract:0
msgid "Publisher Warranty Contract"
msgstr "发布者保障合同"
msgstr "保障合同"
#. module: base
#: selection:base.language.install,lang:0
@ -9070,7 +9071,7 @@ msgstr "地区代码"
#. module: base
#: field:workflow.activity,split_mode:0
msgid "Split Mode"
msgstr "分模式"
msgstr "分模式"
#. module: base
#: view:base.module.upgrade:0
@ -9218,7 +9219,7 @@ msgstr "下一序号将以此数增加."
#: field:res.partner.address,function:0
#: selection:workflow.activity,kind:0
msgid "Function"
msgstr "能"
msgstr "能"
#. module: base
#: view:res.widget:0

View File

@ -13,8 +13,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-08-14 04:43+0000\n"
"X-Generator: Launchpad (build 13674)\n"
"X-Launchpad-Export-Date: 2011-08-23 05:03+0000\n"
"X-Generator: Launchpad (build 13697)\n"
#. module: base
#: view:ir.filters:0

View File

@ -535,6 +535,7 @@
<field name="type" readonly="1"/>
<field name="src_model" select="2"/>
<field name="usage"/>
<field name="target"/>
</group>
<notebook colspan="4">
<page string="General Settings">

View File

@ -936,10 +936,9 @@ class act_client(osv.osv):
for record in self.browse(cr, uid, ids, context=context)
])
def _set_params(self, cr, uid, ids, field_name, field_value, arg, context):
def _set_params(self, cr, uid, id, field_name, field_value, arg, context):
assert isinstance(field_value, dict), "params can only be dictionaries"
for record in self.browse(cr, uid, ids, context=context):
record.write({field_name: repr(field_value)})
self.write(cr, uid, id, {'params_store': repr(field_value)}, context=context)
_columns = {
'tag': fields.char('Client action tag', size=64, required=True,

View File

@ -21,9 +21,11 @@
import tools
import country
import res_country
import res_lang
import partner
import res_partner
import res_partner_event
import res_bank
import res_config
import res_currency
import res_company
@ -31,6 +33,11 @@ import res_user
import res_request
import res_lang
import res_log
import ir_property
import res_widget
import ir_property
import wizard
import report
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

Some files were not shown because too many files have changed in this diff Show More