Skip to Content
Menu
This question has been flagged
1 Reply
2141 Views

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

Avatar
Discard
Best Answer

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?'

Avatar
Discard
Related Posts Replies Views Activity
1
Jun 25
1887
3
Jul 25
3489
1
May 25
1619
1
May 25
1868
4
May 25
2984