Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4913 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.พ. 22
5506
0
ก.พ. 16
5241
api.onchange v8 doesnt work แก้ไขแล้ว
2
ก.ย. 15
4583
1
มิ.ย. 15
4919
0
พ.ค. 15
3089