82 lines
2.9 KiB
Python
82 lines
2.9 KiB
Python
# -*- coding: utf-8 -*-
|
||
|
||
from .config import Config
|
||
|
||
|
||
class ConfigTZA(Config):
|
||
def __init__(self):
|
||
super(ConfigTZA, self).__init__()
|
||
|
||
self.company_xmlid = 'base.main_company'
|
||
|
||
self.company_data = {
|
||
'name': 'TZ Tischlerzentrum GesmbH',
|
||
'street': 'Neugasse 36',
|
||
'street2': False,
|
||
'city': 'Spannberg',
|
||
'zip': '2244',
|
||
'phone': '+43 2538/8628 – 0',
|
||
'email': 'office@tzaustria.com',
|
||
'website': 'https://www.tzaustria.com/',
|
||
'company_registry': 'FN 224119m',
|
||
'country_id': 'at', # 'de' für Deutschland
|
||
'vat': 'ATU 54619104',
|
||
'vat_check_vies': True,
|
||
'logo': '../ext/custom-addons/dp_custom/static/src/img/logo.png',
|
||
'customer': True,
|
||
#'favicon_backend': '../ext/custom-addons/dp_custom/static/src/img/favicon.ico',
|
||
#'favicon_backend_mimetype': 'image/x-icon'
|
||
}
|
||
|
||
# Nur für Lager
|
||
# Wenn nicht gesetzt, dann wird der Firmenname genommen
|
||
self.warehouse_name = 'TZA'
|
||
self.warehouse_code = 'TZA'
|
||
|
||
self.sequences = {
|
||
'sale.order': {
|
||
# 'number_next_actual': 1,
|
||
'prefix': 'ATOC%(range_y)s-',
|
||
'padding': 6,
|
||
'use_date_range': True,
|
||
'monthly_date_range': False
|
||
},
|
||
'account.invoice': {
|
||
# 'number_next_actual': 0001,
|
||
'prefix': '%(range_year)s-',
|
||
'padding': 6,
|
||
'use_date_range': True,
|
||
},
|
||
# Wenn 'account.invoice_refund' auskommentiert ist, dann wird
|
||
# für die Gutschrift der selbe Nummernkreis verwendet
|
||
# 'account.invoice_refund': {
|
||
# # 'number_next_actual': 0001,
|
||
# 'name': 'Gutschriften',
|
||
# 'implementation': 'no_gap',
|
||
# 'prefix': '%(y)s',
|
||
# 'padding': 4,
|
||
# 'use_date_range': True,
|
||
# 'monthly_date_range': False
|
||
# },
|
||
# 'picking.out': {
|
||
# # 'number_next_actual': 1,
|
||
# 'prefix': 'LS-',
|
||
# 'padding': 5,
|
||
# },
|
||
# 'picking.in': {
|
||
# #'number_next_actual': 1,
|
||
# 'prefix': 'LS/IN/',
|
||
# 'padding': 4,
|
||
# },
|
||
# 'picking.int': {
|
||
# #'number_next_actual': 1,
|
||
# 'prefix': 'LS/INT/',
|
||
# 'padding': 4,
|
||
# },
|
||
# 'purchase.order': {
|
||
# 'number_next_actual': 1,
|
||
# 'prefix': 'B-',
|
||
# 'padding': 5,
|
||
# },
|
||
}
|