diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-03 10:10:16 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-03 10:10:16 +0700 |
| commit | 9eb80e0aad8966c42fa721738986737b4040e0e4 (patch) | |
| tree | 003fc22c5a20df26d31c6a9bf0b1684ca07adb3f /indoteknik_api/models/rest_api.py | |
| parent | 37329585403b7c47406234677fd1a844360284ff (diff) | |
[ADD] feature download invoice
Diffstat (limited to 'indoteknik_api/models/rest_api.py')
| -rw-r--r-- | indoteknik_api/models/rest_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/models/rest_api.py b/indoteknik_api/models/rest_api.py index 2c54769e..052800b7 100644 --- a/indoteknik_api/models/rest_api.py +++ b/indoteknik_api/models/rest_api.py @@ -14,4 +14,4 @@ class RestApi(models.TransientModel): return time def md5_salt(self, value, salt): - return hashlib.md5((salt + str(value)).encode()).hexdigest()
\ No newline at end of file + return hashlib.md5((salt + '$' + str(value)).encode()).hexdigest()
\ No newline at end of file |
