Odoo Help


close mini-calendar of datetime-field with onchange function

Frank Kubsda
on 5/26/15, 10:35 AM 596 views


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


def set_field_A(self):

    self.field A = self.date_order + 7days


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

regards Frank

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/26/15, 10:35 AM
Seen: 596 times
Last updated: 5/27/15, 4:48 AM