Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

Hello,


I have an onchange function at the field date_order in model sale.order.

The function itself works fine.

But now the button Done has to be clicked to close the calendar, every time the field is changed via the mini calendar.


The onchange function sets only the value of another field, like

@api.onchange('date_order)

def set_field_A(self):

    self.field A = self.date_order + 7days

    return


Is it possible to close the mini calendar, if a date is clicked like normal?


regards Frank

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Feb 22
5801
0
Feb 16
5546
2
Sep 15
4916
1
Jun 15
5247
0
Mei 15
3353