DF#QCADOOMES-2218 masterOrder: fix ISE when switching betwen master order types + add missing field nullification
Merge branch 'dev' of github.com:qcadoo/mes into dev
DF#QCADOOMES-2218 masterOrders: lock type of master order if contains any order