how to set a different message for an email template in odoo?
问题 I created a custom module and had used the calendar object to create an event and the code is as follows def create_calender_event(self,cr,uid,ids,context=None): calendar_obj = self.pool.get('calendar.event') for rec in self.browse(cr,uid,ids,context=context): if rec.action: for rec_res in rec.action: calendar_obj.create(cr,uid,{'name' : rec_res.act_ion, 'user_id' : rec_res.asgnd_to.id, 'start_date' : rec_res.due_date, 'stop_date' : rec_res.due_date, 'allday' : True, 'partner_ids' : [(6,0,