swap @s for _s in code

This commit is contained in:
Cayo Puigdefabregas 2021-06-07 16:04:33 +02:00
parent a9b341076a
commit 6546332fe5
1 changed files with 2 additions and 0 deletions

View File

@ -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__