Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2150 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
jun. 25
1908
3
jul. 25
3508
1
mei 25
1630
1
mei 25
1883
4
mei 25
3000