Merge pull request #137 from expsa/abuzar_account_tasks

[FIX] fix payment chatter
This commit is contained in:
AbuzarExp 2024-07-09 14:24:56 +03:00 committed by GitHub
commit 3013121b76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ class AccountPayment(models.Model):
@api.model
def _get_tracked_fields(self):
fields = self.fields_get()
dels = [f for f in fields if f in models.LOG_ACCESS_COLUMNS or f.startswith('_') or f == 'id']
dels = [f for f in fields if f in models.LOG_ACCESS_COLUMNS or f.startswith('_') or f == 'id' or f == 'string_to_hash']
for x in dels:
del fields[x]
return set(fields)