From 56df0678d965204f16bd5e98a6be3958e4495fe7 Mon Sep 17 00:00:00 2001 From: Andreas Wabro Date: Thu, 21 Jun 2018 09:14:00 +0200 Subject: [PATCH] =?UTF-8?q?Produktimport=20f=C3=BCr=20Meilenstein=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ext/custom-addons/dp_dmi_2/__init__.py | 20 +++++++++ ext/custom-addons/dp_dmi_2/__manifest__.py | 40 ++++++++++++++++++ .../dp_dmi_2/product.attribute.csv | 2 + .../dp_dmi_2/product.attribute.value.csv | 6 +++ .../dp_dmi_2/product.category.csv | 7 +++ .../dp_dmi_2/product.template.csv | 31 ++++++++++++++ .../dp_dmi_2/static/description/icon.png | Bin 0 -> 2225 bytes 7 files changed, 106 insertions(+) create mode 100755 ext/custom-addons/dp_dmi_2/__init__.py create mode 100644 ext/custom-addons/dp_dmi_2/__manifest__.py create mode 100644 ext/custom-addons/dp_dmi_2/product.attribute.csv create mode 100644 ext/custom-addons/dp_dmi_2/product.attribute.value.csv create mode 100644 ext/custom-addons/dp_dmi_2/product.category.csv create mode 100644 ext/custom-addons/dp_dmi_2/product.template.csv create mode 100644 ext/custom-addons/dp_dmi_2/static/description/icon.png 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 0000000000000000000000000000000000000000..8387d76554e8c52cf9256f9dc3f0358744f26f8e GIT binary patch literal 2225 zcmV;i2u}BjP)e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{005UN6GXZYpd*5GTM;9mttz230kztuXpqw7k0!Bk-aY#xp76VI(r5cRu^;~ayve)o z`g`Zx^W&a#fjsiaBab}t$Rm%O1kLpVeEvYW6vi3`uOQG;0ObG{0Vo1c82h&o0Amac z3c?@*S0U*yqwkfR@9k}wxT6U4cv@TwO0Ihd_zE+s0W3~qx(I+C0Dmlq7KS=I_l!7} zKyTgFVuQ>r%)AM}k_@~e0>V*g^6nEy_W#{61lHC*zVOz(@Q;XTTbxQ}8r@Rz)3ZS& zWmHv*uYVgrD}aS_u|F~Rxp~p~Etyp9j1aiKq51x($uAP{`7AJ$L(HQ2c*n0^$q53h zH*Q%^B!4qkQa7zM67L?n@v*0LTWzfb*3>sW3C6Qo?6!4_uvy>L)jpPW1XkAt_Yi1X zwmZHI^f6pDCl2o&)-j*ZLSB8aH5bT>NlcZ%#Od1F#}{UW1m=L+PAiE<*z}~U&aU*- zwyAL%@~(l<7h7pnh8*XaFap9!FwQXWfgpT=8DER{LkXyoMaHiIe05GFFc!o9Lv@ac zXy*qvN_NFtJFh=jX&BV3{)i0V8i3s*Y`&yQme(Jw6oO7q@eT+-><+cH&MJW(Pm9Z4 zeElo|RjR9SJhcDGnZh}u=o1-;O0F@mV{EuIG?SZBv$1&H`D6wj(ulmjlk;q zU@I~GK$+=Kcc{&lI%p(v2*A$K;nElE`ghfJO^pQnPW=EPY+Z`Pm9Za&u|S1*#O2GBu;T% zBf=R5{?Hw2>q$r7eZGKO&Nu!Bpd$WvxC|B6}U~Iy8e=SmQtMC9E z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