Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4909 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
úno 22
5506
0
úno 16
5239
2
zář 15
4581
1
čvn 15
4917
0
kvě 15
3089