Navigation

    Odoo 中文社区

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

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

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

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

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

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

    [BUG]OE6.0.2,设置中文日期和时间,引起WEB异常的简易修复方法

    Odoo 开发与实施交流
    4
    6
    4898
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lindongy last edited by

      OE6.0.2,WEB英文版运行正常,将用户语言改为中文后,用户登录到需要显示时间和日期的界面是就会出现异常,提示是i18n/format.py中160行的time.strformat出错,这个函数可能只支持单字节。我是写C/C++的,没有用过python所以不知道怎么改。用了一个变通的方法,将数据表res_lang中有关日期和时间两个设置中的中文去掉,就可以了。但这个不是解决问题的根本。谁顺手的话,就改一下,不好改的话或者可以提一个bug给OE也算是尽个人事。

      1 Reply Last reply Reply Quote 0
      • wjfonhand
        wjfonhand last edited by

        http://openerp-china.org/blog/space.php?uid=1&do=blog&id=176

        这个我也碰到过,解决办法与你相同

        1 Reply Last reply Reply Quote 0
        • mrshelly
          mrshelly last edited by

          所谓 英雄琐贱虐同.......  赞.....

          1 Reply Last reply Reply Quote 0
          • L
            lindongy last edited by

            [quote author=wjfonhand link=topic=2428.msg8083#msg8083 date=1307374683]<br / [检测到链接无效,已移除] br />
            这个我也碰到过,解决办法与你相同
            [/quote]

            呵呵,我是刚刚开始捣鼓,准备把OE用到我们公司,还请多指教!

            1 Reply Last reply Reply Quote 0
            • H
              hungriness last edited by

              好象是javascript也搞鬼了,
              看演示网站也是设成无中文格式

              1 Reply Last reply Reply Quote 0
              • First post
                Last post