ingadhoc/odoo-argentina-ee#681
Created by Katherine Zaoral - kz (#l10n)
Blocked
- Merge method
- Review
-
CI
- ci/runbot-oba
- ci/runbot-modified-modules: (runtime 1s)
- mergebot/pre-commit
- label
- adhoc-dev:18.0-h-98418-kz
- head
- 29ee0aa5fa96e58cb296bffac232d3b3179c1d4c
| ingadhoc/odoo-argentina-ee | |
|---|---|
| 18.0 | #681 missing statuses missing r+ |
| 19.0 |
[ADD] l10n_ar_edi_ux, l10n_ar_currency_update: Re use AFIP connection
Update From Padron AFIP and "Currency rate sincronization are only working if:
- my logged company has a valid certificate and connection to ws_sr_constancia_inscripcion/wsbe webservice
- my logged company has not certificate and there is only ONE other company with certificate and a valid connection to the
wsbe/ws_sr_constancia_inscripcion webservices.
This PR changes the logic to always try to find a company that actually can connect to the webserive and use that one in order
to connect to AFIP, avoiding trying to connect with an invalid connection which results on not working padron an rate syncronization (mostly silence errors)