If you want to compare two Bill of Materials not linked to the same product, you can override the `_domain_bom_id` method from the `wizard.mrp.bom.comparison` wizard.