Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
253 Vizualizări

I am archiving a One2many field via code but it still shows until I manually refresh the screen.

Can my code trigger this refresh?

Imagine profil
Abandonează
Cel mai bun răspuns

Just return a client reload action at the end of your code:

def your_method(self):

​# your code ends with
  self.action_archive()

# line to add
  return { 'type': 'ir.actions.client', 'tag': 'reload' }
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
dec. 22
12296
1
mai 22
3528
1
feb. 22
2423
0
apr. 20
3624
7
ian. 24
154248