上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 46 下一页
摘要: docker stats 内存限制设置参考: https://www.361shipin.com/blog/1551032393249325056 cpus 暂时不知到为啥没用 阅读全文
posted @ 2022-09-20 18:44 那时一个人 阅读(83) 评论(0) 推荐(0)
摘要: 报表设置了reload from attachment属性, 报表再次打印相同的记录会检查是否存在相应的附件,有附件,就直接下载附件了,数值自然就是旧的了 阅读全文
posted @ 2022-09-09 09:59 那时一个人 阅读(57) 评论(0) 推荐(0)
摘要: 现象 搭odoo集群时服务总是重新加载并提示:Reloading the model registry after database signaling 原因 主从数据sequence不一致导致 解决 ## 调整源码 def check_signaling(self): """ Check whet 阅读全文
posted @ 2022-07-25 14:49 那时一个人 阅读(254) 评论(0) 推荐(1)
摘要: 物流系统客户下单,会有一次入库过程,这里可以通过配置路线的方式来实现 客户表中需要设置客户位置为stock 添加新的路线,规则: 效果:销售订单确认时会产生入库单: 关键补货源码: @api.multi def _action_launch_stock_rule(self): """ Launch 阅读全文
posted @ 2022-07-20 18:37 那时一个人 阅读(247) 评论(0) 推荐(0)
摘要: 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)
摘要: 报错如下: 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)
摘要: 显示所有节点的状态: 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)
摘要: 看图: 参考链接: 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)
摘要: 官方教程:https://py3otemplate.readthedocs.io/en/latest/index.html 官方模板文件及源文件:https://orus.io/florent.aide/py3o.template 忘了的话,就从这里吧翻翻吧 阅读全文
posted @ 2022-05-06 18:17 那时一个人 阅读(311) 评论(0) 推荐(0)
摘要: ./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 下一页