Closed dixgrake closed 5 years ago
File "/opt/custom/dgii-reports-legacy/models/dgii_report.py", line 813, in generate_txt_files
company_fiscal_identificacion = re.sub(u"[^0-9]", "", self.company_id.vat)
File "/usr/lib/python3.6/re.py", line 191, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
Este error es producido porque la compañía no tiene RNC asignado.
Impacted versions
Steps to reproduce
Current behavior
Expected behavior
Video/Screenshot link (optional)