- 浏览: 688380 次
- 性别:
- 来自: 中山
-
最新评论
-
wuhuizhong:
jFinal支持Rest风格吗?可以想spring mvc那样 ...
在JFinal的Controller中接收json数据 -
wuhuizhong:
在jfinal中应如何获取前端ajax提交的Json数据?ht ...
在JFinal的Controller中接收json数据 -
wuhuizhong:
jfinal如何处理json请求的数据:问题: 在某些api接 ...
在JFinal的Controller中接收json数据 -
wuhuizhong:
Ubuntu14.04 安装 Oracle 11g R2 Ex ...
Oracle 11g release 2 XE on Ubuntu 14.04 -
alanljj:
这个很实用,已成功更新,谢过了!
odoo薪酬管理模块l10n_cn_hr_payroll
文章列表
PostgreSQL 通用备份脚本
- 博客分类:
- Postgresql
#!/bin/bash
PG_USER="postgres"
SUDO_CMD=$(which sudo)
SUDO="$SUDO_CMD -u $PG_USER"
PSQL_CMD=$(which psql)
PSQL="$SUDO $PSQL_CMD"
GREP=$(which grep)
AWK=$(which awk)
PGDUMP_CMD=$(which pg_dump)
PGDUMP="$SUDO $PGDUMP_CMD"
VACUUM_CMD=$(which vacuumdb ...
參考
http://buke.github.io/blog/2013/06/27/using-eclipse-pydev-to-debug-green-openerp-for-windows/
安裝Pydev
打开eclipse 后,点击菜单 “help” -> “Install New Software”,
输入 “http://pydev.org/updates” 刷新后选择 pydev 安装即可。)
下载并解压GreenOdoo
下载地址: https://github.com/buke/GreenOdoo/archive/mas ...
Creating a module
- 博客分类:
- OpenERP
Example of module creation¶
Getting the skeleton directory¶
Create a travel directory, that will contain our addon. Create __init__.py file and __openerp__.py files.
Edit the __openerp__.py module manifest file:
{
"name" : "Travel agency module",
"vers ...
Here is how to test it (you must be on v7-SaaS4 or later):
First you have to know that the new QWeb engine allows to output PDF or HTML. It is only when the output is HTML that it can be modified in a WYSIWYG fashion.
Let's assume the Sales module is installed on a fresh Odoo instance. By default ...
OpenERP is one of the largest Open Source ERP solutions. It comes with number of reporting tools like RML, Webkit and Aeroo as an integral part of activity management for any company. OpenERP is flexible to integrate with other reporting engines such as Jasper, BIRT reports.
In most of the offic ...
openerp使用webkit报表引擎的实例sale_order_webkit
https://launchpad.net/sale-reports
# su - openerp
$ bzr branch lp:sale-reports
安裝:
错误
你要安装的模块'sale_order_webkit'依赖于‘base_headers_webkit’,但后者在你系统中不可用.
Depends on base_header_webkit community addon available here: https://launchpad.net/webkit-u ...
Aeroo Reports Linux server
http://www.alistek.com/wiki/index.php/Aeroo_Reports_Linux_server
# cd /opt
# bzr branch https://launchpad.net/aeroo
# bzr branch https://launchpad.net/aeroolib
Please check the directory containing bzrlib is on your PYTHONPATH.
解決: 切換到python2.6再安裝
# bzr bra ...
openerp 报表
- 博客分类:
- OpenERP
OpenERP 主要有三种类型的报表:
OpenOffice.org 报表
XML 报表
自定义报表 (基于 PostgreSQL 视图,显示在界面上)
这一部分主要描述 OpenOffice.org 报表, 和 XSL:XML 报表. 自定义报表在高级建模部分描述 - PostgreSQL 基于数据库视图的报表.
OpenOffice.org 报表
文件流
OpenOffice.org是OpenERP中最常用的报表格式。OpenOffice.org Writer被用来生成RML模板,而RML模板用来生成pdf报表。
内部过程
参考:
用Sphinx制作中文pdf
http://www.tuicool.com/articles/nAJJVb
Sphinx Project How-To
http://code.google.com/p/pymotwcn/wiki/SphinxprojectHowto
reStructuredText简明教程
http://jwch.sdut.edu.cn/book/rst.html#id15
Online reStructuredText editor
http://rst.ninjs.org/
LaTeX 常用功能
http://m ...
OpenERP如何修改web的端口
- 博客分类:
- OpenERP
When I have various web serving applications (python scripts, tomcat engines, ...) that I don't want to run as root I usually configure an apache web server in front of them. Apache listens to port 80, and tomcat listens to 8080.
In apache:s config:
ProxyPass / http://localhost:8069/
ProxyPass ...
OPENVPN的安装配置笔记
- 博客分类:
- linux
确认是否开启了tun/tap# cat /dev/net/tuncat: /dev/net/tun: File descriptor in bad state下载软件包:# cd /optwget http://pkgs.repoforge.org/lzo/lzo-2.06-1.el5.rf.x86_64.rpmwget http://pkgs.repoforge.org/lzo/lzo-devel-2.06-1.el5.rf.x86_64.rpmwget http://pkgs.repoforge.org/pkcs11-helper/pkcs11-helper-1.08-1.el5.rf. ...
使用OpenVPN的桥接模式扩展内部局域网
- 博客分类:
- linux
1.背景
OpenVPN是一款高度可扩展的VPN软件,除了既有的将应用客户端安全接入服务器这一传统功能外,还可以让你无缝的接入一个远程的局域网,正如你身在该局域网一样,如果你不用OpenVPN,你将很难做到这一点。当然,你可以选择像IPSec这样的重量级VPN,但是你的生活从此将不再简单,你也可以使用拨号,连接到远程,但是你永远无法体验完全接入这种身临其境的感觉。 这就是OpenVPN的桥接功能,有了该功能,你将可以无限扩展局域网,你甚至可以将全世界连接在一个局域网内,每一个OpenVPN服务器都可以作为一个以太网桥存在,将局域网直接拉到很远的地方,距离再也不是问题。
2.理论 ...
方案背景:
公司办公网络使用长城宽带上网有一段时间了,有4个固定IP(2个电信,2个网通),链路不太稳定,经常有问题,因此考虑取消长城宽带,采用原来的adsl上网。但是有个问题,因为公司内网有几台服务器,需要通过固定IP接受外网用户发送的数据,因此如果没有公网IP,而ADSL获取的IP会变化,那么内网服务器接受外面用户的数据就会受到影响,通过采用openvpn很好的解决了这个问题。这个前提是你在机房的服务器有固定IP。
应用场景
公司在托管机房有公网IP,在公司内部采用ADSL上网,又需要接受外网用户发送的数据,那么就可以在托管机房有公网IP的服务器部署openvpn,然后内网找一 ...
Oracle XE 配置
- 博客分类:
- Oracle
1. 修改计算机名后无法启动oracle(OracleXETNSListener服务)
修改 %Oracle_Home%\app\oracle\product\10.2.0\server\NETWORK\ADMIN 下
listener.ora 和 tnsnames.ora 这两个文件里指定计算机名称部分。修改后,restart 服务。
2. Oracle XE 安装完成后,可以通过 http://127.0.0.1:8080/apex 访问Oracle Application Express 。Oracle XE 默认只监听 127.0.0.1的 8080 端口 ...
监控 Linux 性能的 18 个命令行工具
- 博客分类:
- linux
对于系统和网络管理员来说每天监控和调试Linux系统的性能问题是一项繁重的工作。在IT领域作为一名Linux系统的管理员工作5年后,我逐渐认识到监控和保持系统启动并运行是多么的不容易。基于此原因,我们已编写了最常使 ...