跳至内容
菜单
此问题已终结
1 回复
2142 查看

Hi, i have a smart button in sale order, i want that when a user click in the smart button and create, in the new module get the active id of the sale order in the field

形象
丢弃
最佳答案

It's hard to figure out what you really need without providing some code or, in this case, a good contextual example, but if this can help you can generally access active_id or active_ids in your view with self.env.context.get('active_ids'). 

What do you mean by 'the active id of the sale order in the field?'

形象
丢弃
相关帖文 回复 查看 活动
1
6月 25
1887
3
7月 25
3489
1
5月 25
1619
1
5月 25
1868
4
5月 25
2984