Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
4358 Tampilan

I have a button that calls the model action below.

For some reason the warning message doesn't show but the "test" shows on the ODOO log.

def import_file(self):
   print("test")
   return {'warning': {'title':'title','message':'message'}}
Avatar
Buang
Penulis

I would like to use standard ODOO functionality but the above code seems right but does not return a warning as expected.

Penulis

I did notice that if its a server action you need to set the action to the above return value

Post Terkait Replies Tampilan Aktivitas
0
Mar 15
5572
2
Mei 19
3126
0
Agu 25
3
0
Agu 25
4
0
Agu 25
8