87 lines
3.0 KiB
Python
87 lines
3.0 KiB
Python
# -*- coding: utf-8 -*-
|
||
|
||
from .config import Config
|
||
|
||
class ConfigGlaser(Config):
|
||
def __init__(self):
|
||
super(ConfigGlaser, self).__init__()
|
||
|
||
self.company_xmlid = 'dp_custom.glaser_and_co_company'
|
||
|
||
self.company_data = {
|
||
'name': 'Glaser & Co.',
|
||
'street': 'Neugasse 36',
|
||
'street2': False,
|
||
'city': 'Spannberg',
|
||
'zip': '2244',
|
||
'phone': '+43 2538/8628 – 0',
|
||
'email': 'office@tzaustria.com',
|
||
'website': 'https://www.glaser-co.at',
|
||
'company_registry': 'FN 61793 y',
|
||
'country_id': 'at', # 'de' für Deutschland
|
||
'vat': 'ATU17860303',
|
||
'vat_check_vies': True,
|
||
'logo': '../ext/custom-addons/dp_custom/static/src/img/logo_glaser.png',
|
||
'supplier': 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 = 'Glaser'
|
||
self.warehouse_code = 'Glaser'
|
||
|
||
self.sequences = {
|
||
'sale.order': {
|
||
# 'number_next_actual': 1,
|
||
'prefix': 'GL%(y)s',
|
||
'padding': 4,
|
||
'use_date_range': True,
|
||
'monthly_date_range': False
|
||
},
|
||
'account.invoice': {
|
||
# 'number_next_actual': 0001,
|
||
'prefix': 'GL%(y)s%(month)s',
|
||
'padding': 4,
|
||
'use_date_range': True,
|
||
'monthly_date_range': False
|
||
},
|
||
# 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')
|
||
}
|
||
|