Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2147 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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?'

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 25
1904
3
lip 25
3502
1
maj 25
1624
1
maj 25
1881
4
maj 25
2998