diff --git a/ereuse_devicehub/resources/action/schemas.py b/ereuse_devicehub/resources/action/schemas.py index dbbc0035..8922f52c 100644 --- a/ereuse_devicehub/resources/action/schemas.py +++ b/ereuse_devicehub/resources/action/schemas.py @@ -596,6 +596,8 @@ class Trade(ActionWithMultipleDevices): txt = "you need a code to be able to do the traceability" raise ValidationError(txt) + data['code'] = data['code'].replace('@', '_') + class InitTransfer(Trade): __doc__ = m.InitTransfer.__doc__