Merge pull request #3654 from expsa/dev_odex25_accounting

Dev odex25 accounting
This commit is contained in:
ahmed-nouri051 2025-06-26 14:30:52 +02:00 committed by GitHub
commit 58c6745a6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,9 @@ 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_all()
self.env.invalidate_cache()
for payment in self: