Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2144 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jun. 25
1889
3
jul. 25
3493
1
maj 25
1620
1
maj 25
1871
4
maj 25
2989