07 2014 档案
摘要:sudo find . -name '*.dump' -mtime +10 -exec rm "{}" \;
阅读全文
摘要:1.xml中应为on_change=""的形式2.py文件中 self,cr,uid,ids为必备参数,后面的参数根据xml文件中的参数的数量而定3.return的是一个字典,通过value关键字传递给前台页面.即 res={"value":{'xx':'uu'}}的形式.
阅读全文
摘要:编辑home目录下的.bashrc文件alias xjerp="~/odoo/xj/openerp-server -r openerp --addons-path='~/odoo/xj/openerp/addons'"重启shell即可.
阅读全文
摘要:git clone address.git -b brach_name destination_floder
阅读全文
摘要:The reason causing this problem is the plugin PIL install errorto solve this problem,try this:1.clear PIL packagesrm -rf /usr/lib/python2.7/site-packa...
阅读全文
摘要:In this case,if you write some stirng in your fields which contains '' work properly ) considering this:http://stackoverflow.com/questions/6322126/wha...
阅读全文
摘要:重装了系统(ubuntu 14.04)原来正常可用的OpenERP项目在切换到开发者模式的时候报错:UnicodeDecodeError: 'ascii' codec can't decode byte 0x?? in position 1: ordinal not in range(128)而在服...
阅读全文
摘要:TL;DR:$ git clone https://github.com/sontek/dotfiles.git$ cd dotfiles$ ./install.sh vimDownloadPDF VersionIntroBack in 2008, I wrote the articlePython...
阅读全文
摘要:add this codes to your rml file:Page: from
阅读全文
摘要:1. When you have used OpenOffice edited one of reports,it has stored the report's banary data is database,which caused the problem when you refresh th...
阅读全文
摘要:1. 将改动提交 git add .2.push 到github git push origin master
阅读全文
摘要:首先说一下service类型的产品,由于该类型的产品不需要发货,所以当在销售订单确认了后,销售单直接变成了等待开票的状态,但当开票的流程结束后,订单却还是停在销售单的状态上,该问题的解决方案是安装Tasks on SO模块,这个不是本文的重点,本文的重点是当产品类型为stockable,需求方式为M...
阅读全文
摘要:一、工作流定义: workflow.name resource.model True | False model:固定取值"workflow"id:任意值,唯一标识本工作流name: 工作流的名称,任意定义osv: 本工作流关联的对象类型,是OpenERP模块中定义的某对象名,如采购单对...
阅读全文