in the whole process. This was raising some glitch when product.template and produc.product doesn't have the same id. issue encountered on a demo database.