[FIX] mrp: better selection of bom

When searching for a bom based on a product.product, the method used to return any bom linked to the template (bom for variant as well).
This will allow to return bom not linked to a variant without returning the one of another variant (opw 609358)