Do not try to update status of Peppyrus document without transmission ID
Closes #14998 (grafted from 27108e7beebfb2c68b9caad5add3456310fe9c9f) --HG-- branch : 8.0
This commit is contained in:
@@ -190,6 +190,8 @@ class PeppolService(metaclass=PoolMeta):
|
||||
@peppyrus_api
|
||||
def _update_status_peppyrus(self, document):
|
||||
assert document.direction == 'out'
|
||||
if not document.transmission_id:
|
||||
return
|
||||
response = requests.get(
|
||||
urljoin(
|
||||
URLS[self.peppyrus_server],
|
||||
|
||||
Reference in New Issue
Block a user