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.

26 lines
715 B

  1. /**
  2. Copyright (C) 2015 - 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_place.chrome', function (require) {
  7. "use strict";
  8. var chrome = require('point_of_sale.chrome');
  9. var pos_place_widget = require('pos_place.widgets');
  10. chrome.Chrome.include({
  11. init: function () {
  12. this.widgets.push({
  13. 'name': 'place_name',
  14. 'widget': pos_place_widget.PlaceNameWidget,
  15. 'replace': '.placeholder-PlaceNameWidget',
  16. });
  17. return this._super(arguments[0], {});
  18. },
  19. });
  20. });