Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在创建一个新模块,我想在button其中kanban放置Contact screen. 当任何用户单击button我需要active_id的所选联系人时。可以获得树和表单视图,但我不知道如何为kanban视图执行此操作。
button
kanban
Contact screen
active_id
有人可以在这里帮忙吗?
谢谢
contex为此,您需要可变地使用字典,
contex
如果你点击bu
<button string="Click Me" type="object" name="my_func" context="{'active' : active_id}" />
方法:
def my_func(self, cr, uid, ids, context={}): # do stuff using the info passed in the context variable...