Chen Jian

导航

 

2014年3月19日

摘要: Access DeniedThe requested operation cannot be completed due to security restrictions. Please contact your system administrator.(Document type: Pay Slip, Operation: read)This is because on settings->groups-> HR officer has a following record rule: Employee Payslip ['|', ('employee_ 阅读全文
posted @ 2014-03-19 20:34 Chen Jian 阅读(430) 评论(0) 推荐(0) 编辑
 
摘要: 在ubuntu中,终止一个进程或终止一个正在运行的程序,一般是通过 kill 、killall、pkill、xkill 等进行。 先看两个例子: 例子一:结束某个程序,如Firefox 键入命令: pkill firefox 例子二: 结束某个进程,如find 先用ps命令来查看该进程对应的PID。 键入ps,显示如下: PID TTY... 阅读全文
posted @ 2014-03-19 15:05 Chen Jian 阅读(6371) 评论(0) 推荐(0) 编辑
 
摘要: How to set up OpenERP for different Time Zones Click on the “Edit Preferences” wheel at top right corner How to set up OpenERP for different Time Zones Click on the “Preferences” tab H... 阅读全文
posted @ 2014-03-19 11:28 Chen Jian 阅读(412) 评论(0) 推荐(0) 编辑
 
摘要: 日期格式化字符串:DATE_FORMAT = "%Y-%m-%d" 日期时间格式字符串:DATETIME_FORMAT = "%Y-%m-%d %H:%M:%S" 日期时间格式字符串(包含毫秒):DATETIME_FORMAT = "%Y-%m-%d %H:%M:%S.%f" OpenERP对象中字段赋值为当前日期(字符串):fields.date.context_today,fields.... 阅读全文
posted @ 2014-03-19 11:17 Chen Jian 阅读(712) 评论(0) 推荐(0) 编辑