[FIX] wrong flavor argument passed by generate_facturx_from_file() to generate_from_file()

Bump version number to 2.3
This commit is contained in:
Alexis de Lattre 2021-04-12 19:13:04 +02:00 committed by Nicolas ROCHE
parent 4ac212db2a
commit 4ef9edaed1
3 changed files with 6 additions and 2 deletions

View File

@ -89,6 +89,10 @@ Contributors
Changelog
=========
* Version 2.3 dated 2021-04-12
* Fix wrong flavor argument passed by generate_facturx_from_file() to generate_from_file()
* Version 2.2 dated 2021-04-08
* Make method generate_from_binary() accessible via the lib

View File

@ -1 +1 @@
__version__ = '2.2'
__version__ = '2.3'

View File

@ -954,7 +954,7 @@ def generate_facturx_from_file(
"The argument additional_attachments is not supported "
"any more. Use the attachments arg instead.")
return generate_from_file(
pdf_file, facturx_xml, flavor='order-x', level=facturx_level,
pdf_file, facturx_xml, flavor='factur-x', level=facturx_level,
check_xsd=check_xsd, pdf_metadata=pdf_metadata,
output_pdf_file=output_pdf_file,
attachments=attachments, lang=lang)