Skip to Content
Menu
This question has been flagged
2980 Views

If active_model is res.partner, I can get form view that I want.If active_model is similar.task(custom model),I cannot get form view that I want.So Can I pass active_model in act_window like this?

<act_window

id="action_merge_tasks"

name="Merge Tasks"

multi="True"

key2="client_action_multi"

res_model="base.partner.merge.automatic.wizard"

src_model="similar.task"

view_mode="form"

target="new"

view_type="form"

context = "{'active_model':res.partner}"

/>

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 24
939
1
Jun 24
3560
1
Oct 23
8579
1
Oct 23
97
1
Aug 23
2192