parameters: (self)
docstring: Ensure there is at most one active variant for each combination.
  
          There could be no variant for a combination if using dynamic attributes.
docstring_summary: Ensure there is at most one active variant for each combination.
docstring_tokens: Ensure there is at most one active variant for each combination .
function: def init(self):
          """Ensure there is at most one active variant for each combination.
  
          There could be no variant for a combination if using dynamic attributes.
          """
          self.env.cr.execute("CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON %s (product_tmpl_id, combination_indices) WHERE active is true"
              % self._table)
function_tokens: def init ( self ) : self . env . cr . execute ( "CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON %s (product_tmpl_id, combination_indices) WHERE active is true" % self . _table )