From 19abe9fc89e55f2bd74e6cfc5730d6ead8dfb164 Mon Sep 17 00:00:00 2001 From: maiconkkl Date: Tue, 2 Jul 2019 00:33:01 -0300 Subject: [PATCH] =?UTF-8?q?Criando=20parametros=20para=20conting=C3=AAncia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Foi criado no template de autorização de NF-e o parametros: dhCont = Data que o sistema entrou em contingência; xJust = O motivo do sistema ter entrado em contingência. E foi alterado versão --- pytrustnfe/nfe/templates/NfeAutorizacao.xml | 4 ++++ setup.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pytrustnfe/nfe/templates/NfeAutorizacao.xml b/pytrustnfe/nfe/templates/NfeAutorizacao.xml index 0eb2e3c..84dc8f5 100644 --- a/pytrustnfe/nfe/templates/NfeAutorizacao.xml +++ b/pytrustnfe/nfe/templates/NfeAutorizacao.xml @@ -28,6 +28,10 @@ {{ ide.indPres }} {{ ide.procEmi }} Odoo Brasil 10 + {% if ide.tpEmis != 1 %} + {{ ide.dhCont }} + {{ ide.xJust }} + {% endif %} {% if ide.NFref is defined -%} {% for ref in ide.NFref %} diff --git a/setup.py b/setup.py index 84578c5..9bb22a2 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages -VERSION = "1.0.40" +VERSION = "1.0.41" setup(