摘要: 备份 :pg_dump -h localhost -U odoo -W -d gino > gino.sql 还原:psql -h localhost -U odoo -d gino < gino.sql 停止更新 SELECT * from ir_module_module WHERE "stat 阅读全文
posted @ 2018-10-18 14:59 我本坏蛋 阅读(576) 评论(0) 推荐(0) 编辑
摘要: I had the same issue installing 9.1.4 on Windows 7. I managed to find a solution online that worked.The steps I followed are:Uninstall PostgreSQLDelet 阅读全文
posted @ 2018-09-12 13:13 我本坏蛋 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Timing code At some point, you'll probably spend some effort optimizing code to run faster. Timing how quickly your code runs is essential for this op 阅读全文
posted @ 2018-06-30 19:08 我本坏蛋 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Internal Server Error, 日志正常的话 那就可能8069 端口号被占用了,更改端口号的方法是 在 odoo.conf 中加入 xmlrpc_port=80 pasting 阅读全文
posted @ 2018-06-19 10:34 我本坏蛋 阅读(1479) 评论(0) 推荐(0) 编辑
摘要: CREATE UNIQUE INDEX product_template_default_code_uniq ON product_template (default_code); CREATE UNIQUE INDEX product_product_default_code_uniq ON pr 阅读全文
posted @ 2018-06-08 11:54 我本坏蛋 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 源 : TypeError("Model %r does not exist in registry." % name) 在继承一个模块时,发现报错注册失败,办法,在__openerp__.py 中依赖关系,依赖这个模块。 阅读全文
posted @ 2018-06-04 18:38 我本坏蛋 阅读(769) 评论(0) 推荐(0) 编辑
摘要: <field name="qty_done" groups="stock.group_stock_manager" attrs="{'readonly': [('location_id', '=', 8)]}"/> <button name="split_lot" string="Lot Split 阅读全文
posted @ 2018-05-24 18:37 我本坏蛋 阅读(1750) 评论(0) 推荐(0) 编辑
摘要: 1、连接服务器 2、查看正在执行的crontab,用命令crontab -l ,这样就可以看到哪些任务一直在执行了。 3、编辑任务文件内容,输入命令“crontab -e”,在打开的页面中点击“i”键,进入插入模式,就可以编辑了。 crontab -l 查看定时任务 4、编辑的格式,是“分 时 日 阅读全文
posted @ 2018-05-14 17:03 我本坏蛋 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Main features:Basic layouts for pages, blog and eCommerceWebsite Builder integrationBasic SnippetsAutomatic Less/Sass compilingAutomatic Js and CSS mi 阅读全文
posted @ 2018-04-29 11:02 我本坏蛋 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 执行阶段:变量的赋值、函数的调用等,都属于执行阶段。 在 JavaScript 中函数就是变量 阅读全文
posted @ 2018-04-23 22:54 我本坏蛋 阅读(134) 评论(0) 推荐(0) 编辑