export: add xrechnung 2.3 + 3.0 + tests against xsd
This commit is contained in:
parent
253cc01045
commit
5171cbae09
7 changed files with 762 additions and 10 deletions
|
@ -123,7 +123,7 @@ class Invoice(Invoice):
|
|||
def _get_template(self, version):
|
||||
""" load our own template if 'version' is ours
|
||||
"""
|
||||
if version == 'XRechnung-2.2':
|
||||
if version in ['XRechnung-2.2', 'XRechnung-2.3', 'XRechnung-3.0']:
|
||||
loader = genshi.template.TemplateLoader(
|
||||
os.path.join(os.path.dirname(__file__), 'template'),
|
||||
auto_reload=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue