diff --git a/asset_vehicle/asset_vehicle.cfg b/asset_vehicle/asset_vehicle.cfg new file mode 100644 index 0000000..2292424 --- /dev/null +++ b/asset_vehicle/asset_vehicle.cfg @@ -0,0 +1,72 @@ +[asset_vehicle] +insert = False +target = None +parent = False +script = False +migrate = True +mapping = +source = vehicle_vehicle +depends = company_employee +transformation = asset_vehicle.ktr +delete = True + +[ir_action_act_window] +insert = False +target = None +parent = False +script = False +migrate = False +mapping = +source = None +depends = +transformation = +delete = False + +[ir_action_act_window_view] +insert = False +target = None +parent = False +script = False +migrate = False +mapping = +source = None +depends = +transformation = +delete = False + +[ir_model_access] +insert = False +target = None +parent = False +script = False +migrate = False +mapping = +source = None +depends = +transformation = +delete = False + +[ir_ui_menu] +insert = False +target = None +parent = False +script = False +migrate = False +mapping = +source = None +depends = +transformation = +delete = False + +[ir_ui_view] +insert = False +target = None +parent = False +script = False +migrate = False +mapping = +source = None +depends = +transformation = +delete = False + diff --git a/asset_vehicle/asset_vehicle.ktr b/asset_vehicle/asset_vehicle.ktr new file mode 100644 index 0000000..ab958f8 --- /dev/null +++ b/asset_vehicle/asset_vehicle.ktr @@ -0,0 +1,905 @@ + + + + asset_vehicle + + + + Normal + 0 + / + + + + + + + + + +ID_BATCHYID_BATCHCHANNEL_IDYCHANNEL_IDTRANSNAMEYTRANSNAMESTATUSYSTATUSLINES_READYLINES_READLINES_WRITTENYLINES_WRITTENLINES_UPDATEDYLINES_UPDATEDLINES_INPUTYLINES_INPUTLINES_OUTPUTYLINES_OUTPUTLINES_REJECTEDYLINES_REJECTEDERRORSYERRORSSTARTDATEYSTARTDATEENDDATEYENDDATELOGDATEYLOGDATEDEPDATEYDEPDATEREPLAYDATEYREPLAYDATELOG_FIELDYLOG_FIELD + + +
+ + +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 + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + Y + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2012/12/28 16:05:45.566 + - + 2012/12/28 16:05:45.566 + + + + + source + ${source_host} + POSTGRESQL + Native + ${source} + ${source_port} + ${source_user} + ${source_password} + + + + + FORCE_IDENTIFIERS_TO_LOWERCASEN + FORCE_IDENTIFIERS_TO_UPPERCASEN + IS_CLUSTEREDN + PORT_NUMBER${source_port} + QUOTE_ALL_FIELDSN + SUPPORTS_BOOLEAN_DATA_TYPEN + USE_POOLINGN + + + + target + ${target_host} + POSTGRESQL + Native + ${target} + ${target_port} + ${target_user} + ${target_password} + + + + + FORCE_IDENTIFIERS_TO_LOWERCASEN + FORCE_IDENTIFIERS_TO_UPPERCASEN + IS_CLUSTEREDN + PORT_NUMBER${target_port} + QUOTE_ALL_FIELDSN + SUPPORTS_BOOLEAN_DATA_TYPEY + USE_POOLINGN + + + + Select valuesTable outputN Select valuestargetY Table inputsourceN create_uidwrite_uidY sourcecreate_uidY targetTable outputN write_uidAdd constantsY Add constantswrite_uid 2Y write_uid 2template sequenceY template sequenceTemplatesY Templatesproduct sequenceY product sequenceproductsY assetsSelect valuesY productsCodeY CodeassetsY Row NormaliserStream lookupY Stream lookupprepY fieldsStream lookupY preppropertyY TemplatesRow NormaliserY + + Add constants + Constant + + Y + 1 + + none + + + + + type + String + + + + + assets + -1 + -1 + + + product_active + Boolean + + + + + Y + -1 + -1 + + + uom_symbol + String + + + + + u + -1 + -1 + + + list_price + Number + + + + + 0 + -1 + -1 + + + cost_price + Number + + + + + 0 + -1 + -1 + + + company + Integer + + + + + 1 + -1 + -1 + + + + + 394 + 222 + Y + + + + + Code + Sequence + + Y + 1 + + none + + + code + N + + + SEQ_ + Y + + 1 + 1 + 999999999 + + + 926 + 222 + Y + + + + + Select values + SelectValues + + N + 1 + + none + + + N + create_uid + write_uid + code + product_active + product_id + type + uom + uom_symbol + template_id + cost_price + list_price + company + create_uid_target + create_uid + Integer + -2 + -2 + + false + + + + + + write_uid_target + write_uid + Integer + -2 + -2 + + false + + + + + + + + 1088 + 220 + Y + + + + + Table input + TableInput + + Y + 1 + + none + + + source + SELECT * FROM vehicle_vehicle + 0 + + N + N + N + + + 138 + 374 + Y + + + + + Table output + TableOutput + + Y + 1 + + none + + + target + +
account_invoice
+ 1000 + N + N + N + N + N + + N + Y + N + + Y + N + + + + + + 1189 + 343 + Y + + + + + Templates + TableOutput + + N + 1 + + none + + + target + + product_template
+ 1000 + N + N + N + Y + N + + N + Y + N + + Y + N + template + + + id + template_id + + + name + name + + + active + product_active + + + type + type + + + default_uom + uom + + + + + 683 + 222 + Y + +
+ + + assets + TableOutput + + Y + 1 + + none + + + target + + asset
+ 1000 + N + N + N + Y + N + + N + Y + N + + Y + Y + asset + + + active + active + + + product + product_id + + + name + name + + + code + code + + + + + 996 + 221 + Y + +
+ + + create_uid + DBLookup + + Y + 4 + + none + + + target + Y + Y + 0 + + migration + user_mapping
+ + N + N + + create_uid + source + = + + + + target + create_uid_target + + Integer + +
+ + + 227 + 223 + Y + +
+ + + product sequence + Sequence + + Y + 1 + + none + + + product_id + N + + + SEQ_ + Y + + 50000 + 1 + 999999999 + + + 775 + 221 + Y + + + + + products + TableOutput + + Y + 1 + + none + + + target + + product_product
+ 1000 + N + N + N + Y + N + + N + Y + N + + Y + N + product + + + id + product_id + + + template + template_id + + + active + product_active + + + + + 861 + 220 + Y + +
+ + + source + Dummy + + Y + 1 + + none + + + + + 136 + 224 + Y + + + + + target + Dummy + + Y + 1 + + none + + + + + 1175 + 216 + Y + + + + + template sequence + Sequence + + Y + 1 + + none + + + template_id + N + + + SEQ_ + Y + + 50000 + 1 + 999999999 + + + 587 + 222 + Y + + + + + write_uid + DBLookup + + Y + 4 + + none + + + target + Y + Y + 0 + + migration + user_mapping
+ + N + N + + write_uid + source + = + + + + target + write_uid_target + + Integer + +
+ + + 319 + 223 + Y + +
+ + + write_uid 2 + DBLookup + + Y + 4 + + none + + + target + Y + N + 0 + + + product_uom
+ + N + N + + uom_symbol + symbol + = + + + + id + uom + + Integer + +
+ + + 477 + 221 + Y + +
+ + + Row Normaliser + Normaliser + + Y + 1 + + none + + + field + list_price + list_price + value + cost_price + cost_price + value + + + 686 + 103 + Y + + + + + Stream lookup + StreamLookup + + Y + 1 + + none + + + fields + N + Y + N + N + + + field + name + + + id + field_id + + Integer + + + + + 777 + 105 + Y + + + + + fields + TableInput + + Y + 1 + + none + + + target + select f.id,f.name +from ir_model_field f + join ir_model m on m.id = f.model +where m.model = 'product.template' and f.name like '%_price'; + 0 + + N + N + N + + + 777 + 29 + Y + + + + + prep + ScriptValueMod + + Y + 1 + + none + + + N + 9 + 0 + Script 1 + //Script here +var res = 'product.template,'+template_id; +var value = ','+value; + res + res + String + -1 + -1 + N + value + value + String + -1 + -1 + Y + + + 850 + 100 + Y + + + + + property + TableOutput + + Y + 1 + + none + + + target + + ir_property
+ 1000 + N + N + N + Y + N + + N + Y + N + + Y + Y + party + + + res + res + + + value + value + + + company + company + + + field + field_id + + + + + 941 + 99 + Y + +
+ + + + + + N +