swap @s for _s in code
This commit is contained in:
parent
a9b341076a
commit
6546332fe5
|
@ -596,6 +596,8 @@ class Trade(ActionWithMultipleDevices):
|
||||||
txt = "you need a code to be able to do the traceability"
|
txt = "you need a code to be able to do the traceability"
|
||||||
raise ValidationError(txt)
|
raise ValidationError(txt)
|
||||||
|
|
||||||
|
data['code'] = data['code'].replace('@', '_')
|
||||||
|
|
||||||
|
|
||||||
class InitTransfer(Trade):
|
class InitTransfer(Trade):
|
||||||
__doc__ = m.InitTransfer.__doc__
|
__doc__ = m.InitTransfer.__doc__
|
||||||
|
|
Reference in a new issue