From b9fe8c0cb99509e0ebb164168439df2499f081ce Mon Sep 17 00:00:00 2001 From: "alnus@disroot.org" Date: Tue, 8 Sep 2020 20:12:09 +0000 Subject: [PATCH] cambia menor para fix faj11 y faj12 FossilOrigin-Name: 87ea7e0c5f6b60751d0abea87bb3ec8bb94a39fa9eb2b4a1a61f5b6cd60f7a9d --- facho/fe/form.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/facho/fe/form.py b/facho/fe/form.py index 5929258..46a76bb 100644 --- a/facho/fe/form.py +++ b/facho/fe/form.py @@ -331,10 +331,10 @@ class DIANInvoiceXML(fe.FeXML): fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cbc:ID', invoice.invoice_supplier.address.city) #DIAN 1.7.-2020: FAJ11 - fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cac:Country/cbc:CountrySubentity', + fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cbc:CountrySubentity', invoice.invoice_supplier.address.countrysubentity.name) #DIAN 1.7.-2020: FAJ12 - fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cac:Country/cbc:CountrySubentityCode', + fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cbc:CountrySubentityCode', invoice.invoice_supplier.address.countrysubentity.code) #DIAN 1.7.-2020: FAJ14 fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cac:AddressLine/cbc:Line',