Currently there is a button to create a new production order and a button to create a new batch order. When you select production order and you enter a formula item it gives you the message that it is not possible to create a production order with a formula item and vica versa.

It must be a simple modification to have only one button to create a new order and based on the selected item continue the flow accordingly.

A simple modification, but much more user friendly I think.