上一页 1 ··· 4 5 6 7 8 9 10 下一页

2013年11月15日

如何自定义报表动作的打开方式

摘要: stock.picking.out stock.picking.list.kelit.test Delivery Test test/report/picking.rml stock.picking.out Delivery Test2 client_print_multi 一般报表使用 标签,会自动创建ir_value记录。 默认添加在 print 中,如果需要把报表动作放到 'more' 选项下。可以分别单独创建 ir.action.report.xml 和 ir.vaule. 其中ir.value 结果用eval 计算值 (对象名)ir.action.report.xml 阅读全文

posted @ 2013-11-15 17:44 Odoo在中国 阅读(298) 评论(0) 推荐(0) 编辑

2013年11月8日

openerp import l field size limit

摘要: modify the file addons/base_import/models.pyadd the following line at the very begining of the _convert_import_data function :csv.field_size_limit(2097152)delete the file addons/base_import/models.pycrestart your serverredo theimportof your out.csv file 阅读全文

posted @ 2013-11-08 22:39 Odoo在中国 阅读(177) 评论(0) 推荐(0) 编辑

2013年10月25日

如何在search中动态的显示和隐藏tree中的字段

摘要: 在tree定义 invisible 来自context在search中传入 对应的 key 和value。 阅读全文

posted @ 2013-10-25 12:07 Odoo在中国 阅读(295) 评论(0) 推荐(0) 编辑

2013年10月23日

Centos yum install

摘要: http://wiki.centos.org/TipsAndTricks/BrokenVservercentos mirror: http://mirror.centos.org/centos/6/os/x86_64/ 注意匹配正确的版本, /ect/yum.confHow to install yum on a Virtual ServerContentsBut I DO have yum already, and I AM on CentOSI don't have yum on my CentOS installationYou are saying I was lied to 阅读全文

posted @ 2013-10-23 13:28 Odoo在中国 阅读(1242) 评论(0) 推荐(0) 编辑

2013年10月12日

openerp binary filed import export

摘要: 1: user xmlrpc2: use csv file to export import but want to change the csv modelfield_size_limit 阅读全文

posted @ 2013-10-12 12:11 Odoo在中国 阅读(185) 评论(0) 推荐(0) 编辑

2013年9月16日

openerp service install

摘要: cp openerp.init to /etc/init.d/openerpupdate-rc.d openerp defaultPATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/binDESC=openerp-server NAME=openerp-server DAEMON=/xxx/server/openerp-server oe start fileUSER="openerp" oe userCONFIGFILE="/xxxxxx/openerp-server.conf"PIDFILE=/var/run/ 阅读全文

posted @ 2013-09-16 22:54 Odoo在中国 阅读(192) 评论(0) 推荐(0) 编辑

2013年8月26日

SSH config

摘要: add a file named 'config' , place in folder .sshthen you can use "ssh yourname "quickly to connenct.-----------------------------Host yourname HostName 123.123.123.99User rootPort 1234ServerAliveInterval 30 ServerAliveCountMax 120 阅读全文

posted @ 2013-08-26 10:49 Odoo在中国 阅读(199) 评论(0) 推荐(0) 编辑

2013年8月1日

openerp import namespace

摘要: # If True, the Python modules inside the openerp namespace are made available# without the 'openerp.' prefix. E.g. openerp.osv.osv and osv.osv refer to the# same module.# Introduced around 2011.02.open_openerp_namespace = True 阅读全文

posted @ 2013-08-01 16:41 Odoo在中国 阅读(179) 评论(0) 推荐(0) 编辑

2013年7月17日

function field , store={}...

摘要: 1 def _get_product_state(self,cr,uid,ids,fields,arg=None,context=None): 2 res={} 3 dic=dict( self.pool.get('product.product')._columns['state'].selection ) 4 for sol in self.browse(cr,uid,ids,): 5 if sol.product_id.state in dic: 6 res[sol.id]=... 阅读全文

posted @ 2013-07-17 17:22 Odoo在中国 阅读(211) 评论(0) 推荐(0) 编辑

2013年6月8日

动态修改类的属性

摘要: from __future__ import nested_scopesimport newdef enhance_method(klass, method_name, replacement): '替换方法的函数' method = getattr(klass, method_name) setattr(klass, method_name, new.instancemethod( lambda *args, **kwds: replacement(method, *args, **kwds), None, klass))def method_logger(old_metho 阅读全文

posted @ 2013-06-08 17:27 Odoo在中国 阅读(452) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 下一页

导航