You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
547 B

  1. /*
  2. Copyright (C) 2020-Today GRAP (http://www.grap.coop)
  3. @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  5. */
  6. odoo.define('pos_customer_display.gui', function (require) {
  7. "use strict";
  8. var gui = require('point_of_sale.gui');
  9. gui.Gui.include({
  10. close: function(){
  11. this.pos.proxy.send_text_customer_display(
  12. this.pos.proxy.prepare_message_close()
  13. );
  14. return this._super();
  15. },
  16. });
  17. });