[MERGE] forward port branch saas-11.3 up to 372ecf4c09

This commit is contained in:
Christophe Simonis
2019-04-09 20:38:23 +02:00
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ from odoo.addons.calendar.models.calendar import get_real_ids
class Partner(models.Model):
_inherit = 'res.partner'
calendar_last_notif_ack = fields.Datetime('Last notification marked as read from base Calendar')
calendar_last_notif_ack = fields.Datetime('Last notification marked as read from base Calendar', default=fields.Datetime.now)
@api.multi
def get_attendee_detail(self, meeting_id):
+3
View File
@@ -97,6 +97,9 @@ if(!the_form.length) {
}
// checkboxes and radios
the_form.find("input[name^='" + key + "_'][type='checkbox']").each(function(){
$(this).val(value);
});
the_form.find("input[name=" + key + "][type!='text']").each(function(){
$(this).val(value);
});