会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
那人,那事,那代码
走走停停,终该是留点什么
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
46
下一页
2022年9月20日
docker 查看所有容器内存及cup使用情况
摘要: docker stats 内存限制设置参考: https://www.361shipin.com/blog/1551032393249325056 cpus 暂时不知到为啥没用
阅读全文
posted @ 2022-09-20 18:44 那时一个人
阅读(83)
评论(0)
推荐(0)
2022年9月9日
odoo 报表打印数据改了,但报表显示旧值 payments check number
摘要: 报表设置了reload from attachment属性, 报表再次打印相同的记录会检查是否存在相应的附件,有附件,就直接下载附件了,数值自然就是旧的了
阅读全文
posted @ 2022-09-09 09:59 那时一个人
阅读(57)
评论(0)
推荐(0)
2022年7月25日
odoo Reloading the model registry after database signaling, pgpool, cluster
摘要: 现象 搭odoo集群时服务总是重新加载并提示:Reloading the model registry after database signaling 原因 主从数据sequence不一致导致 解决 ## 调整源码 def check_signaling(self): """ Check whet
阅读全文
posted @ 2022-07-25 14:49 那时一个人
阅读(254)
评论(0)
推荐(1)
2022年7月20日
odoo 实现三方物流系统库存功能
摘要: 物流系统客户下单,会有一次入库过程,这里可以通过配置路线的方式来实现 客户表中需要设置客户位置为stock 添加新的路线,规则: 效果:销售订单确认时会产生入库单: 关键补货源码: @api.multi def _action_launch_stock_rule(self): """ Launch
阅读全文
posted @ 2022-07-20 18:37 那时一个人
阅读(247)
评论(0)
推荐(0)
2022年7月18日
odoo redis ormcache
摘要: odoo版本:12.0 实现将odoo的数据缓存到redis 中, 在搭建odoo 集群中会用到 ## RedisLRU.py __all__ = ['RedisLRU'] import types import pickle def to_str(obj): if (isinstance(obj,
阅读全文
posted @ 2022-07-18 17:35 那时一个人
阅读(482)
评论(1)
推荐(2)
2022年7月14日
linux sudo某个用户不能用
摘要: 报错如下: odoo12 is not in the sudoers file. This incident will be reported. 如果没有变更/etc/sudoders文件那么只需要给这个用户添加sudo 群组即可: usermod -a -G sudo username
阅读全文
posted @ 2022-07-14 00:04 那时一个人
阅读(53)
评论(0)
推荐(0)
2022年7月4日
pgpool2 备忘
摘要: 显示所有节点的状态: show pool_nodes; https://www.cnblogs.com/shuaixf/archive/2011/11/22/2259067.html 主要看上它负载均衡特性, pgpool主从节点重置,当从节点提升为主节点后想要还原,可以用到: 关键配置 1. 架构
阅读全文
posted @ 2022-07-04 23:49 那时一个人
阅读(45)
评论(0)
推荐(0)
2022年6月16日
odoo 报表页面高度设置,top margin, headspace 理解
摘要: 看图: 参考链接: https://stackoverflow.com/questions/39593873/how-to-set-margin-top-for-header https://wkhtmltopdf.org/usage/wkhtmltopdf.txt
阅读全文
posted @ 2022-06-16 12:18 那时一个人
阅读(101)
评论(0)
推荐(0)
2022年5月6日
python py3o 教程
摘要: 官方教程:https://py3otemplate.readthedocs.io/en/latest/index.html 官方模板文件及源文件:https://orus.io/florent.aide/py3o.template 忘了的话,就从这里吧翻翻吧
阅读全文
posted @ 2022-05-06 18:17 那时一个人
阅读(311)
评论(0)
推荐(0)
2022年4月27日
odoo 生成配置文件
摘要: ./odoo-bin —save —config odoo.conf —stop-after-init
阅读全文
posted @ 2022-04-27 15:59 那时一个人
阅读(138)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
46
下一页
公告