[FIX] MO: change required conditions on bom_id

on mrp.production form view, bom_id field may be
not required on after draft states.
If the linked BOM is deleted, it avoids to block
the MO usage with the following message:
The following fields are invalid: Bill of Material

linked to https://github.com/odoo/odoo/issues/3417