Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] l10n_uy_edi: improve message Update from DGI #247

Draft
wants to merge 1 commit into
base: 16.0
Choose a base branch
from
Draft
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
6 changes: 5 additions & 1 deletion l10n_uy_edi/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ def action_l10n_uy_get_data_from_dgi(self):
# removerlo siempre del values
values.pop('street_number')
else:
raise UserError(_('No se pudo conectar a DGI para extraer los datos'))
raise UserError(_('No puede obtener datos de DGi. Puede ser que el servicio del Padron este caido o haya algun problema'
' particular con el RUT a consultar. Por favor verifique primero que el RUT que esta intentando '
'consultar es un emisor electronico (esta consulta al padron solo funciona para emisores electronicos).'
'\n\nSi el contacto es emisor electronico y sigue teniendo problemas por favor avisar via ticket a'
' ADHOC para revisar el caso particular'))
else:
raise UserError(_('Solo puede consultar si el partner tiene tipo de identificación RUT'))

Expand Down