Merge pull request #3655 from expsa/fix-bug-accounting

cash
This commit is contained in:
ahmed-nouri051 2025-06-26 14:54:46 +02:00 committed by GitHub
commit cdafe95f1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ class AccountPayment(models.Model):
if self.payment_type == 'outbound':
self._check_permission('odex25_account_payment_fix.group_posted')
res = super(AccountPayment, self).action_post()
self.env.invalidate_cache()
self.env.invalidate_all()
for payment in self: