diff --git a/dev/dmi/run1/Kundendaten.ktr b/dev/dmi/run1/Kundendaten.ktr new file mode 100644 index 00000000..d925479b --- /dev/null +++ b/dev/dmi/run1/Kundendaten.ktr @@ -0,0 +1,1737 @@ + + + Kundendaten + + + + Normal + 0 + / + + + + + + + + + +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDTRANSNAMEYTRANSNAMESTATUSYSTATUSLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSSTARTDATEYSTARTDATEENDDATEYENDDATELOGDATEYLOGDATEDEPDATEYDEPDATEREPLAYDATEYREPLAYDATELOG_FIELDYLOG_FIELDEXECUTING_SERVERNEXECUTING_SERVEREXECUTING_USERNEXECUTING_USERCLIENTNCLIENT + + +
+ + +ID_BATCHYID_BATCHSEQ_NRYSEQ_NRLOGDATEYLOGDATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSINPUT_BUFFER_ROWSYINPUT_BUFFER_ROWSOUTPUT_BUFFER_ROWSYOUTPUT_BUFFER_ROWS + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATELOGGING_OBJECT_TYPEYLOGGING_OBJECT_TYPEOBJECT_NAMEYOBJECT_NAMEOBJECT_COPYYOBJECT_COPYREPOSITORY_DIRECTORYYREPOSITORY_DIRECTORYFILENAMEYFILENAMEOBJECT_IDYOBJECT_IDOBJECT_REVISIONYOBJECT_REVISIONPARENT_CHANNEL_IDYPARENT_CHANNEL_IDROOT_CHANNEL_IDYROOT_CHANNEL_ID + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSLOG_FIELDNLOG_FIELD + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATEMETRICS_DATEYMETRICS_DATEMETRICS_CODEYMETRICS_CODEMETRICS_DESCRIPTIONYMETRICS_DESCRIPTIONMETRICS_SUBJECTYMETRICS_SUBJECTMETRICS_TYPEYMETRICS_TYPEMETRICS_VALUEYMETRICS_VALUE + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + N + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2014/12/19 13:36:06.719 + - + 2015/01/13 16:27:12.108 + + + + + TransformPrioritize streamsY + Prioritize streamsres.partner.csvY + LänderStream lookupY + lieferanten_20150107.csvStream lookupY + kunden_20150107.csvStream lookup 2Y + LänderStream lookup 2Y + Stream lookup 2vat lookupY + vat lookupTransformY + Transform 2Prioritize streamsY + Stream lookupvat lookup 2Y + vat lookup 2Transform 2Y + vat_lookup.csvvat lookupY + vat_lookup.csvvat lookup 2Y + + + Länder + DataGrid + + N + + 1 + + none + + + + + key + String + + + + + -1 + -1 + N + + + value + String + + + + + -1 + -1 + N + + + + Österreichbase.at + Deutschlandbase.de + Italybase.it + Ungarnbase.hu + Belgienbase.be + Schweizbase.ch + + + + 652 + 178 + Y + + + + + Prioritize streams + PrioritizeStreams + + Y + + 1 + + none + + + + + Transform + + + Transform 2 + + + + + 650 + 525 + Y + + + + + Stream lookup + StreamLookup + + Y + + 1 + + none + + + Länder + N + Y + N + N + + + Land + key + + + value + land_xml + + None + + + + + 806 + 217 + Y + + + + + Stream lookup 2 + StreamLookup + + Y + + 1 + + none + + + Länder + N + Y + N + N + + + Land + key + + + value + land_xml + + None + + + + + 539 + 228 + Y + + + + + Transform + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + parent_id/id + + String + + -1 + + -1 + + + + street + + String + + -1 + + -1 + + + + city + + String + + -1 + + -1 + + + + zip + + String + + -1 + + -1 + + + + website + + String + + -1 + + -1 + + + + phone + + String + + -1 + + -1 + + + + mobile + + String + + -1 + + -1 + + + + fax + + String + + -1 + + -1 + + + + email + + String + + -1 + + -1 + + + + comment + + String + + -1 + + -1 + + + + ref + + String + + -1 + + -1 + + + + lang + + String + + -1 + + -1 + + + + vat + + String + + -1 + + -1 + + + + date + + String + + -1 + + -1 + + + + is_company + + String + + -1 + + -1 + + + + function + + String + + -1 + + -1 + + + + use_parent_address + + String + + -1 + + -1 + + + + country_id/id + + String + + -1 + + -1 + + + + customer + + String + + -1 + + -1 + + + + supplier + + String + + -1 + + -1 + + + + notify_email + + String + + -1 + + -1 + + + Y + + + 545 + 469 + Y + + + + + Transform 2 + UserDefinedJavaClass + + Y + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + parent_id/id + + String + + -1 + + -1 + + + + street + + String + + -1 + + -1 + + + + city + + String + + -1 + + -1 + + + + zip + + String + + -1 + + -1 + + + + website + + String + + -1 + + -1 + + + + phone + + String + + -1 + + -1 + + + + mobile + + String + + -1 + + -1 + + + + fax + + String + + -1 + + -1 + + + + email + + String + + -1 + + -1 + + + + comment + + String + + -1 + + -1 + + + + ref + + String + + -1 + + -1 + + + + lang + + String + + -1 + + -1 + + + + vat + + String + + -1 + + -1 + + + + date + + String + + -1 + + -1 + + + + is_company + + String + + -1 + + -1 + + + + function + + String + + -1 + + -1 + + + + use_parent_address + + String + + -1 + + -1 + + + + country_id/id + + String + + -1 + + -1 + + + + customer + + String + + -1 + + -1 + + + + supplier + + String + + -1 + + -1 + + + + notify_email + + String + + -1 + + -1 + + + Y + + + 817 + 447 + Y + + + + + kunden_20150107.csv + CsvInput + + Y + + 1 + + none + + + ${GITREPOS}/input/kunden_20150107.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + Kundennr + String + + + + + -1 + -1 + none + + + Suchname + String + + + + + -1 + -1 + none + + + x + String + + + + + -1 + -1 + none + + + Name + String + + + + + -1 + -1 + none + + + Ansprechpartner + String + + + + + -1 + -1 + none + + + Adresse + String + + + + + -1 + -1 + none + + + PLZ + String + + + + + -1 + -1 + none + + + Ort + String + + + + + -1 + -1 + none + + + Land + String + + + + + -1 + -1 + none + + + Telefon + String + + + + + -1 + -1 + none + + + Fax + String + + + + + -1 + -1 + none + + + mail + String + + + + + -1 + -1 + none + + + Steuernummer + String + + + + + -1 + -1 + none + + + Rechnung per Mail + String + + + + + -1 + -1 + none + + + Zahlungsziel + String + + + + + -1 + -1 + none + + + + + 537 + 115 + Y + +
+ + + lieferanten_20150107.csv + CsvInput + + N + + 1 + + none + + + ${GITREPOS}/input/lieferanten_20150107.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + Lieferanten Nr + String + + + + + -1 + -1 + none + + + Suchname + String + + + + + -1 + -1 + none + + + Bezeichnung + String + + + + + -1 + -1 + none + + + Firmenname + String + + + + + -1 + -1 + none + + + Ansprechpartner + String + + + + + -1 + -1 + none + + + Strasse + String + + + + + -1 + -1 + none + + + PLZ + String + + + + + -1 + -1 + none + + + Stadt + String + + + + + -1 + -1 + none + + + Land + String + + + + + -1 + -1 + none + + + Code + String + + + + + -1 + -1 + none + + + Steuer Nr. + String + + + + + -1 + -1 + none + + + Mail + String + + + + + -1 + -1 + none + + + + + 800 + 115 + Y + +
+ + + res.partner.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${GITREPOS}/cam_dmi/res.partner + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + parent_id/id + String + + + + + + none + -1 + -1 + + + street + String + + + + + + none + -1 + -1 + + + city + String + + + + + + none + -1 + -1 + + + zip + String + + + + + + none + -1 + -1 + + + website + String + + + + + + none + -1 + -1 + + + phone + String + + + + + + none + -1 + -1 + + + mobile + String + + + + + + none + -1 + -1 + + + fax + String + + + + + + none + -1 + -1 + + + email + String + + + + + + none + -1 + -1 + + + comment + String + + + + + + none + -1 + -1 + + + ref + String + + + + + + none + -1 + -1 + + + lang + String + + + + + + none + -1 + -1 + + + vat + String + + + + + + none + -1 + -1 + + + date + String + + + + + + none + -1 + -1 + + + is_company + String + + + + + + none + -1 + -1 + + + function + String + + + + + + none + -1 + -1 + + + use_parent_address + String + + + + + + none + -1 + -1 + + + country_id/id + String + + + + + + none + -1 + -1 + + + customer + String + + + + + + none + -1 + -1 + + + supplier + String + + + + + + none + -1 + -1 + + + notify_email + String + + + + + + none + -1 + -1 + + + + + 650 + 615 + Y + +
+ + + vat lookup + StreamLookup + + Y + + 1 + + none + + + vat_lookup.csv + N + Y + N + N + + + Steuernummer + vat_old + + + vat_new + help_newvat + + None + + + + + 543 + 336 + Y + + + + + vat lookup 2 + StreamLookup + + Y + + 1 + + none + + + vat_lookup.csv + N + Y + N + N + + + Steuer Nr. + vat_old + + + vat_new + help_newvat + + None + + + + + 810 + 344 + Y + + + + + vat_lookup.csv + CsvInput + + N + + 1 + + none + + + ${GITREPOS}/cam_dmi/vat_lookup.csv + + + N + , + " +
Y
+ 50000 + N + N + N + N + + + + vat_old + String + + + + + -1 + -1 + none + + + vat_new + String + + + + + -1 + -1 + none + + + + + 669 + 257 + Y + +
+ + + + + + N + + diff --git a/dev/dmi/run1/Produktdaten.ktr b/dev/dmi/run1/Produktdaten.ktr new file mode 100644 index 00000000..a4495347 --- /dev/null +++ b/dev/dmi/run1/Produktdaten.ktr @@ -0,0 +1,2034 @@ + + + Produktdaten + + + + Normal + / + + + + + +
+ + + +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDTRANSNAMEYTRANSNAMESTATUSYSTATUSLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSSTARTDATEYSTARTDATEENDDATEYENDDATELOGDATEYLOGDATEDEPDATEYDEPDATEREPLAYDATEYREPLAYDATELOG_FIELDYLOG_FIELDEXECUTING_SERVERNEXECUTING_SERVEREXECUTING_USERNEXECUTING_USERCLIENTNCLIENT + + +
+ + +ID_BATCHYID_BATCHSEQ_NRYSEQ_NRLOGDATEYLOGDATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSINPUT_BUFFER_ROWSYINPUT_BUFFER_ROWSOUTPUT_BUFFER_ROWSYOUTPUT_BUFFER_ROWS + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATELOGGING_OBJECT_TYPEYLOGGING_OBJECT_TYPEOBJECT_NAMEYOBJECT_NAMEOBJECT_COPYYOBJECT_COPYREPOSITORY_DIRECTORYYREPOSITORY_DIRECTORYFILENAMEYFILENAMEOBJECT_IDYOBJECT_IDOBJECT_REVISIONYOBJECT_REVISIONPARENT_CHANNEL_IDYPARENT_CHANNEL_IDROOT_CHANNEL_IDYROOT_CHANNEL_ID + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSLOG_FIELDNLOG_FIELD + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATEMETRICS_DATEYMETRICS_DATEMETRICS_CODEYMETRICS_CODEMETRICS_DESCRIPTIONYMETRICS_DESCRIPTIONMETRICS_SUBJECTYMETRICS_SUBJECTMETRICS_TYPEYMETRICS_TYPEMETRICS_VALUEYMETRICS_VALUE + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + N + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2014/12/30 09:51:06.375 + - + 2015/01/13 16:27:51.078 + + + + + METransformY + Transformproduct.product.csvY + MengeneinheitenMEY + artikel_20150107.csvSort rowsY + Sort rowsUnique rowsY + Unique rowsTransform 2Y + Transform 2product.category.csvY + artikel_20150107.csvKategorieY + KategorieMEY + Transform 2KategorieY + Transform - Orderpointstock.warehouse.orderpoint.csvY + artikel_20150107.csvTransform - OrderpointY + Lagerstandstock.inventory.line.csvY + MELagerstandY + Inventurauftrag 2stock.inventory.csvY + Lieferanteninfosproduct.supplierinfo.csvY + MELieferanteninfosY + + + Inventurauftrag 2 + DataGrid + + Y + + 1 + + none + + + + + id + String + + + + + -1 + -1 + N + + + name + String + + + + + -1 + -1 + N + + + state + String + + + + + -1 + -1 + N + + + + inv_initinitialbefüllungconfirm + + + + 1228 + 343 + Y + + + + + Kategorie + StreamLookup + + Y + + 1 + + none + + + Transform 2 + N + Y + N + N + + + Artikelgruppe + name + + + id + help_category + + None + + + + + 400 + 365 + Y + + + + + Lagerstand + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + inventory_id/id + + String + + -1 + + -1 + + + + product_id/id + + String + + -1 + + -1 + + + + location_id/id + + String + + -1 + + -1 + + + + product_uom_id/id + + String + + -1 + + -1 + + + + product_qty + + String + + -1 + + -1 + + + Y + + + 1064 + 345 + Y + + + + + Lieferanteninfos + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name/id + + String + + -1 + + -1 + + + + product_name + + String + + -1 + + -1 + + + + product_code + + String + + -1 + + -1 + + + + sequence + + String + + -1 + + -1 + + + + min_qty + + String + + -1 + + -1 + + + + product_tmpl_id/id + + String + + -1 + + -1 + + + + delay + + String + + -1 + + -1 + + + + pricelist_ids/price + + String + + -1 + + -1 + + + + pricelist_ids/min_quantity + + String + + -1 + + -1 + + + Y + + + 1390 + 343 + Y + + + + + ME + StreamLookup + + N + + 1 + + none + + + Mengeneinheiten + N + Y + N + N + + + Einheit + key + + + value + me + + None + + + + + 400 + 481 + Y + + + + + Mengeneinheiten + DataGrid + + Y + + 1 + + none + + + + + key + String + + + + + -1 + -1 + N + + + value + String + + + + + -1 + -1 + N + + + + Ktnproduct.product_uom_unit + Rolproduct.product_uom_unit + Kanproduct.product_uom_unit + lfmproduct.product_uom_meter + Stkproduct.product_uom_unit + qmcam_custom.product_uom_qm + Stgproduct.product_uom_unit + Paarproduct.product_uom_unit + + + + 200 + 255 + Y + + + + + Sort rows + SortRows + + Y + + 1 + + none + + + %%java.io.tmpdir%% + out + 1000000 + + N + + N + + + Artikelgruppe + Y + N + N + + + + + 638 + 151 + Y + + + + + Transform + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + default_code + + String + + -1 + + -1 + + + + sale_ok + + String + + -1 + + -1 + + + + type + + String + + -1 + + -1 + + + + uom_id/id + + String + + -1 + + -1 + + + + uom_po_id/id + + String + + -1 + + -1 + + + + route_ids/id + + String + + -1 + + -1 + + + + standard_price + + String + + -1 + + -1 + + + + list_price + + String + + -1 + + -1 + + + + description + + String + + -1 + + -1 + + + + categ_id/id + + String + + -1 + + -1 + + + + purchase_ok + + String + + -1 + + -1 + + + + weight_net + + String + + -1 + + -1 + + + Y + + + 399 + 574 + Y + + + + + Transform - Orderpoint + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + + product_id/id + + String + + -1 + + -1 + + + + product_min_qty + + String + + -1 + + -1 + + + + product_max_qty + + String + + -1 + + -1 + + + + qty_multiple + + String + + -1 + + -1 + + + Y + + + 825 + 300 + Y + + + + + Transform 2 + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + id + + String + + -1 + + -1 + + + + name + + String + + -1 + + -1 + + + Y + + + 638 + 301 + Y + + + + + Unique rows + Unique + + Y + + 1 + + none + + + N + + N + + Artikelgruppe + N + + + 641 + 213 + Y + + + + + artikel_20150107.csv + CsvInput + + N + + 1 + + none + + + ${GITREPOS}/input/artikel_20150107.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + Artikelnummer + String + + + + + -1 + -1 + none + + + Bezeichnung + String + + + + + -1 + -1 + none + + + Lieferantennummer + String + + + + + -1 + -1 + none + + + Lagerbestand + String + + + + + -1 + -1 + none + + + Mindestbestand + String + + + + + -1 + -1 + none + + + Einheit + String + + + + + -1 + -1 + none + + + MwSt. + String + + + + + -1 + -1 + none + + + Listenpreis ohne MWST + String + + + + + -1 + -1 + none + + + Einkaufspreis ohne MWST + String + + + + + -1 + -1 + none + + + Artikelgruppe + String + + + + + -1 + -1 + none + + + Hersteller + String + + + + + -1 + -1 + none + + + Herstellercode + String + + + + + -1 + -1 + none + + + Lagerwert + String + + + + + -1 + -1 + none + + + + + 638 + 48 + Y + +
+ + + product.category.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + + + N + + Y + + ${GITREPOS}/cam_dmi/product.category + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + + + 644 + 655 + Y + +
+ + + product.product.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + + + N + + Y + + ${GITREPOS}/cam_dmi/product.product + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + default_code + String + + + + + + none + -1 + -1 + + + sale_ok + String + + + + + + none + -1 + -1 + + + type + String + + + + + + none + -1 + -1 + + + uom_id/id + String + + + + + + none + -1 + -1 + + + uom_po_id/id + String + + + + + + none + -1 + -1 + + + route_ids/id + String + + + + + + none + -1 + -1 + + + standard_price + String + + + + + + none + -1 + -1 + + + list_price + String + + + + + + none + -1 + -1 + + + description + String + + + + + + none + -1 + -1 + + + categ_id/id + String + + + + + + none + -1 + -1 + + + purchase_ok + String + + + + + + none + -1 + -1 + + + weight_net + String + + + + + + none + -1 + -1 + + + + + 399 + 651 + Y + +
+ + + product.supplierinfo.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + + + N + + Y + + ${GITREPOS}/cam_dmi/product.supplierinfo + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name/id + String + + + + + + none + -1 + -1 + + + product_name + String + + + + + + none + -1 + -1 + + + product_code + String + + + + + + none + -1 + -1 + + + sequence + String + + + + + + none + -1 + -1 + + + min_qty + String + + + + + + none + -1 + -1 + + + product_tmpl_id/id + String + + + + + + none + -1 + -1 + + + delay + String + + + + + + none + -1 + -1 + + + pricelist_ids/price + String + + + + + + none + -1 + -1 + + + pricelist_ids/min_quantity + String + + + + + + none + -1 + -1 + + + + + 1399 + 640 + Y + +
+ + + stock.inventory.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + + + N + + Y + + ${GITREPOS}/cam_dmi/stock.inventory + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + state + String + + + + + + none + -1 + -1 + + + + + 1238 + 646 + Y + +
+ + + stock.inventory.line.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + + + N + + Y + + ${GITREPOS}/cam_dmi/stock.inventory.line + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + inventory_id/id + String + + + + + + none + -1 + -1 + + + product_id/id + String + + + + + + none + -1 + -1 + + + location_id/id + String + + + + + + none + -1 + -1 + + + product_uom_id/id + String + + + + + + none + -1 + -1 + + + product_qty + String + + + + + + none + -1 + -1 + + + + + 1068 + 648 + Y + +
+ + + stock.warehouse.orderpoint.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + + + N + + Y + + ${GITREPOS}/cam_dmi/stock.warehouse.orderpoint + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + id + String + + + + + + none + -1 + -1 + + + name + String + + + + + + none + -1 + -1 + + + product_id/id + String + + + + + + none + -1 + -1 + + + product_min_qty + String + + + + + + none + -1 + -1 + + + product_max_qty + String + + + + + + none + -1 + -1 + + + qty_multiple + String + + + + + + none + -1 + -1 + + + + + 833 + 656 + Y + +
+ + + + + + N + + diff --git a/dev/dmi/run1/VAT-Lookup.ktr b/dev/dmi/run1/VAT-Lookup.ktr new file mode 100644 index 00000000..7db60e48 --- /dev/null +++ b/dev/dmi/run1/VAT-Lookup.ktr @@ -0,0 +1,883 @@ + + + VAT-Lookup + + + + Normal + 0 + / + + + + + +
+ + + +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDTRANSNAMEYTRANSNAMESTATUSYSTATUSLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSSTARTDATEYSTARTDATEENDDATEYENDDATELOGDATEYLOGDATEDEPDATEYDEPDATEREPLAYDATEYREPLAYDATELOG_FIELDYLOG_FIELDEXECUTING_SERVERNEXECUTING_SERVEREXECUTING_USERNEXECUTING_USERCLIENTNCLIENT + + +
+ + +ID_BATCHYID_BATCHSEQ_NRYSEQ_NRLOGDATEYLOGDATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSINPUT_BUFFER_ROWSYINPUT_BUFFER_ROWSOUTPUT_BUFFER_ROWSYOUTPUT_BUFFER_ROWS + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATELOGGING_OBJECT_TYPEYLOGGING_OBJECT_TYPEOBJECT_NAMEYOBJECT_NAMEOBJECT_COPYYOBJECT_COPYREPOSITORY_DIRECTORYYREPOSITORY_DIRECTORYFILENAMEYFILENAMEOBJECT_IDYOBJECT_IDOBJECT_REVISIONYOBJECT_REVISIONPARENT_CHANNEL_IDYPARENT_CHANNEL_IDROOT_CHANNEL_IDYROOT_CHANNEL_ID + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSLOG_FIELDNLOG_FIELD + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATEMETRICS_DATEYMETRICS_DATEMETRICS_CODEYMETRICS_CODEMETRICS_DESCRIPTIONYMETRICS_DESCRIPTIONMETRICS_SUBJECTYMETRICS_SUBJECTMETRICS_TYPEYMETRICS_TYPEMETRICS_VALUEYMETRICS_VALUE + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + N + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2014/12/30 12:25:19.832 + - + 2015/01/13 16:28:08.336 + + + + + REST ClientGet data from XMLY + kunden_20150107.csvSelect valuesY + ieferanten_20150107.csvSelect values 2Y + Select valuesCreate URLY + Select values 2Create URLY + Create URLREST ClientY + Get data from XMLAufbereitenY + Aufbereitenvat_lookup.csvY + + + Aufbereiten + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + + + + + + vat_old + + String + + -1 + + -1 + + + + vat_new + + String + + -1 + + -1 + + + Y + + + 211 + 467 + Y + + + + + Create URL + UserDefinedJavaClass + + N + + 1 + + none + + + + + + TRANSFORM_CLASS + + Processor + + / + String url = "http://vatid.eu/check/"; + String country = vat.substring(0,2); + String vat_nr = vat.substring(2,vat.length()); + + get(Fields.Out, "help_url").setValue(out, url + "/" + country + "/" + vat_nr); + get(Fields.Out, "vat_old").setValue(out, get(Fields.In, "vat").getString(r)); + // Send the row on to the next step. + putRow(data.outputRowMeta, out); + } + + return true; +}]]> + + + + + help_url + + String + + -1 + + -1 + + + + vat_old + + String + + -1 + + -1 + + + Y + + + 214 + 219 + Y + + + + + Get data from XML + getXMLData + + Y + + 1 + + none + + + N + + N + N + N + N + N + N + N + N + Y + + UTF-8 + + + + + N + N + + + + valid + /response/valid + node + valueof + None + + + + + -1 + -1 + none + N + + + vatnr + /response/vat-number + node + valueof + None + + + + + -1 + -1 + none + N + + + country_code + /response/country-code + node + valueof + None + + + + + -1 + -1 + none + N + + + 0 + /response/valid + Y + N + help_result + + + + + + + + + + + + 213 + 380 + Y + + + + + REST Client + Rest + + N + + 1 + + none + + + TEXT PLAIN + GET + + Y + N + + help_url + + + Encrypted + + + N + + Encrypted + + + + + + help_result + help_resultcode + + + + + 212 + 287 + Y + + + + + Select values + SelectValues + + Y + + 1 + + none + + + Steuernummer + vat + -2 + -2 + N + + + 124 + 159 + Y + + + + + Select values 2 + SelectValues + + Y + + 1 + + none + + + Steuer Nr. + vat + -2 + -2 + N + + + 290 + 155 + Y + + + + + ieferanten_20150107.csv + CsvInput + + N + + 1 + + none + + + ${GITREPOS}/input/lieferanten_20150107.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + Lieferanten Nr + String + + + + + -1 + -1 + none + + + Suchname + String + + + + + -1 + -1 + none + + + Bezeichnung + String + + + + + -1 + -1 + none + + + Firmenname + String + + + + + -1 + -1 + none + + + Ansprechpartner + String + + + + + -1 + -1 + none + + + Strasse + String + + + + + -1 + -1 + none + + + PLZ + String + + + + + -1 + -1 + none + + + Stadt + String + + + + + -1 + -1 + none + + + Land + String + + + + + -1 + -1 + none + + + Code + String + + + + + -1 + -1 + none + + + Steuer Nr. + String + + + + + -1 + -1 + none + + + Mail + String + + + + + -1 + -1 + none + + + + + 282 + 68 + Y + +
+ + + kunden_20150107.csv + CsvInput + + Y + + 1 + + none + + + ${GITREPOS}/input/kunden_20150107.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + Kundennr + String + + + + + -1 + -1 + none + + + Suchname + String + + + + + -1 + -1 + none + + + Type + String + + + + + -1 + -1 + none + + + Name + String + + + + + -1 + -1 + none + + + Ansprechpartner + String + + + + + -1 + -1 + none + + + Adresse + String + + + + + -1 + -1 + none + + + PLZ + String + + + + + -1 + -1 + none + + + Ort + String + + + + + -1 + -1 + none + + + Land + String + + + + + -1 + -1 + none + + + Telefon + String + + + + + -1 + -1 + none + + + Fax + String + + + + + -1 + -1 + none + + + mail + String + + + + + -1 + -1 + none + + + Steuernummer + String + + + + + -1 + -1 + none + + + Rechnung per Mail + String + + + + + -1 + -1 + none + + + Zahlungsziel + String + + + + + -1 + -1 + none + + + + + 127 + 69 + Y + +
+ + + vat_lookup.csv + TextFileOutput + + Y + + 1 + + none + + + , + " + N + N +
Y
+
N
+ DOS + None + UTF-8 + + N + + Y + + ${GITREPOS}/cam_dmi/vat_lookup + N + N + N + csv + N + N + N + N + N + N + + Y + N + N + 0 + + + + vat_old + String + + + + + + none + -1 + -1 + + + vat_new + String + + + + + + none + -1 + -1 + + + + + 208 + 587 + Y + +
+ + + + + + N + + diff --git a/dev/dmi/run1/Validation.ktr b/dev/dmi/run1/Validation.ktr new file mode 100644 index 00000000..3e647d2a --- /dev/null +++ b/dev/dmi/run1/Validation.ktr @@ -0,0 +1,1469 @@ + + + Validation + + + + Normal + / + + + + + +
+ + + +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDTRANSNAMEYTRANSNAMESTATUSYSTATUSLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSSTARTDATEYSTARTDATEENDDATEYENDDATELOGDATEYLOGDATEDEPDATEYDEPDATEREPLAYDATEYREPLAYDATELOG_FIELDYLOG_FIELDEXECUTING_SERVERNEXECUTING_SERVEREXECUTING_USERNEXECUTING_USERCLIENTNCLIENT + + +
+ + +ID_BATCHYID_BATCHSEQ_NRYSEQ_NRLOGDATEYLOGDATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSINPUT_BUFFER_ROWSYINPUT_BUFFER_ROWSOUTPUT_BUFFER_ROWSYOUTPUT_BUFFER_ROWS + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATELOGGING_OBJECT_TYPEYLOGGING_OBJECT_TYPEOBJECT_NAMEYOBJECT_NAMEOBJECT_COPYYOBJECT_COPYREPOSITORY_DIRECTORYYREPOSITORY_DIRECTORYFILENAMEYFILENAMEOBJECT_IDYOBJECT_IDOBJECT_REVISIONYOBJECT_REVISIONPARENT_CHANNEL_IDYPARENT_CHANNEL_IDROOT_CHANNEL_IDYROOT_CHANNEL_ID + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATETRANSNAMEYTRANSNAMESTEPNAMEYSTEPNAMESTEP_COPYYSTEP_COPYLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSLOG_FIELDNLOG_FIELD + + +
+ +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDLOG_DATEYLOG_DATEMETRICS_DATEYMETRICS_DATEMETRICS_CODEYMETRICS_CODEMETRICS_DESCRIPTIONYMETRICS_DESCRIPTIONMETRICS_SUBJECTYMETRICS_SUBJECTMETRICS_TYPEYMETRICS_TYPEMETRICS_VALUEYMETRICS_VALUE + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + N + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2014/12/30 14:48:36.101 + - + 2015/01/13 16:28:48.168 + + + + + product.template.csvData ValidatorY + res.partner.csvData Validator 2Y + stock.warehouse.orderpoint.csvData Validator 3Y + stock.inventory.line.csvData Validator 3 2Y + vat_lookup.csvData Validator 2Y + product.product.csvData Validator 2 2N + product.template.csvData Validator 2 2N + product.product.csvData Validator 3 2Y + product.product.csvData Validator 3Y + product.supplierinfo.csvData Validator 3 2 2Y + product.product.csvData Validator 3 2 2Y + res.partner.csvData Validator 3 2 2Y + + + Data Validator + Validator + + Y + + 1 + + none + + +N +N +| + uom_id/id +uom_id + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + uom_po_id/id +uom_po_id + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + categ_id/id +category_id + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + name +name + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + default_code +default_code + + +Y +N +N +None +N + + + + + + + + + + + + + +N + + + + + + 510 + 532 + Y + + + + + Data Validator 2 + Validator + + Y + + 1 + + none + + +N +N +| + name +name + + +N +N +N +None +N + + + + + + + + + + + + + +N + + + + vat +vat exists + + +Y +N +N +None +N + + + + + + + + + + + + + +Y +vat_lookup.csv +vat_new + + + + 356 + 509 + Y + + + + + Data Validator 2 2 + Validator + + Y + + 1 + + none + + +N +N +| + product_tmpl_id/id +product_tmpl_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.template.csv +id + + + + 174 + 514 + Y + + + + + Data Validator 3 + Validator + + Y + + 1 + + none + + +N +N +| + product_id/id +product_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.product.csv +id + + + + 710 + 529 + Y + + + + + Data Validator 3 2 + Validator + + Y + + 1 + + none + + +N +N +| + product_id/id +product_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.product.csv +id + + + + 901 + 541 + Y + + + + + Data Validator 3 2 2 + Validator + + Y + + 1 + + none + + +N +N +| + product_tmpl_id/id +product_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +product.product.csv +id + + name/id +Lieferant partner_id + + +N +N +N +None +N + + + + + + + + + + + + + +Y +res.partner.csv +id + + + + 1124 + 535 + Y + + + + + product.product.csv + CsvInput + + N + + 1 + + none + + + ${GITREPOS}/cam_dmi/product.product.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + product_tmpl_id/id + String + + + + + -1 + -1 + none + + + + + 93 + 136 + Y + +
+ + + product.supplierinfo.csv + CsvInput + + Y + + 1 + + none + + + ${GITREPOS}/cam_dmi/product.supplierinfo.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name/id + String + + + + + -1 + -1 + none + + + product_name + String + + + + + -1 + -1 + none + + + product_code + String + + + + + -1 + -1 + none + + + sequence + String + + + + + -1 + -1 + none + + + min_qty + String + + + + + -1 + -1 + none + + + product_tmpl_id/id + String + + + + + -1 + -1 + none + + + delay + String + + + + + -1 + -1 + none + + + pricelist_ids/price + String + + + + + -1 + -1 + none + + + pricelist_ids/min_quantity + String + + + + + -1 + -1 + none + + + + + 1200 + 135 + Y + +
+ + + product.template.csv + CsvInput + + N + + 1 + + none + + + ${GITREPOS}/cam_dmi/product.template.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + default_code + String + + + + + -1 + -1 + none + + + sale_ok + String + + + + + -1 + -1 + none + + + type + String + + + + + -1 + -1 + none + + + uom_id/id + String + + + + + -1 + -1 + none + + + uom_po_id/id + String + + + + + -1 + -1 + none + + + route_ids/id + String + + + + + -1 + -1 + none + + + standard_price + String + + + + + -1 + -1 + none + + + list_price + String + + + + + -1 + -1 + none + + + description + String + + + + + -1 + -1 + none + + + categ_id/id + String + + + + + -1 + -1 + none + + + purchase_ok + String + + + + + -1 + -1 + none + + + weight_net + String + + + + + -1 + -1 + none + + + + + 541 + 133 + Y + +
+ + + res.partner.csv + CsvInput + + N + + 1 + + none + + + ${GITREPOS}/cam_dmi/res.partner.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + parent_id/id + String + + + + + -1 + -1 + none + + + street + String + + + + + -1 + -1 + none + + + city + String + + + + + -1 + -1 + none + + + zip + String + + + + + -1 + -1 + none + + + website + String + + + + + -1 + -1 + none + + + phone + String + + + + + -1 + -1 + none + + + mobile + String + + + + + -1 + -1 + none + + + fax + String + + + + + -1 + -1 + none + + + email + String + + + + + -1 + -1 + none + + + comment + String + + + + + -1 + -1 + none + + + ref + String + + + + + -1 + -1 + none + + + lang + String + + + + + -1 + -1 + none + + + vat + String + + + + + -1 + -1 + none + + + date + String + + + + + -1 + -1 + none + + + is_company + String + + + + + -1 + -1 + none + + + function + String + + + + + -1 + -1 + none + + + use_parent_address + String + + + + + -1 + -1 + none + + + country_id/id + String + + + + + -1 + -1 + none + + + customer + String + + + + + -1 + -1 + none + + + supplier + String + + + + + -1 + -1 + none + + + notify_email + String + + + + + -1 + -1 + none + + + + + 380 + 129 + Y + +
+ + + stock.inventory.line.csv + CsvInput + + Y + + 1 + + none + + + ${GITREPOS}/cam_dmi/stock.inventory.line.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + inventory_id/id + String + + + + + -1 + -1 + none + + + product_id/id + String + + + + + -1 + -1 + none + + + location_id/id + String + + + + + -1 + -1 + none + + + product_uom_id/id + String + + + + + -1 + -1 + none + + + product_qty + String + + + + + -1 + -1 + none + + + + + 1000 + 133 + Y + +
+ + + stock.warehouse.orderpoint.csv + CsvInput + + Y + + 1 + + none + + + ${GITREPOS}/cam_dmi/stock.warehouse.orderpoint.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + id + String + + + + + -1 + -1 + none + + + name + String + + + + + -1 + -1 + none + + + product_id/id + String + + + + + -1 + -1 + none + + + product_min_qty + String + + + + + -1 + -1 + none + + + product_max_qty + String + + + + + -1 + -1 + none + + + qty_multiple + String + + + + + -1 + -1 + none + + + + + 764 + 134 + Y + +
+ + + vat_lookup.csv + CsvInput + + Y + + 1 + + none + + + ${GITREPOS}/cam_dmi/vat_lookup.csv + + + N + , + " +
Y
+ 50000 + Y + N + N + N + + + + vat_old + String + + + + + -1 + -1 + none + + + vat_new + String + + + + + -1 + -1 + none + + + + + 243 + 132 + Y + +
+ + + + + + N + + diff --git a/dev/dmi/run1/cam_dmi/__init__.py b/dev/dmi/run1/cam_dmi/__init__.py new file mode 100755 index 00000000..49a09e55 --- /dev/null +++ b/dev/dmi/run1/cam_dmi/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# 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 . +# +############################################################################## + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + diff --git a/dev/dmi/run1/cam_dmi/__openerp__.py b/dev/dmi/run1/cam_dmi/__openerp__.py new file mode 100755 index 00000000..e642b311 --- /dev/null +++ b/dev/dmi/run1/cam_dmi/__openerp__.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# 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 . +# +############################################################################## + + +{ + 'name': 'Datenübernahme', + 'category': 'Custom', + 'version': '1.0', + 'description': """Datenübernahme""", + 'author': 'camadeus GmbH', + 'website': 'http://www.camadeus.at', + 'depends': ['mail','cam_reports'], + 'data': [ + 'res.users.csv', + ], + 'installable': True, + 'auto_install': False, +} + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/dev/dmi/run1/cam_dmi/res.users.csv b/dev/dmi/run1/cam_dmi/res.users.csv new file mode 100644 index 00000000..ad16983a --- /dev/null +++ b/dev/dmi/run1/cam_dmi/res.users.csv @@ -0,0 +1,2 @@ +"id","name","login","password","email","groups_id/id","tz","mobile","phone","function" +"p_xxx","Max Mustermann","mustermann@max.at","x","mustermann@max.at","base.group_sale_salesman_all_leads,account.group_account_invoice,base.group_erp_manager,stock.group_stock_user,purchase.group_purchase_user","Europe/Vienna",,, diff --git a/dev/dmi/run1/cam_dmi/static/description/icon.png b/dev/dmi/run1/cam_dmi/static/description/icon.png new file mode 100644 index 00000000..fd7ee3b9 Binary files /dev/null and b/dev/dmi/run1/cam_dmi/static/description/icon.png differ diff --git a/dev/dmi/run1/input/README.txt b/dev/dmi/run1/input/README.txt new file mode 100644 index 00000000..4a5cf9ef --- /dev/null +++ b/dev/dmi/run1/input/README.txt @@ -0,0 +1 @@ +place here csv-Files \ No newline at end of file diff --git a/dev/odoo-server-dev-br.conf b/dev/odoo-server-dev-br.conf index 370b7c29..eb27d1a2 100644 --- a/dev/odoo-server-dev-br.conf +++ b/dev/odoo-server-dev-br.conf @@ -8,7 +8,7 @@ db_port = 5436 db_user = False db_password = False -addons_path = ext/odoo/addons,ext/custom-addons +addons_path = ext/odoo/addons,ext/custom-addons,dev/dmi/run1 timezone = Europe/Brussels #dbfilter_test = ['.*',] \ No newline at end of file diff --git a/dev/odoo-server-dev-sk.conf b/dev/odoo-server-dev-sk.conf index b8156970..4298cca5 100644 --- a/dev/odoo-server-dev-sk.conf +++ b/dev/odoo-server-dev-sk.conf @@ -8,7 +8,7 @@ db_port = 5433 db_user = False db_password = False -addons_path = ext/odoo/addons,ext/custom-addons +addons_path = ext/odoo/addons,ext/custom-addons,dev/dmi/run1 timezone = Europe/Brussels #dbfilter_test = ['.*',] \ No newline at end of file diff --git a/ext/custom-addons/cam_custom/__openerp__.py b/ext/custom-addons/cam_custom/__openerp__.py index d1ae3a28..7709fa23 100644 --- a/ext/custom-addons/cam_custom/__openerp__.py +++ b/ext/custom-addons/cam_custom/__openerp__.py @@ -27,7 +27,7 @@ 'description': """Individuelle Anpassungen""", 'author': 'camadeus GmbH', 'website': 'http://www.camadeus.at', - 'depends': ['crm','sale','mail','account'], + 'depends': ['crm','sale','mail','product','account'], 'data': [ 'cam_custom_view.xml', 'cam_custom_data.xml', diff --git a/ext/custom-addons/cam_custom/i18n/de.po b/ext/custom-addons/cam_custom/i18n/de.po new file mode 100644 index 00000000..fbbd795a --- /dev/null +++ b/ext/custom-addons/cam_custom/i18n/de.po @@ -0,0 +1,25 @@ +# German translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2012. +# + +msgid "" +msgstr "" +"Project-Id-Version: camadeus\n" +"Report-Msgid-Bugs-To: Andreas Brueckl \n" +"POT-Creation-Date: 2014-09-23 16:26+0000\n" +"PO-Revision-Date: 2014-08-14 16:14+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Abkhazian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2014-09-24 09:44+0000\n" +"X-Generator: Launchpad (build 17196)\n" + +#. module: cam_custom +#: field:product.product,default_code:0 +#: field:product.template,default_code:0 +msgid "Internal Reference" +msgstr "Artikelnummer" diff --git a/setup/lib/config_at.py b/setup/lib/config_at.py index e46f6261..c38baa22 100644 --- a/setup/lib/config_at.py +++ b/setup/lib/config_at.py @@ -93,7 +93,7 @@ class Config(): # }, # 'account.invoice': { # 'number_next_actual': 2000, -# 'prefix': '14-', +# 'prefix': '15-', # 'padding': 4, # }, } diff --git a/setup/lib/functions.py b/setup/lib/functions.py index df8984d8..13977342 100755 --- a/setup/lib/functions.py +++ b/setup/lib/functions.py @@ -285,7 +285,13 @@ class CamadeusFunctions(): for uom_xml_id in active_uoms: uom_id = self._execute('ir.model.data', 'xmlid_to_res_id', uom_xml_id) active_ids.append(uom_id) - + + # Set all UOMs to active + ids = self._execute('product.uom', 'search', ['|',('active','=',True),('active','=',False)]) + res = self._execute('product.uom', 'write', ids, {'active': True}) + if not res: + return False + # Set all other UOMs to inactive inactive_ids = self._execute('product.uom', 'search', [('id','not in',active_ids)]) res = self._execute('product.uom', 'write', inactive_ids, {'active': False})