Odoo 中文社区

    • 注册
    • 登录
    • 搜索
    • 版块
    • 标签
    • 热门
    • 用户
    • 群组
    1. 主页
    2. yjwen

    Odoo中文社区可以通过以下两个域名访问:shine-it.net , odoo.net.cn

    由于系统升迁的原因,本论坛部分较早期的内容存在格式和链接损坏失效的问题,并非本论坛系统本身的缺陷,望谅解

    本社区没有维护任何QQ群讨论组,任何与本社区同名的QQ群讨论组的言论与本社区无关!

    开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

    如果您登录系统碰到问题,请在微信公众号留言:

    Y
    • 资料
    • 关注 0
    • 粉丝 0
    • 主题 3
    • 帖子 8
    • 最佳 0
    • 有争议的 0
    • 群组 0

    yjwen

    @yjwen

    0
    声望
    451
    资料浏览
    8
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    yjwen 取消关注 关注

    yjwen 发布的最新帖子

    • RE: Tingerp 不支持 python 2.5 吗?

      那应该是客户端的主机名或者端口没有设置好?

      发布在 Odoo 安装指南
      Y
      yjwen
    • RE: Windows系统中安装客户端问题

      Sorry I cannot input Chinese right now.

      Why not try the tinyerp-client for windows?

      发布在 Odoo 安装指南
      Y
      yjwen
    • RE: Tingerp 不支持 python 2.5 吗?

      不用start-stop-daemon,直接启动试试看呢?

      /usr/bin/python /your/tiny/install/dir/bin/tinyerp-server.py

      发布在 Odoo 安装指南
      Y
      yjwen
    • RE: 请问怎么让一般用户自己更改登录密码呢?

      先用digitalsatori的方案解决了。谢谢两位:)

      发布在 Odoo 新手求助
      Y
      yjwen
    • 请问怎么让一般用户自己更改登录密码呢?

      我用admin给某个组的access menu里加上了Administration/Users/Users/Change My Password。但是用该组的用户名登录进来以后,menu中依然没有administration这一项,无法更改自己的密码。

      发布在 Odoo 新手求助
      Y
      yjwen
    • 从源代码安装TinyERP 4.2.2 Server

      折腾了两天,终于把TinyERP Server搭建起来。下面把安装过程记个流水帐,希望对他人有所帮助。

      1. 安装环境
        RHEL AS4。对于Debian类的发行版,可以方便地通过apt-get获得所需的软件包。Fedora也很容易找到RPM包。不知道Fedora的RPM能不能在RHEL上安装。这次还是自己最习惯的源码安装方式吧。

      2. 必须的软件包,
        TinyERP Server 4.2.2
        ( tinyerp.com/download/stable/source/tinyerp-server-4.2.2.tar.gz )
        Python 2.5.2
        ( www.python.org/ftp/python/2.5.2/Python-2.5.2.tar.bz2 )
        注:虽然TinyERP里的INSTALL只说要求Python是2.3及以上,但是实际上其代码中用到了些在2.4版才支持的函数,所以Python的版本必须是2.4及以上。
        PostgreSQL 8.2.7
        ( www.postgresql.org/ftp/source/v8.2.7/ )
        psycopg 1.1.21
        ( www.initd.org/pub/software/psycopg/psycopg-1.1.21.tar.gz )
        ReportLab 2.1
        ( www.reportlab.org/ftp/ReportLab_2_1.tgz )
        libxml2 2.6.27
        ( ftp://xmlsoft.org/libxml2/libxml2-2.6.27.tar.gz )
        libxslt 1.1.23
        ( ftp://xmlsoft.org/libxml2/libxslt-1.1.23.tar.gz )

      3. 安装Python
        现在系统已经装有2.4以上的Python的可以跳过。解压后,在源代码目录下:

      ./configure
      make
      sudo make install

      安装完成后可以用/usr/local/bin/python2.5启动。

      1. 安装libxml2及libxslt
        在各个的源代码目录下运行

      ./configure --with-python==/usr/local
      make
      sudo make install

      --with-python保证将libxml2及libxslt的python bindings安装到python的site-package中。

      1. 安装及配置PostgreSQL
        按照其源代码目录中的INSTALL的说明

      ./configure
      make
      sudo make install

      然后创建一个PostgreSQL的用户,专门用于访问PostgreSQL的数据库
      su
      adduser postgres
      mkdir /usr/local/pgsql/data
      chown postgres /usr/local/pgsql/data
      su postgres
      /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
      之后tinyERP将利用postgres这个用户名去访问/usr/local/pgsql/data中的数据库。

      1. 安装psycopg
        psycopg是一个python调用PostgreSQL数据操作的接口包。安装命令也是:
        ./configure
        make
        sudo make install

      2. 安装reportLab
        进入reportLab的代码目录,运行:
        /usr/local/bin/python2.5 setup.py build
        sudo /usr/local/bin/python2.5 setup.py install
        将reportLab装入python的site-package中。

      3. 安装TinyERP
        上述安装完成后,就已经可以直接运行TinyERP了。为了设定Server方便,也可以将TinyERP安装到Python的site-package中。在其代码根目录中运行命令:
        /usr/local/bin/python2.5 setup.py build
        sudo /usr/local/bin/python2.5 setup.py install

      4. 启动TinyERP Server
        命令为:
        /usr/local/bin/tinyerp-server -r postgres -w oopoopoop --db_host 127.0.0.1
        其中的-w oopoopoop指定的是postgres的登录密码,请自行修改。

      最后一步,就是启动TinyERP Client,连接到Server,开始工作啦。

      发布在 Odoo 安装指南
      Y
      yjwen
    • RE: [求助]tinyerp 4.2.2在RedHat Enterprise Linux下创建帐套出错

      谢谢digitalsatori,的确是Python版本的问题。现在升级到2.5以后,就可以正常使用了。非常感谢。

      发布在 Odoo 安装指南
      Y
      yjwen
    • [求助]tinyerp 4.2.2在RedHat Enterprise Linux下创建帐套出错

      我在RHEL AS4下从源代码安装tinyerp 4.2.2, python 是2.3.4, postgresql是8.2.7。按照源代码中的INSTALL的步骤,安装了psycopg和reportlab,系统中已经有libxml2和libxslt,就没有安装。

      创建好postgresql的用户postgres:oopoop后,用命令:
      ~/tinyerp-4.2.2/bin/tinyerp-server --db_user=postgres --db_password=oopoop --db_host=127.0.0.1
      启动tinyerp server.
      然后在windows下tinyerp client连接此server,但是在创建帐套时出错:
      server上的出错信息是:

      Tue, 13 May 2008 09:55:20 INFO:web-services:CREATE DB: testdatabase
      Tue, 13 May 2008 09:55:21 ERROR:web-services:Exception in call: Traceback (most recent call last):
      File "/usr/lib/python2.3/site-packages/tinyerp-server/netsvc.py", line 200, in _dispatch
      r=m(*params)
      File "/usr/lib/python2.3/site-packages/tinyerp-server/service/web_services.py", line 142, in get_progress
      raise Exception, e
      AttributeError: 'str' object has no attribute 'rsplit'

      client上无log信息。另外,创建的帐套testdatabase可以正常删除。

      请问这是怎么回事?

      发布在 Odoo 安装指南
      Y
      yjwen