Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion l10n_uy_edi/models/l10n_uy_cfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,8 @@ def l10n_uy_get_l10n_uy_received_bills(self):
root = self.l10n_uy_vendor_create_xml_root(response_610, l10n_uy_idreq)
# Check if internal_type is not purchase
# Only implemented for vendor bills and vendor refunds
if 'in_' in self.l10n_uy_get_cfe_document_type(root)._get_move_type():
move_type = self.l10n_uy_get_cfe_document_type(root)._get_move_type()
if move_type and 'in_' in move_type:
self.l10n_uy_create_cfe_from_xml(company, root, transport, l10n_uy_idreq, response_610, journal)
Comment thread
pablohmontenegro marked this conversation as resolved.
except Exception as exp:
_logger.warning('Encontramos un error al momento de sincronizar comprobantes de proveedor de la compañía: %s (id: %d): %s' % (company.name, company.id, str(exp)))
Expand Down
Loading