dmi, set_uom function, translation
							parent
							
								
									3850254f1a
								
							
						
					
					
						commit
						ffdfaa4dc5
					
				
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							|  | @ -0,0 +1,883 @@ | ||||||
|  | <transformation> | ||||||
|  |   <info> | ||||||
|  |     <name>VAT-Lookup</name> | ||||||
|  |     <description/> | ||||||
|  |     <extended_description/> | ||||||
|  |     <trans_version/> | ||||||
|  |     <trans_type>Normal</trans_type> | ||||||
|  |     <trans_status>0</trans_status> | ||||||
|  |     <directory>/</directory> | ||||||
|  |     <parameters> | ||||||
|  |     </parameters> | ||||||
|  |     <log> | ||||||
|  | <trans-log-table><connection/> | ||||||
|  | <schema/> | ||||||
|  | <table/> | ||||||
|  | <size_limit_lines/> | ||||||
|  | <interval/> | ||||||
|  | <timeout_days/> | ||||||
|  | <field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field><field><id>EXECUTING_SERVER</id><enabled>N</enabled><name>EXECUTING_SERVER</name></field><field><id>EXECUTING_USER</id><enabled>N</enabled><name>EXECUTING_USER</name></field><field><id>CLIENT</id><enabled>N</enabled><name>CLIENT</name></field></trans-log-table> | ||||||
|  | <perf-log-table><connection/> | ||||||
|  | <schema/> | ||||||
|  | <table/> | ||||||
|  | <interval/> | ||||||
|  | <timeout_days/> | ||||||
|  | <field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table> | ||||||
|  | <channel-log-table><connection/> | ||||||
|  | <schema/> | ||||||
|  | <table/> | ||||||
|  | <timeout_days/> | ||||||
|  | <field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table> | ||||||
|  | <step-log-table><connection/> | ||||||
|  | <schema/> | ||||||
|  | <table/> | ||||||
|  | <timeout_days/> | ||||||
|  | <field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table> | ||||||
|  | <metrics-log-table><connection/> | ||||||
|  | <schema/> | ||||||
|  | <table/> | ||||||
|  | <timeout_days/> | ||||||
|  | <field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>METRICS_DATE</id><enabled>Y</enabled><name>METRICS_DATE</name></field><field><id>METRICS_CODE</id><enabled>Y</enabled><name>METRICS_CODE</name></field><field><id>METRICS_DESCRIPTION</id><enabled>Y</enabled><name>METRICS_DESCRIPTION</name></field><field><id>METRICS_SUBJECT</id><enabled>Y</enabled><name>METRICS_SUBJECT</name></field><field><id>METRICS_TYPE</id><enabled>Y</enabled><name>METRICS_TYPE</name></field><field><id>METRICS_VALUE</id><enabled>Y</enabled><name>METRICS_VALUE</name></field></metrics-log-table> | ||||||
|  |     </log> | ||||||
|  |     <maxdate> | ||||||
|  |       <connection/> | ||||||
|  |       <table/> | ||||||
|  |       <field/> | ||||||
|  |       <offset>0.0</offset> | ||||||
|  |       <maxdiff>0.0</maxdiff> | ||||||
|  |     </maxdate> | ||||||
|  |     <size_rowset>10000</size_rowset> | ||||||
|  |     <sleep_time_empty>50</sleep_time_empty> | ||||||
|  |     <sleep_time_full>50</sleep_time_full> | ||||||
|  |     <unique_connections>N</unique_connections> | ||||||
|  |     <feedback_shown>Y</feedback_shown> | ||||||
|  |     <feedback_size>50000</feedback_size> | ||||||
|  |     <using_thread_priorities>Y</using_thread_priorities> | ||||||
|  |     <shared_objects_file/> | ||||||
|  |     <capture_step_performance>N</capture_step_performance> | ||||||
|  |     <step_performance_capturing_delay>1000</step_performance_capturing_delay> | ||||||
|  |     <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> | ||||||
|  |     <dependencies> | ||||||
|  |     </dependencies> | ||||||
|  |     <partitionschemas> | ||||||
|  |     </partitionschemas> | ||||||
|  |     <slaveservers> | ||||||
|  |     </slaveservers> | ||||||
|  |     <clusterschemas> | ||||||
|  |     </clusterschemas> | ||||||
|  |   <created_user>-</created_user> | ||||||
|  |   <created_date>2014/12/30 12:25:19.832</created_date> | ||||||
|  |   <modified_user>-</modified_user> | ||||||
|  |   <modified_date>2015/01/13 16:28:08.336</modified_date> | ||||||
|  |   </info> | ||||||
|  |   <notepads> | ||||||
|  |   </notepads> | ||||||
|  |   <order> | ||||||
|  |   <hop> <from>REST Client</from><to>Get data from XML</to><enabled>Y</enabled> </hop> | ||||||
|  |   <hop> <from>kunden_20150107.csv</from><to>Select values</to><enabled>Y</enabled> </hop> | ||||||
|  |   <hop> <from>ieferanten_20150107.csv</from><to>Select values 2</to><enabled>Y</enabled> </hop> | ||||||
|  |   <hop> <from>Select values</from><to>Create URL</to><enabled>Y</enabled> </hop> | ||||||
|  |   <hop> <from>Select values 2</from><to>Create URL</to><enabled>Y</enabled> </hop> | ||||||
|  |   <hop> <from>Create URL</from><to>REST Client</to><enabled>Y</enabled> </hop> | ||||||
|  |   <hop> <from>Get data from XML</from><to>Aufbereiten</to><enabled>Y</enabled> </hop> | ||||||
|  |   <hop> <from>Aufbereiten</from><to>vat_lookup.csv</to><enabled>Y</enabled> </hop> | ||||||
|  |   </order> | ||||||
|  |   <step> | ||||||
|  |     <name>Aufbereiten</name> | ||||||
|  |     <type>UserDefinedJavaClass</type> | ||||||
|  |     <description/> | ||||||
|  |     <distribute>N</distribute> | ||||||
|  |     <custom_distribution/> | ||||||
|  |     <copies>1</copies> | ||||||
|  |          <partitioning> | ||||||
|  |            <method>none</method> | ||||||
|  |            <schema_name/> | ||||||
|  |            </partitioning> | ||||||
|  | 
 | ||||||
