跳至内容
菜单
此问题已终结

Hey there! I have 2 models: "tickets" and "partes", both are related with "one2many" fields. I want to create a "parte" from a "ticket", so when I click to "create a new one", I want to pre-fill the field in "parte" to relate it to "ticket.name". I tried sending it by context like this:

Model "ticket":


name="parte_gf" context="{'default_ticket_bueno': name}"



But it seems like it's filtering, and that's not what I want. I want to pre-fill the field. Thanks for the help.


形象
丢弃
相关帖文 回复 查看 活动
0
5月 15
6308
2
10月 23
2258
1
3月 21
2373
3
9月 23
5017
2
1月 20
8340