You can't set 'Options' for field Order Type

1)when I am adding new option for order_type in customization form of sales order then I am getting error –You can't set 'Options' for field Order Type

2)when I am trying to cancel sales order ya sales invoice ,any of one…then i am getting error .


1 Like

Hi @ERP11,

I can’t add an option in Order Type because some methods are called in py and also some if-else conditions apply.

check it, please.

In js:

In py:

[Edit]
Otherwise added a new custom field and set an option your according.

Thanks.

@NCP Okay thanks…i will check.

I just tried this and having the same issue. Any resolution on this?