diff --git a/addons/sms/static/src/components/sms_button/sms_button.js b/addons/sms/static/src/components/sms_button/sms_button.js index b99790dfea8..b1ecc30d17e 100644 --- a/addons/sms/static/src/components/sms_button/sms_button.js +++ b/addons/sms/static/src/components/sms_button/sms_button.js @@ -10,7 +10,8 @@ export class SendSMSButton extends Component { this.user = useService("user"); this.title = this.env._t("Send SMS Text Message"); } - onClick() { + async onClick() { + await this.props.record.save(); this.action.doAction({ type: "ir.actions.act_window", target: "new",