[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:
parent
4ac212db2a
commit
4ef9edaed1
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = '2.2'
|
||||
__version__ = '2.3'
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue