OpenERP 7.0安装注意事项php
本文来自于OpenERP中文社区:http://shine-it.nethtml
原文地址:http://shine-it.net/index.php/topic,11953.msg21919.html#msg21919python
1. 安装ubuntu时不要选择postgresql项 sql
2. 安装成功后,安装postgresql-9.2 ubuntu
a) sudo apt-get install python-software-properties 服务器
b) sudo add-apt-repository ppa:pitti/postgresql post
c) sudo apt-get update 测试
d) sudo apt-get install postgresql-9.2 字体
3. 后面的按照网址http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/中的步骤安装便可 google
4. 最后安装完仓库模块后,要更新仓库模块,不然在建立仓库时会报错
5. 报表乱码问题能够用下面的方法解决
一、在我indows下, 拷贝simsun.ttf 文件到字体文件夹,而后分别更名为“DejaVuSans.ttf”,
“DejaVuSans-Bold.ttf”,“DejaVuSans-Oblique.ttf”,“DejaVuSans-BoldOblique.ttf”。这样,所有报表均可以正常使用中文了。
二、在Ubuntu下,系统中/usr/share/fonts/truetype/ttf-dejavu路径下放的是unicode的字体DejaVuSans.ttf,这个字体中并无相对应的中文字体在里面,于是形成OpenERP报表乱码,http://code.google.com/p/qinsdisk/downloads/list 上有合成字体 DejaVuSansYuanTi, 含中文字体。
下载后:
DejaVuSansYuanTi-Regular.ttf 改成 DejaVuSans.ttf”,
DejaVuSansYuanTi-Bold.ttf 改成 “DejaVuSans-Bold.ttf”,
DejaVuSansYuanTi-Italic.ttf 改成“DejaVuSans-Oblique.ttf”,
DejaVuSansYuanTi-BoldItalic.ttf 改成“DejaVuSans-BoldOblique.ttf
而后把这四个字体上传到服务器usr/share/fonts/truetype/ttf-dejavu目录中,重启服务器,测试报表,中文正常,表头页脚中文也显示正常!