forked from elmau/empresa-libre
Fix get version in PDF nomina
This commit is contained in:
parent
51e2464141
commit
0e881eb17a
|
@ -8977,7 +8977,7 @@ class CfdiNomina(BaseModel):
|
||||||
return obj.xml, name
|
return obj.xml, name
|
||||||
|
|
||||||
def _get_not_in_xml(self, invoice, emisor):
|
def _get_not_in_xml(self, invoice, emisor):
|
||||||
values = {'is_nomina': True}
|
values = {'is_nomina': True, 'el.version': VERSION_EMPRESA_LIBRE}
|
||||||
|
|
||||||
if invoice.version == '3.2':
|
if invoice.version == '3.2':
|
||||||
return values
|
return values
|
||||||
|
|
Loading…
Reference in New Issue