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.

12 lines
365 B

  1. odoo.define('product_click_search_reset', function (require) {
  2. "use strict";
  3. var screens = require('point_of_sale.screens');
  4. screens.ProductScreenWidget.include({
  5. click_product: function (product) {
  6. var self = this;
  7. self._super(product);
  8. self.product_categories_widget.clear_search();
  9. },
  10. });
  11. });