Conversation
609369e to
6fbd3e3
Compare
4cb1a84 to
ac9e01f
Compare
ac9e01f to
f8f4fde
Compare
f8f4fde to
802b72b
Compare
|
ping @mileo @antoniospneto @rvalyi @CristianoMafraJunior Aproveitamos a mudança de layout de barueri e ajustamos totalmente o codigo para de fato funcionar (a principio barueri em termos gerais foi uma copia do mal feita do ginfes e não estava funcionando.. erpbrasil.edoc, nfselib.barueri e o modulo do odoo l10n_br_nfse_barueri) |
|
Pessoal, nao parei para ver os erros do build.. mas se for o "normal" do momento ai nem vou olhar mesmo hehehe |
|
@ygcarvalh pode publicar a lib ta na sua conta. E aproveita e adiciona eu e o @marcelsavegnago https://github.com/erpbrasil/erpbrasil.base/wiki Eu já dei push nas tags, vc não vai precisar fazer tudo que ta descrito acima, somente:
|
a que está no nome do Ygor é a nfselib.barueri.. certo ? |
This pull request makes significant updates to the Barueri NFSe provider integration, focusing on improving service coverage, request/response handling, and code consistency. The main changes include adding support for batch download operations, refactoring request preparation and response analysis, and updating the process flow for synchronous document submission.
Barueri provider improvements and new features:
baixar_lote_rps(batch download) operation, including the corresponding service registration and request preparation method (_prepara_baixar_lote_rps). Also added thebaixar_lote_rpsmethod to handle posting the request and receiving the response. [1] [2] [3]NFeLoteStatusArquivo.NFeLoteStatusArquivoinstead of older request structures).Response handling and analysis:
analisa_retorno_consultamethod to handle the new response format, providing clearer status messages and error handling based on the Barueri provider's codes and messages._verifica_resposta_envio_sucessoand_edoc_situacao_em_processamentomethods to use the new response attributes (ProtocoloRemessaandListaNfeArquivosRPS.SituacaoArq).Process flow and infrastructure:
processar_documento) to include receipt querying and pass the receipt process tomonta_processofor synchronous submissions, ensuring complete process information is available._postandanalisar_retornomethods to streamline SOAP request/response handling, making the code more maintainable and consistent with other providers.