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

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

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

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

安装oecn_base_font后,预览页眉页脚照样是黑方块



  • 第一次源码安装OpenErp,按论坛说的安装oecn_base_font后。Font-Map参数如下:<br />[code][["Helvetica", "SimSun", "/usr/share/fonts/dejavu/simsun.ttc", "all"], ["DejaVuSans", "WenQuanYiZenHei", "/usr/share/fonts/dejavu/wqy-zenhei.ttc", "all"], ["Times", "WenQuanYiZenHei", "/usr/share/fonts/dejavu/wqy-zenhei.ttc", "all"], ["Times-Roman", "WenQuanYiZenHei", "/usr/share/fonts/dejavu/wqy-zenhei.ttc", "all"], ["Courier", "WenQuanYiZenHei", "/usr/share/fonts/dejavu/wqy-zenhei.ttc", "all"]][/code]<br /><br />查看页眉脚本已经变成新宋体<br /><header> <pageTemplate> <frame id="first" x1="1.3cm" y1="3.0cm" height="21.7cm" width="19.0cm"/> <stylesheet> <!-- Set here the default font to use for all <para> tags --> <paraStyle name='Normal' fontName="SimSun"/> <paraStyle name="main_footer" fontSize="10.0" alignment="CENTER"/> <paraStyle name="main_header" fontSize="10.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> </stylesheet> <pageGraphics> <!-- Set here the default font to use for all <drawString> tags --> <setFont name="SimSun" size="10"/> <!-- You Logo - Change X,Y,Width and Height --> <image x="1.3cm" y="27.7cm" height="40.0" >[[ company.logo or removeParentNode('image') ]]</image> <fill color="black"/> <stroke color="black"/><br />但预览结果依然是黑方块。求助。。。



  • 第一次源码安装OpenErp,按论坛说的安装oecn_base_font后。Font-Map参数如下:<br />[code][["Helvetica", "SimSun", "/usr/share/fonts/dejavu/simsun.ttc", "all"], ["DejaVuSans", "WenQuanYiZenHei", "/usr/share/fonts/dejavu/wqy-zenhei.ttc", "all"], ["Times", "WenQuanYiZenHei", "/usr/share/fonts/dejavu/wqy-zenhei.ttc", "all"], ["Times-Roman", "WenQuanYiZenHei", "/usr/share/fonts/dejavu/wqy-zenhei.ttc", "all"], ["Courier", "WenQuanYiZenHei", "/usr/share/fonts/dejavu/wqy-zenhei.ttc", "all"]][/code]<br /><br />查看页眉脚本已经变成新宋体<br /><header> <pageTemplate> <frame id="first" x1="1.3cm" y1="3.0cm" height="21.7cm" width="19.0cm"/> <stylesheet> <!-- Set here the default font to use for all <para> tags --> <paraStyle name='Normal' fontName="SimSun"/> <paraStyle name="main_footer" fontSize="10.0" alignment="CENTER"/> <paraStyle name="main_header" fontSize="10.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/> </stylesheet> <pageGraphics> <!-- Set here the default font to use for all <drawString> tags --> <setFont name="SimSun" size="10"/> <!-- You Logo - Change X,Y,Width and Height --> <image x="1.3cm" y="27.7cm" height="40.0" >[[ company.logo or removeParentNode('image') ]]</image> <fill color="black"/> <stroke color="black"/><br />但预览结果依然是黑方块。求助。。。


  • 管理员

    1.尝试重启服务器。<br />2.尝试Font-Map删掉然后重新配置



  • 已经解决<br />安装了base_report_cn后解决问题


登录后回复
 

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