odoo/setup/lib/config_allinonept.py

89 lines
3.0 KiB
Python

# -*- coding: utf-8 -*-
from .config import Config
class ConfigAllInOnePT(Config):
def __init__(self):
super(ConfigAllInOnePT, self).__init__()
self.company_xmlid = 'dp_custom.glaser_and_co_company'
self.company_data = {
'name': 'TZ Technik Solution GesmbH',
'street': 'Althöflein 9/2',
'street2': False,
'city': 'Großkrut',
'zip': '2143',
'phone': False,
'email': False,
'website': False,
'company_registry': False,
'country_id': 'at', # 'de' für Deutschland
'vat': False,
'vat_check_vies': True,
'logo': '../ext/custom-addons/dp_custom/static/src/img/logo.png',
#'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 = 'TZ Technik'
self.warehouse_code = 'TZ Technik'
self.tax_settings = {
'default_sale_tax_id': self.default_sales_tax
}
self.sequences = {
'sale.order': {
# 'number_next_actual': 1,
'prefix': 'ATOF%(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': 'GL%(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,
# },
}
self.multi_company_settings = {
'chart_template_id': ('xmlid', 'l10n_at.austria_chart_template')
}