diff --git a/addons/mail/tests/test_mail_channel.py b/addons/mail/tests/test_mail_channel.py index 5d1065ef5c4..50b5c62b48e 100644 --- a/addons/mail/tests/test_mail_channel.py +++ b/addons/mail/tests/test_mail_channel.py @@ -32,7 +32,7 @@ class TestMailGroup(TestMail): def mail_group_message_get_recipient_values(self, notif_message=None, recipient_ids=None): return self.env['mail.thread'].message_get_recipient_values(notif_message=notif_message, recipient_ids=recipient_ids) cls.env['mail.channel']._patch_method('message_get_recipient_values', mail_group_message_get_recipient_values) - super(TestMail, cls).tearDownClass() + super(TestMailGroup, cls).tearDownClass() @mute_logger('odoo.addons.base.ir.ir_model', 'odoo.models') def test_access_rights_public(self): diff --git a/addons/web/static/src/js/views/search_inputs.js b/addons/web/static/src/js/views/search_inputs.js index 99535f29797..c4478956499 100644 --- a/addons/web/static/src/js/views/search_inputs.js +++ b/addons/web/static/src/js/views/search_inputs.js @@ -353,7 +353,8 @@ var DateField = Field.extend(/** @lends instance.web.search.DateField# */{ return $.when(null); } - var m = moment(v, t === 'datetime' ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD'); + // THIS SHOULD BE FORWARDPORTED UP TO SAAS-15, NOT LATER + var m = moment.utc(v, t === 'datetime' ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD'); if (!m.isValid()) { return $.when(null); } var d = m.toDate(); var date_string = formats.format_value(d, this.attrs); diff --git a/doc/cla/individual/mehdi-ghezal.md b/doc/cla/individual/mehdi-ghezal.md new file mode 100644 index 00000000000..a5083336bfd --- /dev/null +++ b/doc/cla/individual/mehdi-ghezal.md @@ -0,0 +1,9 @@ +France, 2017-11-10 + +I hereby agree to the terms of the Odoo Individual Contributor License Agreement v1.0. + +I declare that I am authorized and able to make this agreement and sign this declaration. + +Signed, + +Mehdi GHEZAL mehdi.ghezal@gmail.com https://github.com/mehdi-ghezal