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': { }, }
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1076
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jul 24
|
332 | ||
|
1
Jun 24
|
717 | ||
|
1
Jun 24
|
417 | ||
|
2
Jun 24
|
1861 | ||
|
1
Jun 24
|
516 |