[bug 946695] Use document.get_products() instead of document.products.all().