Skip to Content
Menu
This question has been flagged
1 Reply
1695 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
2
Dec 24
3136
1
Dec 24
359
4
Nov 24
1368
1
Sep 24
1138
1
Sep 24
1206