Skip to Content
Menú
This question has been flagged
1 Respondre
2140 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
1
de juny 25
1886
3
de jul. 25
3488
1
de maig 25
1618
1
de maig 25
1863
4
de maig 25
2984