diff --git a/odex30_base/whatsapp_mail_messaging/wizard/wh_message_wizard.py b/odex30_base/whatsapp_mail_messaging/wizard/wh_message_wizard.py index 96cec17..465339b 100644 --- a/odex30_base/whatsapp_mail_messaging/wizard/wh_message_wizard.py +++ b/odex30_base/whatsapp_mail_messaging/wizard/wh_message_wizard.py @@ -30,6 +30,7 @@ class WhatsappSendMessage(models.TransientModel): mobile = fields.Char(required=True, string="Contact Number") message = fields.Text(string="Message", required=True) image_1920 = fields.Binary(readonly=1) + user_id = fields.Many2one('res.users', string='User', default=lambda self: self.env.user) @api.onchange('partner_id') def _onchange_partner_id(self):