I used the following code to create a new Magento status and it worked fine but I didn't understand the difference between state and status. Can someone explain it better? Why can't I set an order with it?
<global>
<sales>
<order>
<states>
<order_recieved translate="label">
<label>Order Recieved</label>
<statuses>
<order_recieved default="1"/>
</statuses>
<visible_on_front>1</visible_on_front>
</order_recieved>
</states>
</order>
I found it on How do you create a new order state for an order status to be assigned to?