fix: handover serializer bug2
This commit is contained in:
parent
67ca07bb35
commit
59b8634d3e
|
@ -356,7 +356,7 @@ class HandoverSerializer(CustomModelSerializer):
|
|||
class Meta:
|
||||
model = Handover
|
||||
fields = '__all__'
|
||||
read_only_fields = EXCLUDE_FIELDS + ["batch", "material", "send_dept", "mlog"]
|
||||
read_only_fields = EXCLUDE_FIELDS + ["mlog"]
|
||||
extra_kwargs = {
|
||||
"wm": {"required": True},
|
||||
"recive_mgroup": {"required": False}
|
||||
|
|
Loading…
Reference in New Issue