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

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

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

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

学习老肖教程第三章后碰到个修改报表的问题,问一下是怎么回事



  • 拜读过老肖第一版教程关于报表修改的部分,于是动手修改几个报表,从最简单的中文化开始。有几个报表很顺利直接修改.rml文件就可以了。但是碰到几个rml文件要是把里面的英文改成了中文就会报这个错误:
    Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "serviceweb_services.pyo", line 687, in go
    File "reportreport_sxw.pyo", line 364, in create
    File "reportreport_sxw.pyo", line 421, in create_source_pdf
    File "reportreport_sxw.pyo", line 433, in create_single_pdf
    File "lxml.etree.pyx", line 2416, in lxml.etree.XML (src/lxml/lxml.etree.c:23987)
    File "parser.pxi", line 1511, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:64170)
    File "parser.pxi", line 1390, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:63103)
    File "parser.pxi", line 932, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:60168)
    File "parser.pxi", line 538, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:56751)
    File "parser.pxi", line 624, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:57595)
    File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993)
    XMLSyntaxError: Input is not proper UTF-8, indicate encoding !
    Bytes: 0xBF 0xE2 0xB4 0xE6, line 126, column 23

    这个是什么原因?我用ultraEdit改的



  • 拜读过老肖第一版教程关于报表修改的部分,于是动手修改几个报表,从最简单的中文化开始。有几个报表很顺利直接修改.rml文件就可以了。但是碰到几个rml文件要是把里面的英文改成了中文就会报这个错误:
    Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "serviceweb_services.pyo", line 687, in go
    File "reportreport_sxw.pyo", line 364, in create
    File "reportreport_sxw.pyo", line 421, in create_source_pdf
    File "reportreport_sxw.pyo", line 433, in create_single_pdf
    File "lxml.etree.pyx", line 2416, in lxml.etree.XML (src/lxml/lxml.etree.c:23987)
    File "parser.pxi", line 1511, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:64170)
    File "parser.pxi", line 1390, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:63103)
    File "parser.pxi", line 932, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:60168)
    File "parser.pxi", line 538, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:56751)
    File "parser.pxi", line 624, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:57595)
    File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993)
    XMLSyntaxError: Input is not proper UTF-8, indicate encoding !
    Bytes: 0xBF 0xE2 0xB4 0xE6, line 126, column 23

    这个是什么原因?我用ultraEdit改的



  • 解决了。只要用ue另存为一下utf-8格式即可


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待