|  |     <definitions> | ||||||
|  |         <definition> | ||||||
|  |         <class_type>TRANSFORM_CLASS</class_type> | ||||||
|  | 
 | ||||||
|  |         <class_name>Processor</class_name> | ||||||
|  | 
 | ||||||
|  |         <class_source><![CDATA[public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException | ||||||
|  | { | ||||||
|  | 	Object[] r = getRow(); | ||||||
|  | 
 | ||||||
|  | 	if (r == null) { | ||||||
|  | 	  setOutputDone(); | ||||||
|  | 	  return false; | ||||||
|  | 	} | ||||||
|  |     Object[] out = createOutputRow(r, data.outputRowMeta.size()); | ||||||
|  | 	 | ||||||
|  | 	// Direct Mappings: | ||||||
|  | 
 | ||||||
|  | 	get(Fields.Out, "vat_old").setValue(out, get(Fields.In, "vat_old").getString(r)); | ||||||
|  | 
 | ||||||
|  | 	String cc = get(Fields.In, "country_code").getString(r); | ||||||
|  | 
 | ||||||
|  | 	String valid = get(Fields.In, "valid").getString(r); | ||||||
|  | 	String vatnr = get(Fields.In, "vatnr").getString(r); | ||||||
|  | 	String vat_new = ""; | ||||||
|  | 	if (valid.equals("true")) { | ||||||
|  | 		vat_new = cc + vatnr; | ||||||
|  | 	} | ||||||
|  | 	get(Fields.Out, "vat_new").setValue(out, vat_new); | ||||||
|  | 	// Send the row on to the next step. | ||||||
|  |    	putRow(data.outputRowMeta, out); | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 	return true; | ||||||
|  | }]]></class_source> | ||||||
|  |         </definition> | ||||||
|  |     </definitions> | ||||||
|  |     <fields> | ||||||
|  |         <field> | ||||||
|  |         <field_name>vat_old</field_name> | ||||||
|  | 
 | ||||||
