Skip to Content
Menu
This question has been flagged
1076 Views
def send_sms(self):
    # Return the mass mailing SMS form view
    return {'name': 'Sms after product creation',
    'view_mode': 'form',
    'view_type':'form',
    'views': [(self.env.ref('mass_mailing_sms.mailing_mailing_view_form_sms').id,
    'form')],'view_id' : self.env.ref('mass_mailing_sms.mailing_mailing_view_form_sms').id,
    'res_model': 'mailing.mailing',
    'type': 'ir.actions.act_window',
    'target': 'current',
    'context': { }, }
Avatar
Discard
Related Posts Replies Views Activity
1
Jul 24
332
1
Jun 24
717
1
Jun 24
417
2
Jun 24
1861
1
Jun 24
516