-
Notifications
You must be signed in to change notification settings - Fork 3
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
Nfe 4.00 - Odoo 8.0 - OCA #17
base: fix/nfe_4.00
Are you sure you want to change the base?
Conversation
@@ -946,7 +946,8 @@ def get_xml(self): | |||
for d in self.detPag: | |||
xml += d.xml | |||
|
|||
xml += self.vTroco.xml | |||
if self.vTroco.valor: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mesmo enviando a tag vTroco em branco ( '' ) o PySPED parece preencher o campo com 0.00 150.000.00</
vTroco> e ao enviar a TAG dessa forma a SEFAZ retorna erro 869 - Mensagem Rejeição: Valor do troco incorreto - Status Recebido Retorno
@@ -1348,7 +1349,7 @@ def set_xml(self, arquivo): | |||
self.transp.xml = arquivo | |||
self.cobr.xml = arquivo | |||
|
|||
self.pag = self.le_grupo('//NFe/infNFe/pag', Pag) | |||
self.pag.xml = arquivo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Por algum motivo que não consegui identificar, da forma que era feito antes o programa parecia chamar duas vezes a função e na segunda não encontrava a TAG retornando erro
Parece existir um problema na hora do envio da NFe relacionado ao atraso (delay) necessário para a consulta da nota, já que depois do envio o programa deveria esperar alguns segundos para permitir o processamento da nota pela SEFAZ, evitando o erro que aparece na imagem abaixo
|
ola @mileo estou criando esse PR apenas para que seja possível analisar separadamente as alterações que estão sendo necessárias para emissão da NFe 4.00 na localização versão 8.0 da OCA e assim tentarmos manter uma compatibilidade enquanto usamos essa biblioteca