Skip to content

Commit

Permalink
[FIX] Product description overwriting NCM (#223)
Browse files Browse the repository at this point in the history
* [FIX] Product description overwriting ncm

* [VERSION] Increments
  • Loading branch information
marinaGD authored and danimaribeiro committed Mar 28, 2019
1 parent 391dd1a commit 710490d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pytrustnfe/nfe/danfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ def __init__(self, sizepage=A4, list_xml=None, recibo=True,
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)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup, find_packages


VERSION = "1.0.34"
VERSION = "1.0.35"


setup(
Expand Down

0 comments on commit 710490d

Please sign in to comment.