[MERGE] forward port branch 9.0 up to d07f9c5ef5
This commit is contained in:
@@ -32,7 +32,7 @@ class TestMailGroup(TestMail):
|
|||||||
def mail_group_message_get_recipient_values(self, notif_message=None, recipient_ids=None):
|
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)
|
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)
|
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')
|
@mute_logger('odoo.addons.base.ir.ir_model', 'odoo.models')
|
||||||
def test_access_rights_public(self):
|
def test_access_rights_public(self):
|
||||||
|
|||||||
@@ -353,7 +353,8 @@ var DateField = Field.extend(/** @lends instance.web.search.DateField# */{
|
|||||||
return $.when(null);
|
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); }
|
if (!m.isValid()) { return $.when(null); }
|
||||||
var d = m.toDate();
|
var d = m.toDate();
|
||||||
var date_string = formats.format_value(d, this.attrs);
|
var date_string = formats.format_value(d, this.attrs);
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user