Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2169 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
set 25
2019
1
giu 25
2042
3
lug 25
3624
1
mag 25
1752
4
mag 25
3076