Issue #3429385 by fathershawn: Drupal 11 compatibility and deprecation fixes for commerce_purchase_order
Related to #3429385