Browse Source

[FIX] Change size of item description to not overwrite ncm information

pull/125/head
marinaGD 7 years ago
committed by Danimar Ribeiro
parent
commit
f831a8cd7c
  1. 4
      pytrustnfe/nfe/danfe.py
  2. 3
      setup.py

4
pytrustnfe/nfe/danfe.py

@ -159,9 +159,9 @@ class danfe(object):
infAdProd = item.find(
".//{http://www.portalfiscal.inf.br/nfe}infAdProd")
list_ = wrap(tagtext(oNode=el_prod, cTag='xProd'), 56)
list_ = wrap(tagtext(oNode=el_prod, cTag='xProd'), 50)
if infAdProd is not None:
list_.extend(wrap(infAdProd.text, 56))
list_.extend(wrap(infAdProd.text, 50))
list_desc.append(list_)
list_cProd = wrap(tagtext(oNode=el_prod, cTag='cProd'), 14)

3
setup.py

@ -1,7 +1,8 @@
# coding=utf-8
from setuptools import setup, find_packages
VERSION = "0.1.53"
VERSION = "0.1.54"
setup(
name="PyTrustNFe",

Loading…
Cancel
Save