From 0d68232293b4986ccef6237e530803e9c7f4f7a1 Mon Sep 17 00:00:00 2001 From: Ahmed Aly Date: Fri, 5 Oct 2018 16:55:40 +0200 Subject: [PATCH] Fall 771: allinonept Umgebung aufsetzen --- ext/custom-addons/dp_custom/__manifest__.py | 2 - ext/custom-addons/dp_custom/data/cron_job.xml | 13 ----- .../data/tz_austria_company_data.xml | 6 --- .../dp_glaser_company/__init__.py | 20 +++++++ .../dp_glaser_company/__manifest__.py | 46 ++++++++++++++++ .../dp_glaser_company/data/cron_job.xml | 17 ++++++ .../data/glaser_company_data.xml | 30 ++++++----- .../data/glaser_tax_data.xml | 36 ++++++------- .../static/description/icon.png | Bin 0 -> 2225 bytes .../static/src/img/glaser_favicon.png | Bin 0 -> 329 bytes .../static/src/img/logo_glaser.png | Bin 0 -> 18982 bytes setup/lib/cli.py | 1 + setup/lib/config.py | 5 +- setup/lib/config_allinonept.py | 50 ++++++++++++++++-- setup/lib/environments.py | 1 + setup/lib/functions.py | 31 ++++++++++- 16 files changed, 199 insertions(+), 59 deletions(-) create mode 100644 ext/custom-addons/dp_glaser_company/__init__.py create mode 100644 ext/custom-addons/dp_glaser_company/__manifest__.py create mode 100644 ext/custom-addons/dp_glaser_company/data/cron_job.xml rename ext/custom-addons/{dp_custom => dp_glaser_company}/data/glaser_company_data.xml (59%) rename ext/custom-addons/{dp_custom => dp_glaser_company}/data/glaser_tax_data.xml (58%) create mode 100644 ext/custom-addons/dp_glaser_company/static/description/icon.png create mode 100644 ext/custom-addons/dp_glaser_company/static/src/img/glaser_favicon.png create mode 100644 ext/custom-addons/dp_glaser_company/static/src/img/logo_glaser.png diff --git a/ext/custom-addons/dp_custom/__manifest__.py b/ext/custom-addons/dp_custom/__manifest__.py index 00ce1b1c..dfe1a2f9 100644 --- a/ext/custom-addons/dp_custom/__manifest__.py +++ b/ext/custom-addons/dp_custom/__manifest__.py @@ -49,11 +49,9 @@ 'wizards/wizard_confirm_print_invoice.xml', 'security/security.xml', 'data/dp_custom_data.xml', - 'data/glaser_company_data.xml', 'data/tz_austria_company_data.xml', 'data/product_data.xml', 'data/tz_tax_data.xml', - 'data/glaser_tax_data.xml', 'data/cron_job.xml', 'views/dp_custom_views.xml', 'views/res_line_views.xml', diff --git a/ext/custom-addons/dp_custom/data/cron_job.xml b/ext/custom-addons/dp_custom/data/cron_job.xml index 9b39351e..aa324976 100644 --- a/ext/custom-addons/dp_custom/data/cron_job.xml +++ b/ext/custom-addons/dp_custom/data/cron_job.xml @@ -14,17 +14,4 @@ - - Export Portal Prices Glaser - - - - 1 - days - -1 - - code - model.cron_export_portal_prices() - - diff --git a/ext/custom-addons/dp_custom/data/tz_austria_company_data.xml b/ext/custom-addons/dp_custom/data/tz_austria_company_data.xml index 4da4b591..b1f1adcb 100644 --- a/ext/custom-addons/dp_custom/data/tz_austria_company_data.xml +++ b/ext/custom-addons/dp_custom/data/tz_austria_company_data.xml @@ -18,12 +18,6 @@ (4,ref('dp_custom.group_allow_delete_so_attachments'))]"/> - - - - 70.00 - - diff --git a/ext/custom-addons/dp_glaser_company/__init__.py b/ext/custom-addons/dp_glaser_company/__init__.py new file mode 100644 index 00000000..aa7ed683 --- /dev/null +++ b/ext/custom-addons/dp_glaser_company/__init__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# datenpol gmbh +# Copyright (C) 2013-TODAY datenpol gmbh () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## diff --git a/ext/custom-addons/dp_glaser_company/__manifest__.py b/ext/custom-addons/dp_glaser_company/__manifest__.py new file mode 100644 index 00000000..43cbc71e --- /dev/null +++ b/ext/custom-addons/dp_glaser_company/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# datenpol gmbh +# Copyright (C) 2013-TODAY datenpol gmbh () +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + + +# noinspection PyStatementEffect +{ + 'name': 'Unternehmen Glaser Daten', + 'category': 'Custom', + 'version': '11.0.1.0.0', + 'description': """Fügt alle Daten für das Unternehmen Glaser & Co hinzu""", + 'author': 'datenpol gmbh', + 'website': 'http://www.datenpol.at/', + 'depends': [ + 'base', + 'account', + 'sale_stock', + 'queue_job', + 'website', + 'dp_custom' + ], + 'data': [ + 'data/glaser_company_data.xml', + 'data/glaser_tax_data.xml', + 'data/cron_job.xml', + ], + 'installable': True, + 'auto_install': False, +} diff --git a/ext/custom-addons/dp_glaser_company/data/cron_job.xml b/ext/custom-addons/dp_glaser_company/data/cron_job.xml new file mode 100644 index 00000000..c1cadd2b --- /dev/null +++ b/ext/custom-addons/dp_glaser_company/data/cron_job.xml @@ -0,0 +1,17 @@ + + + + + Export Portal Prices Glaser + + + + 1 + days + -1 + + code + model.cron_export_portal_prices() + + + diff --git a/ext/custom-addons/dp_custom/data/glaser_company_data.xml b/ext/custom-addons/dp_glaser_company/data/glaser_company_data.xml similarity index 59% rename from ext/custom-addons/dp_custom/data/glaser_company_data.xml rename to ext/custom-addons/dp_glaser_company/data/glaser_company_data.xml index b5d12075..48d8bb3c 100644 --- a/ext/custom-addons/dp_custom/data/glaser_company_data.xml +++ b/ext/custom-addons/dp_glaser_company/data/glaser_company_data.xml @@ -1,6 +1,6 @@ - + Glaser & Co. Neugasse 36 Spannberg @@ -15,21 +15,21 @@ - - + + -