add selection for factur-x

This commit is contained in:
Frederik Jaeckel 2024-12-05 17:32:40 +01:00
parent 4cceb26875
commit 3385e55c63
5 changed files with 22 additions and 2 deletions

View file

@ -46,6 +46,14 @@ msgctxt "selection:account_invoice_xrechnung.runrep.start,edocument:"
msgid "CII CrossIndustryInvoice D16B"
msgstr "CII CrossIndustryInvoice D16B"
msgctxt "selection:account_invoice_xrechnung.runrep.start,edocument:"
msgid "Factur-X Extended"
msgstr "Factur-X Extended"
msgctxt "selection:account_invoice_xrechnung.runrep.start,edocument:"
msgid "ZUGFeRD 2.3.2"
msgstr "ZUGFeRD 2.3.2"
msgctxt "field:account_invoice_xrechnung.runrep.start,as_zip:"
msgid "ZIP-File"
msgstr "ZIP-Datei"

View file

@ -38,6 +38,14 @@ msgctxt "selection:account_invoice_xrechnung.runrep.start,edocument:"
msgid "CII CrossIndustryInvoice D16B"
msgstr "CII CrossIndustryInvoice D16B"
msgctxt "selection:account_invoice_xrechnung.runrep.start,edocument:"
msgid "Factur-X Extended"
msgstr "Factur-X Extended"
msgctxt "selection:account_invoice_xrechnung.runrep.start,edocument:"
msgid "ZUGFeRD 2.3.2"
msgstr "ZUGFeRD 2.3.2"
msgctxt "field:account_invoice_xrechnung.runrep.start,as_zip:"
msgid "ZIP-File"
msgstr "ZIP-File"

View file

@ -38,7 +38,7 @@ with open(path.join(here, 'versiondep.txt'), encoding='utf-8') as f:
major_version = 7
minor_version = 0
requires = ['python-slugify']
requires = ['python-slugify', 'pypdf', 'factur-x']
for dep in info.get('depends', []):
if not re.match(r'(ir|res|webdav)(\W|$)', dep):
if dep in modversion.keys():

View file

@ -1 +1 @@
edocument_xrechnung;7.0.3;7.0.999;mds
edocument_xrechnung;7.0.5;7.0.999;mds

View file

@ -15,6 +15,8 @@ sel_edocument = [
('edocument.xrechnung.invoice-2.2', 'XRechnung UBL Invoice 2.2'),
('edocument.xrechnung.invoice-2.3', 'XRechnung UBL Invoice 2.3'),
('edocument.xrechnung.invoice-3.0', 'XRechnung UBL Invoice 3.0'),
('edocument.facturxext.invoice', 'Factur-X Extended'),
('edocument.facturxext.invoice-ferd', 'ZUGFeRD 2.3.2'),
('edocument.uncefact.invoice', 'CII CrossIndustryInvoice D16B'),
]
@ -22,6 +24,8 @@ edoc_versions = {
'edocument.xrechnung.invoice-2.2': 'XRechnung-2.2',
'edocument.xrechnung.invoice-2.3': 'XRechnung-2.3',
'edocument.xrechnung.invoice-3.0': 'XRechnung-3.0',
'edocument.facturxext.invoice': 'Factur-X-1.07.2-extended',
'edocument.facturxext.invoice-ferd': 'Factur-X-1.07.2-extended',
'edocument.uncefact.invoice': '16B-CII'}