Use clear cache after a commit
issue8449 review281731002
This commit is contained in:
1 parent
8c66472645
commit
ada14cdfc4
1 file changed
+2
@@ -201,6 +201,8 @@ class InvoiceChorus(ModelSQL, ModelView, _SyntaxMixin, metaclass=PoolMeta):
|
||||
])
|
||||
|
||||
for record in records:
|
||||
# Use clear cache after a commit
|
||||
record = cls(record.id)
|
||||
with Transaction().set_context(**record._send_context()):
|
||||
payload = record.get_payload()
|
||||
resp = Credential.post('factures/deposer/flux', payload)
|
||||
|
||||
Reference in new issue
Block a user