def METHOD_NAME(self):
    """Test whether the sale order line has a bom_id attached to it and the
    MO created from the order uses the bom stored on the order line"""
    conf = [
        "gasoline",
        "228i",
        "model_luxury_line",
        "silver",
        "rims_384",
        "tapistry_black",
        "steptronic",
        "smoker_package",
        "tow_hook",
    ]
    attr_val_ids = set(self.get_attr_val_ids(conf))
    field_prefix = self.cfg_wizard._prefixes["field_prefix"]
    while self.cfg_wizard:
        state = self.cfg_wizard.state
        self.cfg_wizard.action_next_step()
        if self.cfg_wizard.state == state:
            break
        step_id = int(self.cfg_wizard.state)
        cfg_step = self.cfg_tmpl.config_step_line_ids.filtered(
            lambda cfg_step: cfg_step.id == step_id
        )
        attr_lines = cfg_step.mapped("attribute_line_ids")
        vals = {}
        for attr_line in attr_lines:
            attr_vals = attr_line.value_ids.filtered(
                lambda attr_val: attr_val.id in attr_val_ids
            )
            for attr_val in attr_vals:
                attribute_id = attr_val.attribute_id.id
                field_name = field_prefix + str(attribute_id)
                if attr_line.multi:
                    if field_name not in vals:
                        vals[field_name] = [(0, 0, [])]
                    vals[field_name][0][2].append(attr_val.id)
                else:
                    vals.update(
                        {
                            field_name: attr_val.id,
                        }
                    )
        self.cfg_wizard.write(vals)
    order_line = self.sale_order_id.order_line.filtered(lambda x: x.config_ok)
    bom = order_line.bom_id
    self.assertTrue(bom, "Sale order line has no bom linked")
    bom.copy()
    bom.sequence = 10
    self.sale_order_id.action_confirm()
    production_order = order_line.move_ids.created_production_id
    self.assertTrue(
        production_order,
        "There was no production order created after sales " "order confirmation",
    )
    self.assertTrue(
        production_order.bom_id == bom,
        "Manufacturing order does not use the bom_id stored "
        "on the sale order line",
    )