diff --git a/ext/custom-addons/dp_dmi_2/__init__.py b/ext/custom-addons/dp_dmi_2/__init__.py new file mode 100755 index 00000000..c1f0697c --- /dev/null +++ b/ext/custom-addons/dp_dmi_2/__init__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# datenpol gmbh +# Copyright (C) 2018-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_dmi_2/__manifest__.py b/ext/custom-addons/dp_dmi_2/__manifest__.py new file mode 100644 index 00000000..8729cd10 --- /dev/null +++ b/ext/custom-addons/dp_dmi_2/__manifest__.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# datenpol gmbh +# Copyright (C) 2018-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': 'Datenübernahme Phase III', + 'category': 'Custom', + 'version': '11.0.1.0.0', + 'description': """Datenübernahme Produktkategorien, Produkte und Produktvarianten""", + 'author': 'datenpol GmbH', + 'website': 'http://www.datenpol.at', + 'depends': ['dp_custom'], + 'data': [ + 'product.category.csv', + 'product.attribute.csv', + 'product.attribute.value.csv', + 'product.template.csv', + ], + 'installable': True, + 'auto_install': False, +} diff --git a/ext/custom-addons/dp_dmi_2/product.attribute.csv b/ext/custom-addons/dp_dmi_2/product.attribute.csv new file mode 100644 index 00000000..716d4e88 --- /dev/null +++ b/ext/custom-addons/dp_dmi_2/product.attribute.csv @@ -0,0 +1,2 @@ +id,name +attribute_design,Design diff --git a/ext/custom-addons/dp_dmi_2/product.attribute.value.csv b/ext/custom-addons/dp_dmi_2/product.attribute.value.csv new file mode 100644 index 00000000..6db8f746 --- /dev/null +++ b/ext/custom-addons/dp_dmi_2/product.attribute.value.csv @@ -0,0 +1,6 @@ +id,attribute_id/id,name +attr_klassisch,dp_dmi_2.attribute_design,klassisch +attr_traditionell,dp_dmi_2.attribute_design,traditionell +attr_mglaenzend,dp_dmi_2.attribute_design,modern glänzend +attr_mmatt,dp_dmi_2.attribute_design,modern matt +attr_exklusiv,dp_dmi_2.attribute_design,exklusiv diff --git a/ext/custom-addons/dp_dmi_2/product.category.csv b/ext/custom-addons/dp_dmi_2/product.category.csv new file mode 100644 index 00000000..8cd3b020 --- /dev/null +++ b/ext/custom-addons/dp_dmi_2/product.category.csv @@ -0,0 +1,7 @@ +"id","parent_id","name" +"kat_vorzimmer","All / Saleable","Vorzimmer" +"kat_kueche","All / Saleable","Küche" +"kat_schlafzimer","All / Saleable","Schlafzimmer" +"kat_wohnzimmer","All / Saleable","Wohnzimmer" +"kat_bad","All / Saleable","Bad" +"kat_moebelelemente","All / Saleable","Möbelelemente" diff --git a/ext/custom-addons/dp_dmi_2/product.template.csv b/ext/custom-addons/dp_dmi_2/product.template.csv new file mode 100644 index 00000000..361543f2 --- /dev/null +++ b/ext/custom-addons/dp_dmi_2/product.template.csv @@ -0,0 +1,31 @@ +id,name,type,categ_id/id,list_price,website_published,product_variant_ids/default_code,product_variant_ids/attribute_value_ids/id,attribute_line_ids/attribute_id/id,attribute_line_ids/value_ids/id,image +p_10001,Avalon,product,dp_dmi_2.kat_vorzimmer,325.79,TRUE,100001000111,dp_dmi_2.attr_klassisch,,, +,,,,,,100001000211,dp_dmi_2.attr_traditionell,,, +,,,,,,100001000311,dp_dmi_2.attr_mglaenzend,,, +,,,,,,100001000411,dp_dmi_2.attr_mmatt,,, +,,,,,,100001000511,dp_dmi_2.attr_exklusiv,,, +,,,,,,,,dp_dmi_2.attribute_design,"dp_dmi_2.attr_klassisch,dp_dmi_2.attr_traditionell,dp_dmi_2.attr_mglaenzend,dp_dmi_2.attr_mmatt,dp_dmi_2.attr_exklusiv", +p_10002,Aruba,product,dp_dmi_2.kat_vorzimmer,1383.46,TRUE,100002000111,dp_dmi_2.attr_klassisch,,, +,,,,,,100002000211,dp_dmi_2.attr_traditionell,,, +,,,,,,100002000311,dp_dmi_2.attr_mglaenzend,,, +,,,,,,100002000411,dp_dmi_2.attr_mmatt,,, +,,,,,,100002000511,dp_dmi_2.attr_exklusiv,,, +,,,,,,,,dp_dmi_2.attribute_design,"dp_dmi_2.attr_klassisch,dp_dmi_2.attr_traditionell,dp_dmi_2.attr_mglaenzend,dp_dmi_2.attr_mmatt,dp_dmi_2.attr_exklusiv", +p_10003,Elista,product,dp_dmi_2.kat_vorzimmer,1578.2,TRUE,100003000111,dp_dmi_2.attr_klassisch,,, +,,,,,,100003000211,dp_dmi_2.attr_traditionell,,, +,,,,,,100003000311,dp_dmi_2.attr_mglaenzend,,, +,,,,,,100003000411,dp_dmi_2.attr_mmatt,,, +,,,,,,100003000511,dp_dmi_2.attr_exklusiv,,, +,,,,,,,,dp_dmi_2.attribute_design,"dp_dmi_2.attr_klassisch,dp_dmi_2.attr_traditionell,dp_dmi_2.attr_mglaenzend,dp_dmi_2.attr_mmatt,dp_dmi_2.attr_exklusiv", +p_10004,Kiana,product,dp_dmi_2.kat_vorzimmer,1086.66,TRUE,100004000111,dp_dmi_2.attr_klassisch,,, +,,,,,,100004000211,dp_dmi_2.attr_traditionell,,, +,,,,,,100004000311,dp_dmi_2.attr_mglaenzend,,, +,,,,,,100004000411,dp_dmi_2.attr_mmatt,,, +,,,,,,100004000511,dp_dmi_2.attr_exklusiv,,, +,,,,,,,,dp_dmi_2.attribute_design,"dp_dmi_2.attr_klassisch,dp_dmi_2.attr_traditionell,dp_dmi_2.attr_mglaenzend,dp_dmi_2.attr_mmatt,dp_dmi_2.attr_exklusiv", +p_20001,Florencia,product,dp_dmi_2.kat_kueche,3125.96,TRUE,200001000111,dp_dmi_2.attr_klassisch,,, +,,,,,,200001000211,dp_dmi_2.attr_traditionell,,, +,,,,,,200001000311,dp_dmi_2.attr_mglaenzend,,, +,,,,,,,dp_dmi_2.attr_mmatt,,, +,,,,,,200001000511,dp_dmi_2.attr_exklusiv,,, +,,,,,,,,dp_dmi_2.attribute_design,"dp_dmi_2.attr_klassisch,dp_dmi_2.attr_traditionell,dp_dmi_2.attr_mglaenzend,dp_dmi_2.attr_mmatt,dp_dmi_2.attr_exklusiv", diff --git a/ext/custom-addons/dp_dmi_2/static/description/icon.png b/ext/custom-addons/dp_dmi_2/static/description/icon.png new file mode 100644 index 00000000..8387d765 Binary files /dev/null and b/ext/custom-addons/dp_dmi_2/static/description/icon.png differ