0

I'm following the instructions to set up Order Fulfillment States as per Working with state fields but when I attempt to add a new State Field the states specified in my module.workflows.yml aren't showing up as options to set the Default state. I'm not getting any errors, and I ran my yml through ChatGPT to check it.

Here's my yaml.

  id:  teflfill_order_item_fulfillment
  group: teflfill_order_item
  label: 'Order item fulfillment'
  states:
    unfilled:
      label: 'Not filled'
    filled:
      label: Filled
    backordered:
      label: Backordered
  transitions:
    fill:
      label: 'Fill item'
      from: [unfilled, backordered]
      to: filled
    unfill:
      label: 'Un-fill item'
      from: [filled]
      to:   unfilled
    backorder:
      label: 'Backorder item'
      from: [unfilled]
      to: backordered

None showing in state options

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.