Odoo: Configuring the system for sending mail.
摘要:Create a regular user, don't forget to set email alias equal to email server. Configuration: Go to "Settings --> Technical --> General Settings" and set your domain in "Alias Domain" (ex: mydomain.co...
阅读全文
Odoo Website 替换 Summernote 为第三方文本编辑器
摘要:转自:cnblogs.com 随着用odoo的人越来越多,奇葩的需求也是越来越多。。。。 这不,有同学就想替换掉website forum里边的summernote控件,花了点时间研究了一下,先说结论:替换是可行的。 先上替换之后的图,这里替换的是kindeditor: 要替换成别的,也是可以的,只
阅读全文
How to Speed up Odoo
摘要:Odoo is the most popular ERP (Enterprise Resource Planning) software, written in Python and uses PostgreSQL as database back-end. The Odoo community e
阅读全文
uWSGI listen queue 队列溢出的问题
摘要:如果没有设置uwsgi的--listen,如果sysctl -a | grep net.core.somaxconn发现net.core.somaxconn=128。 那你使用uwsgi启动的服务,单机最大支持并发数为100*(启动的uwsgi进程数)。 如果启动进程为4个,则最大并发只能支持400
阅读全文
【uWSGI】 listen queue of socket (fd: 3) 错误分析
摘要:现在django的应用基本都是使用uWSGI来部署,类似下面 listen queue of socket "127.0.0.1:9001" (fd: 3) 的错误出现过2次,下面说下这两次错误出现的解决的过程。 出错场景 centos 6.6 uWSGI2.0 nginx1.6 错误日志截取 1
阅读全文
odoo并配置wsgi和nginx运行环境
摘要:sudo apt-get install -f openerp 即可。这种方式会自动安装依赖包,当然postgresql还要先装好。 也可以下载deb包用dpkg -i安装。找到的引文使用bzr下载branch,发现下载addons总是出错。我改造一下,直接用源码安装成功。 打开防火墙80、22端口
阅读全文
DataError: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
摘要:I copy-paste solution from Tauras link. In console run psql: sudo -u postgres psql postgres then in psql console execute sequence of commands: update
阅读全文
Can not create graphically new user
摘要:Impacted versions: 10.0 community Steps to reproduce: create user without image Current behavior:stack trace with : "cannot determine region size; use
阅读全文
Odoo Entypo Regular Icon List
摘要:参考地址: http://www.fontslog.com/entypo-regular-otf-33800.htm#custompreview 或 http://www.w3cplus.com/w3cplusDemo/demos/fontomas/index.html Odoo icon使用的是
阅读全文
收银台(POSBox) 配置向导
摘要:先决条件 在开始设置您的POSBox之前, 确保你准备好了一切。 你会需要 : POSBox 2A电源适配器 一台带最新的Web浏览器的计算机或平板电脑。 可用的的SaaS或已安装零售的Odoo 设置了DHCP(这是默认设置)的本地网络 一个RJ45以太网电缆或兼容Linux的USB Wi-Fi适配
阅读全文
让 Odoo POS 支持廉价小票打印机
摘要:为了测试 Odoo 在实际业务中的实施,我们开了一家(马上要开第二家分店)猪肉店。由于预算有限,在实施 Odoo PoS 的时候采购了一台价格为 85 元的爱宝热敏打印机,结果连上 Odoo Posbox 以后发现无法识别。 由于该打印机是支持标准 ESC/POS 指令集的,所以肯定具备 Odoo
阅读全文
wkhtmltopdf错误解决办法
摘要:Odoo/openerp 打印报表时,无法输出PDF格式,提示下面的错误Unable to find Wkhtmltopdf on this system. The report will be shown in htmlwkhtmltopdf.org原因是没有安装wkhtmltopdf或者路径设置
阅读全文
lxml包引入错误
摘要:在使用第三方包lxml引入etree模块时报错: [python] view plain copy >>> from lxml import etree Traceback (most recent call last): File "<stdin>", line 1, in ? ImportErr
阅读全文
安装调试Installing Odoo
摘要:来自odoo的安装步骤 There are mutliple ways to install Odoo, or not install it at all, depending on the intended use case. This documents attempts to describe most of the installation options. DemoThe simpl...
阅读全文
chrome 点击上传文件选择框会延迟几秒才会显示 反应很慢
摘要:chrome52.0.2743.80以上, accept: { title: 'Images', extensions: 'jpg,jpeg,png', mimeTypes: 'image/*' } 改为 accept: { title: 'Images', extensions: 'jpg,jpeg,png', mimeTypes: 'image/jp...
阅读全文
Odoo 中的 Controller
摘要:来自 Odoo处理HTTP请求的接口用的Contoller类,封装于web模块中。 --------------------------------------------------------------- RequestHandler: 1. replace_request_password(args):用*替换掉request中的密码字符。 2. dispatch_rpc(ser...
阅读全文
Odoo Web Service API
摘要:来自 Odoo Web服务暴露出相关的服务,路由分别是 /xmlrpc/ /xmlrpc/2/ /jsonrpc 根据 services 调用 后端对应服务的 方法method 【定义 openerp\http.py 之 dispatch_rpc()】,然后再将结果从python dict 转换为 xml-rpc 格式 或者 json-rpc 返回 servi...
阅读全文
Ubuntu 10.04 32位桌面版+OpnERP 6.1.1
摘要:1、准备环境: sudo apt-get install denyhosts sudo apt-get update sudo apt-get dist-upgrade sudo adduser --system --home=/opt/openerp --group openerp sudo passwd openerp sudo su - openerp...
阅读全文
Openerp负载平衡
摘要:来自OpenERP 7.0 带来了许多新特性,架构上也有许多改进。其中可配置 worker 参数,可使 OpenERP 运行在多进程模式,突破GIL的限制,有效利用了现代多核CPU的性能。但默认情况下,OpenERP 只能运行于一台服务器,对于提供SAAS服务或并发很大的情况下,单台服务器的性能是有限的。本文介绍实现 OpenERP 负载平衡的方法和原理。 一、架构 ┌────────────...
阅读全文