New in version 0.6.
OpenERP is an ERP+CRM program for small and medium businesses.
The whole source code is distributed under the terms of the GNU Public Licence.
2003-TODAY, Fabien Pinckaers - Tiny sprl’
>>> oerp.common.about(True)
['
OpenERP is an ERP+CRM program for small and medium businesses.
The whole source code is distributed under the terms of the GNU Public Licence.
2003-TODAY, Fabien Pinckaers - Tiny sprl’, ‘5.0.16’]
param: extended: if True then return version info return: string if extended is False else tuple
>>> oerp.common.timezone_get('test_db', 'admin', 'admin_passwd')
'UTC'
>>> print(oerp.common.get_server_environment())
Environment Information :
System : Linux-2.6.32-5-686-i686-with-debian-6.0.4
OS Name : posix
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.4 (squeeze)
Release: 6.0.4
Codename: squeeze
Operating System Release : 2.6.32-5-686
Operating System Version : #1 SMP Mon Mar 26 05:20:33 UTC 2012
Operating System Architecture : 32bit
Operating System Locale : fr_FR.UTF8
Python Version : 2.6.6
OpenERP-Server Version : 5.0.16
Last revision No. & ID :
>>> oerp.common.login_message()
'Welcome'
>>> oerp.common.set_loglevel(TODO)
True
>>> print(oerp.common.get_stats())
OpenERP server: 5 threads
Servers started
Net-RPC: running
>>> oerp.common.list_http_services()
[]
>>> oerp.common.check_connectivity()
True
>>> oerp.common.get_os_time()
(0.01, 0.0, 0.0, 0.0, 17873633.129999999)
>>> oerp.common.get_sql_count()
TODO