odoo
Black.南栀
努力了 才有选择;不努力,连选项都没有!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
odoo 通过button跳转到tree视图,并传递domain
odoo 通过button跳转到tree视图,并传递domain 跳转到视图的按钮类型,目前我知道的有两种,一种是object,即通过定义相应的方法来返回相关的视图,另一种是action,可以直接跳转到对应的视图 举例如下: <button name="button_get_product_quantity" type="object" string="查询可用量"/> <field name="id" invisible="1"/> <button name="%(sale_转载 2021-01-27 19:26:33 · 961 阅读 · 0 评论 -
2021-01-15
odoo中定时任务task 配置任务运行参数 在模块中申明一个xxx_data.xml文件,xxx可以不为模块名称,然后在openerp.py 文件中的data属性中加入xxx_data.xml即可,xxx_data.xml文件的配置内容如下: <?xml version="1.0" encoding="utf-8"?> <openerp> <data noupdate="1"> <record forcecreate="True" id="原创 2021-01-15 14:35:24 · 271 阅读 · 0 评论
分享