odoo v11 - how do you add an action/view to the 'action drop down' menu

只愿长相守 提交于 2019-12-11 13:49:38

问题


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.

This does not appear to work in V11.

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


回答1:


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

field: binding_model_id

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

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


来源:https://stackoverflow.com/questions/47256246/odoo-v11-how-do-you-add-an-action-view-to-the-action-drop-down-menu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!