|  |         <field_type>String</field_type> | ||||||
|  | 
 | ||||||
|  |         <field_length>-1</field_length> | ||||||
|  | 
 | ||||||
|  |         <field_precision>-1</field_precision> | ||||||
|  | 
 | ||||||
|  |         </field> | ||||||
|  |         <field> | ||||||
|  |         <field_name>vat_new</field_name> | ||||||
|  | 
 | ||||||
|  |         <field_type>String</field_type> | ||||||
|  | 
 | ||||||
|  |         <field_length>-1</field_length> | ||||||
|  | 
 | ||||||
|  |         <field_precision>-1</field_precision> | ||||||
|  | 
 | ||||||
|  |         </field> | ||||||
|  |     </fields><clear_result_fields>Y</clear_result_fields> | ||||||
|  | <info_steps></info_steps><target_steps></target_steps><usage_parameters></usage_parameters>     <cluster_schema/> | ||||||
|  |  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||||
|  |       <xloc>211</xloc> | ||||||
|  |       <yloc>467</yloc> | ||||||
|  |       <draw>Y</draw> | ||||||
|  |       </GUI> | ||||||
|  |     </step> | ||||||
|  | 
 | ||||||
|  |   <step> | ||||||
|  |     <name>Create URL</name> | ||||||
|  |     <type>UserDefinedJavaClass</type> | ||||||
|  |     <description/> | ||||||
|  |     <distribute>N</distribute> | ||||||
|  |     <custom_distribution/> | ||||||
|  |     <copies>1</copies> | ||||||
|  |          <partitioning> | ||||||
|  |            <method>none</method> | ||||||
|  |            <schema_name/> | ||||||
|  |            </partitioning> | ||||||
|  | 
 | ||||||
|  |     <definitions> | ||||||
|  |         <definition> | ||||||
|  |         <class_type>TRANSFORM_CLASS</class_type> | ||||||
|  | 
 | ||||||
|  |         <class_name>Processor</class_name> | ||||||
|  | 
 | ||||||
