Compare commits
1 commit
ver-6.0.10
...
main
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7d03ec08ad |
9 changed files with 11 additions and 62 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,4 +4,3 @@ dist/*
|
|||
mds_account_invoice_xrechnung.egg-info/*
|
||||
__pycache__/*
|
||||
locale/convert_de2en.py
|
||||
.env
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
Copyright (C) 2015-2025 Cédric Krier.
|
||||
Copyright (C) 2015-2025 B2CK SPRL.
|
||||
Copyright (C) 2021-2025 martin-data services.
|
||||
Copyright (C) 2025 Mathias Behrle <mathiasb@m9s.biz>
|
||||
|
||||
|
|
40
README.rst
40
README.rst
|
@ -9,45 +9,11 @@ pip install mds-account-invoice-xrechnung
|
|||
|
||||
Requires
|
||||
========
|
||||
- Tryton 6.0
|
||||
- Tryton 7.0
|
||||
|
||||
Changes
|
||||
=======
|
||||
|
||||
*6.8.10 - 11.02.2025*
|
||||
*7.0.0 - 22.12.2023*
|
||||
|
||||
- Allow the export of paid invoices. (Mathias Behrle <mathiasb@m9s.biz>)
|
||||
|
||||
*6.0.9 - 28.01.2025*
|
||||
|
||||
- fix: select 1st invoice-report (Mathias Behrle <mathiasb@m9s.biz>)
|
||||
|
||||
*6.0.8 - 12.12.2024*
|
||||
|
||||
- fix: generate pdf if not stored in db
|
||||
- fix: exception on write to invoice
|
||||
|
||||
*6.0.6 - 11.12.2024*
|
||||
|
||||
- re-create invoice-report if not pdf and zugferd-export
|
||||
|
||||
*6.0.5 - 10.12.2024*
|
||||
|
||||
- update tests for iban in xml-export
|
||||
- add: export formats: factur-x, ZUGFeRD, XRechnung 2.3 + 3.0
|
||||
|
||||
*6.0.3 - 30.06.2023*
|
||||
|
||||
- add: credit-note
|
||||
|
||||
*6.0.2 - 20.10.2022*
|
||||
|
||||
- add: msg if invoice is not posted
|
||||
|
||||
*6.0.1 - 20.10.2022*
|
||||
|
||||
- works
|
||||
|
||||
*6.0.0 - 18.10.2022*
|
||||
|
||||
- init
|
||||
- compatiblity to Tryton 7.0
|
||||
|
|
|
@ -17,7 +17,7 @@ class InvoiceLine(metaclass=PoolMeta):
|
|||
cls.unit.states['required'],
|
||||
And(
|
||||
Eval('type') == 'line',
|
||||
Bool(Eval('quantity', None))))
|
||||
cls.unit.depends.extend(['type', 'quantity'])
|
||||
Bool(Eval('quantity'))))
|
||||
cls.unit.depends.update(['type', 'quantity'])
|
||||
|
||||
# end Invoice
|
||||
|
|
5
setup.py
5
setup.py
|
@ -13,7 +13,6 @@ here = path.abspath(path.dirname(__file__))
|
|||
MODULE = 'account_invoice_xrechnung'
|
||||
PREFIX = 'mds'
|
||||
|
||||
# Get the long description from the README file
|
||||
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
|
@ -35,7 +34,7 @@ with open(path.join(here, 'versiondep.txt'), encoding='utf-8') as f:
|
|||
modversion[l2[0]] = {'min': l2[1], 'max': l2[2], 'prefix': l2[3]}
|
||||
|
||||
# tryton-version
|
||||
major_version = 6
|
||||
major_version = 7
|
||||
minor_version = 0
|
||||
|
||||
requires = ['python-slugify', 'pypdf', 'factur-x']
|
||||
|
@ -86,6 +85,8 @@ setup(
|
|||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Programming Language :: Python :: 3.11',
|
||||
'Programming Language :: Python :: 3.12',
|
||||
],
|
||||
|
||||
keywords='tryton account invoice xrechnung edocument',
|
||||
|
|
|
@ -2,18 +2,3 @@
|
|||
# This file is part of the account-invoice-xrechnung-module
|
||||
# from m-ds for Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
import trytond.tests.test_tryton
|
||||
import unittest
|
||||
|
||||
from .test_invoice import InvoiceTestCase
|
||||
|
||||
|
||||
__all__ = ['suite']
|
||||
|
||||
|
||||
def suite():
|
||||
suite = trytond.tests.test_tryton.suite()
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
||||
InvoiceTestCase))
|
||||
return suite
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=6.0.10
|
||||
version=7.0.0
|
||||
depends:
|
||||
account_invoice
|
||||
bank
|
||||
|
|
|
@ -1 +1 @@
|
|||
edocument_xrechnung;6.0.13;6.0.999;mds
|
||||
edocument_xrechnung;7.0.5;7.0.999;mds
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
full copyright notices and license terms. -->
|
||||
<data>
|
||||
|
||||
<xpath expr="/form/separator[@id='move']" position="after">
|
||||
<xpath expr="/form/separator[@id='currency_exchange']" position="before">
|
||||
|
||||
<separator id="xrechnung" colspan="4" string="ZUGFeRD - e-Invoice"/>
|
||||
<label name="xrechn_zugferd_report"/>
|
||||
|
|
Loading…
Reference in a new issue