Revert last commit 'e7170e4d64b708d6d1adeb88af3e650533507685'
This commit is contained in:
parent
e7170e4d64
commit
0629898c0b
|
@ -71,12 +71,7 @@ class _IssuedInvoiceService(object):
|
|||
_logger.debug(response_)
|
||||
return response_
|
||||
|
||||
def cancel(self, headers, invoices, mapper=None):
|
||||
body = (
|
||||
[mapper.build_delete_request(i) for i in invoices]
|
||||
if mapper
|
||||
else invoices
|
||||
)
|
||||
def cancel(self, headers, body, mapper=None):
|
||||
_logger.debug(body)
|
||||
response_ = self.service.AnulacionLRFacturasEmitidas(
|
||||
headers, body)
|
||||
|
@ -110,12 +105,7 @@ class _RecievedInvoiceService(object):
|
|||
_logger.debug(response_)
|
||||
return response_
|
||||
|
||||
def cancel(self, headers, invoices, mapper=None):
|
||||
body = (
|
||||
[mapper.build_delete_request(i) for i in invoices]
|
||||
if mapper
|
||||
else invoices
|
||||
)
|
||||
def cancel(self, headers, body, mapper=None):
|
||||
_logger.debug(body)
|
||||
response_ = self.service.AnulacionLRFacturasRecibidas(
|
||||
headers, body)
|
||||
|
|
Loading…
Reference in New Issue