odoo v11 - 如何在“动作下拉"菜单中添加动作/视图 [英] odoo v11 - how do you add an action/view to the 'action drop down' menu

查看:44
本文介绍了odoo v11 - 如何在“动作下拉"菜单中添加动作/视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在以前版本的 odoo 中,您可以通过创建 ir.values 记录将项目添加到更多"下拉菜单中.

In previous versions of odoo, you could add an item to the 'more' drop down menu by creating an ir.values record.

此新选项随后在树视图和记录中可见.

This new option then became visible in tree views and within records.

这在 V11 中似乎不起作用.

This does not appear to work in V11.

如何将项目添加到现在称为操作"下拉菜单中.

How do you add an item to what is now called the 'action' drop down menu.

推荐答案

看来可能有一个针对动作的新字段,以允许直接在动作本身上创建此链接.

It appears that there may be a new field against actions to allow this link to be created directly on the action itself.

字段:binding_model_id

field: binding_model_id

例如在 ir.actions.server 记录中:

e.g. within an ir.actions.server record:

<field name="binding_model_id" ref="sale.model_sale_order_line"/>

这篇关于odoo v11 - 如何在“动作下拉"菜单中添加动作/视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