Compare commits

...

5 Commits

6 changed files with 30 additions and 21 deletions

View File

@ -1,10 +1,10 @@
Metadata-Version: 1.1
Name: mds_account_de_skr04
Version: 6.0.0
Name: tryton_account_de_skr04
Version: 6.4.0
Summary: Tryton module with German chart of accounts SKR04
Home-page: https://www.m-ds.de/
Author: martin-data services
Author-email: service@m-ds.de
Home-page: yandrik.dev
Author: Yandrik
Author-email: me@yandrik.dev
License: GPL-3
Description: Chart of accounts 'SKR04'
=========================
@ -16,12 +16,12 @@ Description: Chart of accounts 'SKR04'
Install
=======
pip install mds-account-de-skr04
pip install git+https://git.yandrik.dev/abawo/tryton_account_de_skr04.git@18abfd8c1c4ca92199f10cf3180848b6df1cc159
Requires
========
Tryton 6.0
Tryton 6.4
Changes
=======
@ -30,6 +30,9 @@ Description: Chart of accounts 'SKR04'
- migrate to Tryton 6.0
*6.4.0 - 11.06.2022*
- change dependencies to Tryton 6.4
Keywords: tryton account chart german SKR04
Platform: UNKNOWN

View File

@ -6,7 +6,13 @@
### Install
pip install git+https://git.yandrik.dev/abawo/tryton_account_de_skr04.git@18abfd8c1c4ca92199f10cf3180848b6df1cc159
1. Clone the repo into the modules folder (docker: `git clone https://git.yandrik.dev/abawo/tryton_account_de_skr04.git /usr/local/lib/python3.9/dist-packages/trytond/modules/account_de_skr04`)
2. Update module list
- `trytond-admin --update-modules-list`
- `trytond-admin -u tryton_account_de_skr04 --activate-dependencies`
After these two steps, everything should work, at least in theory.
(doesn't work at the moment: `pip install git+https://git.yandrik.dev/abawo/tryton_account_de_skr04.git@959ae8d94807660910c134b6fc374d88f82c97b1`)
### Requires

View File

@ -218,14 +218,14 @@ this repository contains the full copyright notices and license terms. -->
<field name="parent" ref="type_1510"/>
<field name="sequence" eval="10"/>
<field name="statement">balance</field>
<field name="receivable" eval="True"/>
<!-- <field name="receivable" eval="True"/> doesn't exist anymore in Tryton 6.4 -->
</record>
<record id="type_1535" model="account.account.type.template">
<field name="name">davon mit einer Restlaufzeit von mehr als einem Jahr</field>
<field name="parent" ref="type_1530"/>
<field name="sequence" eval="10"/>
<field name="statement">balance</field>
<field name="receivable" eval="True"/>
<!-- <field name="receivable" eval="True"/> doesn't exist anymore in Tryton 6.4 -->
</record>
<record id="type_1540" model="account.account.type.template">
<field name="name">Forderungen gegen verbundene Unternehmen</field>

View File

@ -14,7 +14,7 @@ except ImportError:
here = path.abspath(path.dirname(__file__))
MODULE = 'account_de_skr04'
PREFIX = 'mds'
PREFIX = 'tryton'
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
@ -40,13 +40,13 @@ with open(path.join(here, 'versiondep.txt'), encoding='utf-8') as f:
# tryton-version
major_version = 6
minor_version = 0
minor_version = 4
requires = []
for dep in info.get('depends', []):
if not re.match(r'(ir|res|webdav)(\W|$)', dep):
if dep in modversion.keys():
prefix = 'mds'
prefix = 'tryton'
if len(modversion[dep]['prefix']) > 0:
prefix = modversion[dep]['prefix']

View File

@ -16,7 +16,7 @@ Description: Chart of accounts 'SKR04'
Install
=======
pip install git+https://git.yandrik.dev/abawo/tryton_account_de_skr04.git@18abfd8c1c4ca92199f10cf3180848b6df1cc159
pip install git+https://git.yandrik.dev/abawo/tryton_account_de_skr04.git@959ae8d94807660910c134b6fc374d88f82c97b1
Requires
========

View File

@ -13,10 +13,10 @@ setup.py
./tax_template.xml
./tryton.cfg
./versiondep.txt
mds_account_de_skr04.egg-info/PKG-INFO
mds_account_de_skr04.egg-info/SOURCES.txt
mds_account_de_skr04.egg-info/dependency_links.txt
mds_account_de_skr04.egg-info/entry_points.txt
mds_account_de_skr04.egg-info/not-zip-safe
mds_account_de_skr04.egg-info/requires.txt
mds_account_de_skr04.egg-info/top_level.txt
tryton_account_de_skr04.egg-info/PKG_INFO
tryton_account_de_skr04.egg-info/SOURCES.txt
tryton_account_de_skr04.egg-info/dependency_links.txt
tryton_account_de_skr04.egg-info/entry_points.txt
tryton_account_de_skr04.egg-info/not-zip-safe
tryton_account_de_skr04.egg-info/requires.txt
tryton_account_de_skr04.egg-info/top_level.txt