|  |         <class_source><![CDATA[public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException | ||||||
|  | { | ||||||
|  | 	Object[] r = getRow(); | ||||||
|  | 
 | ||||||
|  | 	if (r == null) { | ||||||
|  | 	  setOutputDone(); | ||||||
|  | 	  return false; | ||||||
|  | 	} | ||||||
|  |     Object[] out = createOutputRow(r, data.outputRowMeta.size()); | ||||||
|  | 	 | ||||||
|  | 	// Direct Mappings: | ||||||
|  | 
 | ||||||
|  | 	 | ||||||
|  | 
 | ||||||
|  | 	// For every row | ||||||
|  | 	String vat = get(Fields.In, "vat").getString(r);	 | ||||||
|  | 	if (vat != null) { | ||||||
|  | 		vat = vat.replaceAll("\\s+",""); | ||||||
|  | 	 // http://vatid.eu/check/<country_code>/<vat_number> | ||||||
|  | 		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; | ||||||
|  | }]]></class_source> | ||||||
|  |         </definition> | ||||||
|  |     </definitions> | ||||||
|  |     <fields> | ||||||
|  |         <field> | ||||||
|  |         <field_name>help_url</field_name> | ||||||
|  | 
 | ||||||
|  |         <field_type>String</field_type> | ||||||
|  | 
 | ||||||
|  |         <field_length>-1</field_length> | ||||||
|  | 
 | ||||||
|  |         <field_precision>-1</field_precision> | ||||||
|  | 
 | ||||||
|  |         </field> | ||||||
|  |         <field> | ||||||
|  |         <field_name>vat_old</field_name> | ||||||
|  | 
 | ||||||
|  |         <field_type>String</field_type> | ||||||
|  | 
 | ||||||
|  |         <field_length>-1</field_length> | ||||||
|  | 
 | ||||||
|  |         <field_precision>-1</field_precision> | ||||||
|  | 
 | ||||||
|  |         </field> | ||||||
|  |     </fields><clear_result_fields>Y</clear_result_fields> | ||||||
|  | <info_steps></info_steps><target_steps></target_steps><usage_parameters></usage_parameters>     <cluster_schema/> | ||||||
|  |  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||||
|  |       <xloc>214</xloc> | ||||||
|  |       <yloc>219</yloc> | ||||||
|  |       <draw>Y</draw> | ||||||
|  |       </GUI> | ||||||
|  |     </step> | ||||||
|  | 
 | ||||||
|  |   <step> | ||||||
|  |     <name>Get data from XML</name> | ||||||
|  |     <type>getXMLData</type> | ||||||
|  |     <description/> | ||||||
|  |     <distribute>Y</distribute> | ||||||
|  |     <custom_distribution/> | ||||||
|  |     <copies>1</copies> | ||||||
|  |          <partitioning> | ||||||
|  |            <method>none</method> | ||||||
|  |            <schema_name/> | ||||||
|  |            </partitioning> | ||||||
|  |     <include>N</include> | ||||||
|  |     <include_field/> | ||||||
|  |     <rownum>N</rownum> | ||||||
|  |     <addresultfile>N</addresultfile> | ||||||
|  |     <namespaceaware>N</namespaceaware> | ||||||
|  |     <ignorecomments>N</ignorecomments> | ||||||
|  |     <readurl>N</readurl> | ||||||
|  |     <validating>N</validating> | ||||||
|  |     <usetoken>N</usetoken> | ||||||
|  |     <IsIgnoreEmptyFile>N</IsIgnoreEmptyFile> | ||||||
|  |     <doNotFailIfNoFile>Y</doNotFailIfNoFile> | ||||||
|  |     <rownum_field/> | ||||||
|  |     <encoding>UTF-8</encoding> | ||||||
|  |     <file> | ||||||
|  |       <name/> | ||||||
|  |       <filemask/> | ||||||
|  |       <exclude_filemask/> | ||||||
|  |       <file_required>N</file_required> | ||||||
|  |       <include_subfolders>N</include_subfolders> | ||||||
|  |     </file> | ||||||
|  |     <fields> | ||||||
|  |       <field> | ||||||
|  |         <name>valid</name> | ||||||
|  |         <xpath>/response/valid</xpath> | ||||||
|  |         <element_type>node</element_type> | ||||||
|  |         <result_type>valueof</result_type> | ||||||
|  |         <type>None</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |         <repeat>N</repeat> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>vatnr</name> | ||||||
|  |         <xpath>/response/vat-number</xpath> | ||||||
|  |         <element_type>node</element_type> | ||||||
|  |         <result_type>valueof</result_type> | ||||||
|  |         <type>None</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |         <repeat>N</repeat> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>country_code</name> | ||||||
|  |         <xpath>/response/country-code</xpath> | ||||||
|  |         <element_type>node</element_type> | ||||||
|  |         <result_type>valueof</result_type> | ||||||
|  |         <type>None</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |         <repeat>N</repeat> | ||||||
|  |       </field> | ||||||
|  |     </fields> | ||||||
|  |     <limit>0</limit> | ||||||
|  |     <loopxpath>/response/valid</loopxpath> | ||||||
|  |     <IsInFields>Y</IsInFields> | ||||||
|  |     <IsAFile>N</IsAFile> | ||||||
|  |     <XmlField>help_result</XmlField> | ||||||
|  |     <prunePath/> | ||||||
|  |     <shortFileFieldName/> | ||||||
|  |     <pathFieldName/> | ||||||
|  |     <hiddenFieldName/> | ||||||
|  |     <lastModificationTimeFieldName/> | ||||||
|  |     <uriNameFieldName/> | ||||||
|  |     <rootUriNameFieldName/> | ||||||
|  |     <extensionFieldName/> | ||||||
|  |     <sizeFieldName/> | ||||||
|  |      <cluster_schema/> | ||||||
|  |  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||||
|  |       <xloc>213</xloc> | ||||||
|  |       <yloc>380</yloc> | ||||||
|  |       <draw>Y</draw> | ||||||
|  |       </GUI> | ||||||
|  |     </step> | ||||||
|  | 
 | ||||||
|  |   <step> | ||||||
|  |     <name>REST Client</name> | ||||||
|  |     <type>Rest</type> | ||||||
|  |     <description/> | ||||||
|  |     <distribute>N</distribute> | ||||||
|  |     <custom_distribution/> | ||||||
|  |     <copies>1</copies> | ||||||
|  |          <partitioning> | ||||||
|  |            <method>none</method> | ||||||
|  |            <schema_name/> | ||||||
|  |            </partitioning> | ||||||
|  |     <applicationType>TEXT PLAIN</applicationType> | ||||||
|  |     <method>GET</method> | ||||||
|  |     <url/> | ||||||
|  |     <urlInField>Y</urlInField> | ||||||
|  |     <dynamicMethod>N</dynamicMethod> | ||||||
|  |     <methodFieldName/> | ||||||
|  |     <urlField>help_url</urlField> | ||||||
|  |     <bodyField/> | ||||||
|  |     <httpLogin/> | ||||||
|  |     <httpPassword>Encrypted </httpPassword> | ||||||
|  |     <proxyHost/> | ||||||
|  |     <proxyPort/> | ||||||
|  |     <preemptive>N</preemptive> | ||||||
|  |     <trustStoreFile/> | ||||||
|  |     <trustStorePassword>Encrypted </trustStorePassword> | ||||||
|  |     <headers> | ||||||
|  |       </headers> | ||||||
|  |     <parameters> | ||||||
|  |       </parameters> | ||||||
|  |     <result> | ||||||
|  |       <name>help_result</name> | ||||||
|  |       <code>help_resultcode</code> | ||||||
|  |       <response_time/> | ||||||
|  |       </result> | ||||||
|  |      <cluster_schema/> | ||||||
|  |  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||||
|  |       <xloc>212</xloc> | ||||||
|  |       <yloc>287</yloc> | ||||||
|  |       <draw>Y</draw> | ||||||
|  |       </GUI> | ||||||
|  |     </step> | ||||||
|  | 
 | ||||||
|  |   <step> | ||||||
|  |     <name>Select values</name> | ||||||
|  |     <type>SelectValues</type> | ||||||
|  |     <description/> | ||||||
|  |     <distribute>Y</distribute> | ||||||
|  |     <custom_distribution/> | ||||||
|  |     <copies>1</copies> | ||||||
|  |          <partitioning> | ||||||
|  |            <method>none</method> | ||||||
|  |            <schema_name/> | ||||||
|  |            </partitioning> | ||||||
|  |     <fields>      <field>        <name>Steuernummer</name> | ||||||
|  |         <rename>vat</rename> | ||||||
|  |         <length>-2</length> | ||||||
|  |         <precision>-2</precision> | ||||||
|  |       </field>        <select_unspecified>N</select_unspecified> | ||||||
|  |     </fields>     <cluster_schema/> | ||||||
|  |  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||||
|  |       <xloc>124</xloc> | ||||||
|  |       <yloc>159</yloc> | ||||||
|  |       <draw>Y</draw> | ||||||
|  |       </GUI> | ||||||
|  |     </step> | ||||||
|  | 
 | ||||||
|  |   <step> | ||||||
|  |     <name>Select values 2</name> | ||||||
|  |     <type>SelectValues</type> | ||||||
|  |     <description/> | ||||||
|  |     <distribute>Y</distribute> | ||||||
|  |     <custom_distribution/> | ||||||
|  |     <copies>1</copies> | ||||||
|  |          <partitioning> | ||||||
|  |            <method>none</method> | ||||||
|  |            <schema_name/> | ||||||
|  |            </partitioning> | ||||||
|  |     <fields>      <field>        <name>Steuer Nr.</name> | ||||||
|  |         <rename>vat</rename> | ||||||
|  |         <length>-2</length> | ||||||
|  |         <precision>-2</precision> | ||||||
|  |       </field>        <select_unspecified>N</select_unspecified> | ||||||
|  |     </fields>     <cluster_schema/> | ||||||
|  |  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||||
|  |       <xloc>290</xloc> | ||||||
|  |       <yloc>155</yloc> | ||||||
|  |       <draw>Y</draw> | ||||||
|  |       </GUI> | ||||||
|  |     </step> | ||||||
|  | 
 | ||||||
|  |   <step> | ||||||
|  |     <name>ieferanten_20150107.csv</name> | ||||||
|  |     <type>CsvInput</type> | ||||||
|  |     <description/> | ||||||
|  |     <distribute>N</distribute> | ||||||
|  |     <custom_distribution/> | ||||||
|  |     <copies>1</copies> | ||||||
|  |          <partitioning> | ||||||
|  |            <method>none</method> | ||||||
|  |            <schema_name/> | ||||||
|  |            </partitioning> | ||||||
|  |     <filename>${GITREPOS}/input/lieferanten_20150107.csv</filename> | ||||||
|  |     <filename_field/> | ||||||
|  |     <rownum_field/> | ||||||
|  |     <include_filename>N</include_filename> | ||||||
|  |     <separator>,</separator> | ||||||
|  |     <enclosure>"</enclosure> | ||||||
|  |     <header>Y</header> | ||||||
|  |     <buffer_size>50000</buffer_size> | ||||||
|  |     <lazy_conversion>Y</lazy_conversion> | ||||||
|  |     <add_filename_result>N</add_filename_result> | ||||||
|  |     <parallel>N</parallel> | ||||||
|  |     <newline_possible>N</newline_possible> | ||||||
|  |     <encoding/> | ||||||
|  |     <fields> | ||||||
|  |       <field> | ||||||
|  |         <name>Lieferanten Nr</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Suchname</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Bezeichnung</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Firmenname</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Ansprechpartner</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Strasse</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>PLZ</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Stadt</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Land</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Code</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Steuer Nr.</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Mail</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |     </fields> | ||||||
|  |      <cluster_schema/> | ||||||
|  |  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||||
|  |       <xloc>282</xloc> | ||||||
|  |       <yloc>68</yloc> | ||||||
|  |       <draw>Y</draw> | ||||||
|  |       </GUI> | ||||||
|  |     </step> | ||||||
|  | 
 | ||||||
|  |   <step> | ||||||
|  |     <name>kunden_20150107.csv</name> | ||||||
|  |     <type>CsvInput</type> | ||||||
|  |     <description/> | ||||||
|  |     <distribute>Y</distribute> | ||||||
|  |     <custom_distribution/> | ||||||
|  |     <copies>1</copies> | ||||||
|  |          <partitioning> | ||||||
|  |            <method>none</method> | ||||||
|  |            <schema_name/> | ||||||
|  |            </partitioning> | ||||||
|  |     <filename>${GITREPOS}/input/kunden_20150107.csv</filename> | ||||||
|  |     <filename_field/> | ||||||
|  |     <rownum_field/> | ||||||
|  |     <include_filename>N</include_filename> | ||||||
|  |     <separator>,</separator> | ||||||
|  |     <enclosure>"</enclosure> | ||||||
|  |     <header>Y</header> | ||||||
|  |     <buffer_size>50000</buffer_size> | ||||||
|  |     <lazy_conversion>Y</lazy_conversion> | ||||||
|  |     <add_filename_result>N</add_filename_result> | ||||||
|  |     <parallel>N</parallel> | ||||||
|  |     <newline_possible>N</newline_possible> | ||||||
|  |     <encoding/> | ||||||
|  |     <fields> | ||||||
|  |       <field> | ||||||
|  |         <name>Kundennr</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Suchname</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Type</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Name</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Ansprechpartner</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Adresse</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>PLZ</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Ort</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Land</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Telefon</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Fax</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>mail</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Steuernummer</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Rechnung per Mail</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>Zahlungsziel</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |       </field> | ||||||
|  |     </fields> | ||||||
|  |      <cluster_schema/> | ||||||
|  |  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||||
|  |       <xloc>127</xloc> | ||||||
|  |       <yloc>69</yloc> | ||||||
|  |       <draw>Y</draw> | ||||||
|  |       </GUI> | ||||||
|  |     </step> | ||||||
|  | 
 | ||||||
|  |   <step> | ||||||
|  |     <name>vat_lookup.csv</name> | ||||||
|  |     <type>TextFileOutput</type> | ||||||
|  |     <description/> | ||||||
|  |     <distribute>Y</distribute> | ||||||
|  |     <custom_distribution/> | ||||||
|  |     <copies>1</copies> | ||||||
|  |          <partitioning> | ||||||
|  |            <method>none</method> | ||||||
|  |            <schema_name/> | ||||||
|  |            </partitioning> | ||||||
|  |     <separator>,</separator> | ||||||
|  |     <enclosure>"</enclosure> | ||||||
|  |     <enclosure_forced>N</enclosure_forced> | ||||||
|  |     <enclosure_fix_disabled>N</enclosure_fix_disabled> | ||||||
|  |     <header>Y</header> | ||||||
|  |     <footer>N</footer> | ||||||
|  |     <format>DOS</format> | ||||||
|  |     <compression>None</compression> | ||||||
|  |     <encoding>UTF-8</encoding> | ||||||
|  |     <endedLine/> | ||||||
|  |     <fileNameInField>N</fileNameInField> | ||||||
|  |     <fileNameField/> | ||||||
|  |     <create_parent_folder>Y</create_parent_folder> | ||||||
|  |     <file> | ||||||
|  |       <name>${GITREPOS}/cam_dmi/vat_lookup</name> | ||||||
|  |       <is_command>N</is_command> | ||||||
|  |       <servlet_output>N</servlet_output> | ||||||
|  |       <do_not_open_new_file_init>N</do_not_open_new_file_init> | ||||||
|  |       <extention>csv</extention> | ||||||
|  |       <append>N</append> | ||||||
|  |       <split>N</split> | ||||||
|  |       <haspartno>N</haspartno> | ||||||
|  |       <add_date>N</add_date> | ||||||
|  |       <add_time>N</add_time> | ||||||
|  |       <SpecifyFormat>N</SpecifyFormat> | ||||||
|  |       <date_time_format/> | ||||||
|  |       <add_to_result_filenames>Y</add_to_result_filenames> | ||||||
|  |       <pad>N</pad> | ||||||
|  |       <fast_dump>N</fast_dump> | ||||||
|  |       <splitevery>0</splitevery> | ||||||
|  |     </file> | ||||||
|  |     <fields> | ||||||
|  |       <field> | ||||||
|  |         <name>vat_old</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <nullif/> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |       </field> | ||||||
|  |       <field> | ||||||
|  |         <name>vat_new</name> | ||||||
|  |         <type>String</type> | ||||||
|  |         <format/> | ||||||
|  |         <currency/> | ||||||
|  |         <decimal/> | ||||||
|  |         <group/> | ||||||
|  |         <nullif/> | ||||||
|  |         <trim_type>none</trim_type> | ||||||
|  |         <length>-1</length> | ||||||
|  |         <precision>-1</precision> | ||||||
|  |       </field> | ||||||
|  |     </fields> | ||||||
|  |      <cluster_schema/> | ||||||
|  |  <remotesteps>   <input>   </input>   <output>   </output> </remotesteps>    <GUI> | ||||||
|  |       <xloc>208</xloc> | ||||||
|  |       <yloc>587</yloc> | ||||||
|  |       <draw>Y</draw> | ||||||
|  |       </GUI> | ||||||
|  |     </step> | ||||||
|  | 
 | ||||||
|  |   <step_error_handling> | ||||||
|  |   </step_error_handling> | ||||||
|  |    <slave-step-copy-partition-distribution> | ||||||
|  | </slave-step-copy-partition-distribution> | ||||||
|  |    <slave_transformation>N</slave_transformation> | ||||||
|  | 
 | ||||||
|  | </transformation> | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							|  | @ -0,0 +1,23 @@ | ||||||
|  | # -*- coding: utf-8 -*- | ||||||
|  | ############################################################################## | ||||||
|  | # | ||||||
|  | #    OpenERP, Open Source Management Solution | ||||||
|  | #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). | ||||||
|  | # | ||||||
|  | #    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 <http://www.gnu.org/licenses/>. | ||||||
|  | # | ||||||
|  | ############################################################################## | ||||||
|  | 
 | ||||||
|  | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||||||
|  | 
 | ||||||
|  | @ -0,0 +1,38 @@ | ||||||
|  | # -*- coding: utf-8 -*- | ||||||
|  | ############################################################################## | ||||||
|  | # | ||||||
|  | #    OpenERP, Open Source Management Solution | ||||||
|  | #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). | ||||||
|  | # | ||||||
|  | #    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 <http://www.gnu.org/licenses/>. | ||||||
|  | # | ||||||
|  | ############################################################################## | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | { | ||||||
|  |     '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: | ||||||
|  | @ -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",,, | ||||||
| 
 | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.8 KiB | 
|  | @ -0,0 +1 @@ | ||||||
|  | place here csv-Files | ||||||
|  | @ -8,7 +8,7 @@ db_port = 5436 | ||||||
| db_user = False | db_user = False | ||||||
| db_password = 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 | timezone = Europe/Brussels | ||||||
| 
 | 
 | ||||||
| #dbfilter_test = ['.*',] | #dbfilter_test = ['.*',] | ||||||
|  | @ -8,7 +8,7 @@ db_port = 5433 | ||||||
| db_user = False | db_user = False | ||||||
| db_password = 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 | timezone = Europe/Brussels | ||||||
| 
 | 
 | ||||||
| #dbfilter_test = ['.*',] | #dbfilter_test = ['.*',] | ||||||
|  | @ -27,7 +27,7 @@ | ||||||
|     'description': """Individuelle Anpassungen""", |     'description': """Individuelle Anpassungen""", | ||||||
|     'author': 'camadeus GmbH', |     'author': 'camadeus GmbH', | ||||||
|     'website': 'http://www.camadeus.at', |     'website': 'http://www.camadeus.at', | ||||||
|     'depends': ['crm','sale','mail','account'], |     'depends': ['crm','sale','mail','product','account'], | ||||||
|     'data': [          |     'data': [          | ||||||
|         'cam_custom_view.xml', |         'cam_custom_view.xml', | ||||||
|         'cam_custom_data.xml', |         'cam_custom_data.xml', | ||||||
|  |  | ||||||
|  | @ -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 <EMAIL@ADDRESS>, 2012. | ||||||
|  | # | ||||||
|  | 
 | ||||||
|  | msgid "" | ||||||
|  | msgstr "" | ||||||
|  | "Project-Id-Version: camadeus\n" | ||||||
|  | "Report-Msgid-Bugs-To: Andreas Brueckl <andreas.brueckl@camadeus.at>\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 <EMAIL@ADDRESS>\n" | ||||||
|  | "Language-Team: Abkhazian <ab@li.org>\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" | ||||||
|  | @ -93,7 +93,7 @@ class Config(): | ||||||
| #             }, | #             }, | ||||||
| #             'account.invoice':  {  | #             'account.invoice':  {  | ||||||
| #                 'number_next_actual': 2000,  | #                 'number_next_actual': 2000,  | ||||||
| #                 'prefix': '14-', | #                 'prefix': '15-', | ||||||
| #                 'padding': 4, | #                 'padding': 4, | ||||||
| #             }, | #             }, | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  | @ -285,7 +285,13 @@ class CamadeusFunctions(): | ||||||
|         for uom_xml_id in active_uoms: |         for uom_xml_id in active_uoms: | ||||||
|             uom_id = self._execute('ir.model.data', 'xmlid_to_res_id', uom_xml_id) |             uom_id = self._execute('ir.model.data', 'xmlid_to_res_id', uom_xml_id) | ||||||
|             active_ids.append(uom_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 |         # Set all other UOMs to inactive | ||||||
|         inactive_ids = self._execute('product.uom', 'search', [('id','not in',active_ids)]) |         inactive_ids = self._execute('product.uom', 'search', [('id','not in',active_ids)]) | ||||||
|         res = self._execute('product.uom', 'write', inactive_ids, {'active': False}) |         res = self._execute('product.uom', 'write', inactive_ids, {'active': False}) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue