上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 46 下一页
摘要: https://blog.csdn.net/qq_33745102/article/details/84992778 阅读全文
posted @ 2020-05-16 17:02 那时一个人 阅读(877) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/zhuang229/p/11797574.html 阅读全文
posted @ 2020-05-11 23:43 那时一个人 阅读(804) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/meitian/p/4649173.html 添加新元素:list.append(new) 列表合并:list.extend(list2),等价list+=list2, 会将list2合并到list中, 阅读全文
posted @ 2020-05-09 11:20 那时一个人 阅读(2053) 评论(0) 推荐(0)
摘要: 新的模型需要设置方法: xml 中设置绑定关系: 如何在明细行中设置默认值: https://www.odoo.com/pt_BR/forum/ajuda 1/question/how to insert value to a one2many field in table with create 阅读全文
posted @ 2020-05-08 23:57 那时一个人 阅读(516) 评论(0) 推荐(0)
摘要: ```python return { 'type': 'ir.actions.act_window', 'name': _('Fiscal Year'), 'view_mode': 'form', 'res_model': 'account.financial.year.op', 'target': 'new', 'res_id': new_wizard.id, 'views': [[view_i 阅读全文
posted @ 2020-05-07 09:51 那时一个人 阅读(685) 评论(0) 推荐(0)
摘要: In [11]: False or True Out[11]: True python 中的三目运算符: In [1]: 1==1 and '123' or '456' Out[1]: '123' 魔幻的python语句: In [6]: a = 1 if 1==2 else 2 In [7]: a 阅读全文
posted @ 2020-05-06 22:40 那时一个人 阅读(13692) 评论(0) 推荐(0)
摘要: 执行完成后将输出结果复制到xml代码中上去即可 阅读全文
posted @ 2020-05-06 15:09 那时一个人 阅读(310) 评论(0) 推荐(0)
摘要: docker 容器没有设置内存限制,在使用过程中直到将Linux内存占满了,后来使用 命令就会报错,系统强制重启后,docker 服务也无法正常启动, 后来网上说,可以在配置文件中添加参数: 服务能够正常启动了,但是发现我的镜像和容器都找不到了, 后来经过修改配置文件,将 改为 ,就可以找回来了 不 阅读全文
posted @ 2020-05-02 11:54 那时一个人 阅读(2444) 评论(0) 推荐(0)
摘要: 在函数中取写查询语句,查询出来的字段不能在前边出现,否则会报错, 即使是只从一个表中查询,上边的语句在调用时还是会提示location_dest_id 不明确, 解决这个错误,就需要在字段前添加标名或者表的别名, 另外,postgres会提示一个错误位置行的信息,之前我一直在pycharm和navi 阅读全文
posted @ 2020-04-30 10:10 那时一个人 阅读(3486) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/u011789653/article/details/78822419?depth_1 utm_source=distribute.pc_relevant.none task blog BlogCommendFromBaidu 1&utm_source=d 阅读全文
posted @ 2020-04-28 23:01 那时一个人 阅读(241) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 46 下一页