|
@ -29,7 +29,7 @@ odoo.define("pos_mail_receipt.screens", function (require) { |
|
|
if( this.pos.get_order().get_client() && this.pos.get_order().get_client().email ) { |
|
|
if( this.pos.get_order().get_client() && this.pos.get_order().get_client().email ) { |
|
|
self._send_email_server(this.pos.get_order(), {"email": this.pos.get_order().get_client().email}); |
|
|
self._send_email_server(this.pos.get_order(), {"email": this.pos.get_order().get_client().email}); |
|
|
} else { |
|
|
} else { |
|
|
this.gui.show_popup('textarea', { |
|
|
|
|
|
|
|
|
this.gui.show_popup('textinput', { |
|
|
'title':_t('E-mail address to use'), |
|
|
'title':_t('E-mail address to use'), |
|
|
'value': '', |
|
|
'value': '', |
|
|
'confirm': function(value) { |
|
|
'confirm': function(value) { |
|
|