title: Odoo SyntaxError: missing : after property id
body: <p>I am using ODoo 11 and trying to convert odoo 10 module. I am getting SyntaxError: missing : after property id below is the code.</p>
  
  <pre><code>    screens.ProductScreenWidget.include({
          click_product: function(product) {
              if (this.pos.config.custom_discount_product_id &amp;&amp;
                  this.pos.config.custom_discount_product_id[0] == product.id) {
                  this.pos.gui.show_popup('add_discount_product_popup', {
                      product: product,
                      product_options: {}
                  });
              } else {
                  this._super.apply(this, arguments);
              }
          },
      });
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/MxbcH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MxbcH.png" alt="enter image description here"></a></p>