If AMO order is the only one allowed after market close, why not disable all the other invalid options after market hours?
There are many such super simplifying opportunities in kite that will help us trade more that generates more revenue to zerodha
My basic programing knowledge would come up with over simplified pseudo code:
If form = commodity form{
use commodity form
} if form = equity{
use equity
}.
Suitable design patterns (strategy pattern?) if applied here, it is easy.