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

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lut 22
5507
0
lut 16
5251
2
wrz 15
4583
1
cze 15
4921
0
maj 15
3089