Edit order button


I can edit an order using button above order list, see image 1 below, but not when viewing the same order, see image2 below. This is a problem because when I search for a full order number and click order I will view order.

How can i enable edit button both above list and when viewing order?

Litium version: 7.3.1-patch-1911150957

The reason for this was that I forgot to add propertyMetaInfoBuilder.SetEntityEditable((short)OrderState.Attention, true);

After adding this I can edit when viewing order, seems to be a bug in order list, allowing me to edit an order even without code above.