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_ar_edi_ux: Add test_update_from_afip #449

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

zaoral
Copy link
Contributor

@zaoral zaoral commented Sep 25, 2024

No description provided.

@roboadhoc
Copy link
Contributor

@zaoral
Copy link
Contributor Author

zaoral commented Sep 25, 2024

We can not merge because some errors in runbot.
external error of other module.
checking https://runbot.adhoc.com.ar/runbot/batch/59352/build/77702

More info:
2024-09-25 12:18:36,518 9 INFO 77657-17-0-all odoo.modules.loading: Loading module account_payment_term_surcharge (250/577)
2024-09-25 12:24:14,033 9 INFO 77657-17-0-all odoo.modules.loading: Loading module product_planned_price (427/577)

@zaoral
Copy link
Contributor Author

zaoral commented Sep 25, 2024

https://runbot.adhoc.com.ar/runbot/batch/59365/build/77730

Traceback (most recent call last):
  File "/data/build/ingadhoc-odoo-argentina-ee/l10n_ar_edi_ux/tests/test_update_from_afip.py", line 19, in testmonotributo
    res_id = contacto.button_update_partner_data_from_afip()['res_id']
  File "/data/build/ingadhoc-odoo-argentina-ee/l10n_ar_edi_ux/models/res_partner.py", line 15, in button_update_partner_data_from_afip
    wiz.change_partner()
  File "/data/build/ingadhoc-odoo-argentina-ee/l10n_ar_edi_ux/wizards/res_partner_update_from_padron_wizard.py", line 132, in change_partner
    partner_vals = partner.get_data_from_padron_afip()
  File "/data/build/ingadhoc-odoo-argentina-ee/l10n_ar_edi_ux/models/res_partner.py", line 37, in get_data_from_padron_afip
    client, auth = company._l10n_ar_get_connection('ws_sr_constancia_inscripcion')._get_client()
  File "/data/build/adhoc-cicd-odoo-enterprise/l10n_ar_edi/models/res_company.py", line 138, in _l10n_ar_get_connection
    token_data = connection._l10n_ar_get_token_data(self, afip_ws)
  File "/data/build/adhoc-cicd-odoo-enterprise/l10n_ar_edi/models/l10n_ar_afipws_connection.py", line 205, in _l10n_ar_get_token_data
    return self._l10n_ar_process_connection_error(error, environment_type, afip_ws)
  File "/data/build/adhoc-cicd-odoo-enterprise/l10n_ar_edi/models/l10n_ar_afipws_connection.py", line 169, in _l10n_ar_process_connection_error
    raise UserError(error_msg)
odoo.exceptions.UserError: There was a problem with the connection to the ws_sr_constancia_inscripcion webservice: BlockedRequest('External requests verboten (was GET https://wsaahomo.afip.gov.ar/ws/services/LoginCms?WSDL)')
Please report this error to your Odoo provider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants