Public Access
extractor erstmal fertig
- er findet fast alle tabellen - quellcode wird entpackt wenn er in einer variable ist
This commit is contained in:
+13
-13
@@ -19,7 +19,7 @@
|
||||
"*table.update([table.user], [table.create_uid])"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.user], [table.create_uid]))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*table.update([table.user], [table.create_uid]))",
|
||||
"phase": "after_super",
|
||||
"condition": "not user_exists"
|
||||
},
|
||||
@@ -144,7 +144,7 @@
|
||||
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id))",
|
||||
"code": "(transaction.connection.cursor()).execute(*table.update(\n [table.model], [model.name],\n from_=[model],\n where=table._temp_model == model.id))",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -163,7 +163,7 @@
|
||||
"from_": "[model]",
|
||||
"where": "table._temp_model == model.id"
|
||||
},
|
||||
"code": "table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)",
|
||||
"code": "table.update(\n [table.model], [model.name],\n from_=[model],\n where=table._temp_model == model.id)",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -248,7 +248,7 @@
|
||||
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id))",
|
||||
"code": "(transaction.connection.cursor()).execute(*table.update(\n [table.model], [model.name],\n from_=[model],\n where=table._temp_model == model.id))",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -267,7 +267,7 @@
|
||||
"from_": "[model]",
|
||||
"where": "table._temp_model == model.id"
|
||||
},
|
||||
"code": "table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)",
|
||||
"code": "table.update(\n [table.model], [model.name],\n from_=[model],\n where=table._temp_model == model.id)",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -353,7 +353,7 @@
|
||||
"*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id))",
|
||||
"code": "(transaction.connection.cursor()).execute(*table.update(\n [table.model, table.field],\n [field.model, field.name],\n from_=[field],\n where=table._temp_field == field.id))",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')"
|
||||
},
|
||||
@@ -372,7 +372,7 @@
|
||||
"from_": "[field]",
|
||||
"where": "table._temp_field == field.id"
|
||||
},
|
||||
"code": "table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)",
|
||||
"code": "table.update(\n [table.model, table.field],\n [field.model, field.name],\n from_=[field],\n where=table._temp_field == field.id)",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')"
|
||||
},
|
||||
@@ -442,7 +442,7 @@
|
||||
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id))",
|
||||
"code": "(transaction.connection.cursor()).execute(*table.update(\n [table.model], [model.name],\n from_=[model],\n where=table._temp_model == model.id))",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -461,7 +461,7 @@
|
||||
"from_": "[model]",
|
||||
"where": "table._temp_model == model.id"
|
||||
},
|
||||
"code": "table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)",
|
||||
"code": "table.update(\n [table.model], [model.name],\n from_=[model],\n where=table._temp_model == model.id)",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -567,7 +567,7 @@
|
||||
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id))",
|
||||
"code": "(transaction.connection.cursor()).execute(*table.update(\n [table.model], [model.name],\n from_=[model],\n where=table._temp_model == model.id))",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -586,7 +586,7 @@
|
||||
"from_": "[model]",
|
||||
"where": "table._temp_model == model.id"
|
||||
},
|
||||
"code": "table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)",
|
||||
"code": "table.update(\n [table.model], [model.name],\n from_=[model],\n where=table._temp_model == model.id)",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -640,7 +640,7 @@
|
||||
"*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.model],\n [view.select(view.model, where=view.id == table.view)],\n where=table.model == Null))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -658,7 +658,7 @@
|
||||
"kwargs": {
|
||||
"where": "table.model == Null"
|
||||
},
|
||||
"code": "table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)",
|
||||
"code": "table.update(\n [table.model],\n [view.select(view.model, where=view.id == table.view)],\n where=table.model == Null)",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
|
||||
+6
-6
@@ -57,7 +57,7 @@
|
||||
"*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.identifier_types],\n [cls.identifier_types.sql_format(identifier_types)]\n ))",
|
||||
"phase": "after_super",
|
||||
"condition": "configuration.identifier_types != identifier_types"
|
||||
},
|
||||
@@ -73,7 +73,7 @@
|
||||
"[cls.identifier_types.sql_format(identifier_types)]"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])",
|
||||
"code": "table.update(\n [table.identifier_types],\n [cls.identifier_types.sql_format(identifier_types)]\n )",
|
||||
"phase": "after_super",
|
||||
"condition": "configuration.identifier_types != identifier_types"
|
||||
}
|
||||
@@ -120,7 +120,7 @@
|
||||
"*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc'))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*table.update([table.type], ['uy_rut'],\n where=(table.type == 'uy_ruc')))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -137,7 +137,7 @@
|
||||
"kwargs": {
|
||||
"where": "table.type == 'uy_ruc'"
|
||||
},
|
||||
"code": "table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')",
|
||||
"code": "table.update([table.type], ['uy_rut'],\n where=(table.type == 'uy_ruc'))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -151,7 +151,7 @@
|
||||
"*table.update([table.type], ['co_nit'], where=table.type == 'co_rut')"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.type], ['co_nit'], where=table.type == 'co_rut'))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*table.update([table.type], ['co_nit'],\n where=(table.type == 'co_rut')))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -168,7 +168,7 @@
|
||||
"kwargs": {
|
||||
"where": "table.type == 'co_rut'"
|
||||
},
|
||||
"code": "table.update([table.type], ['co_nit'], where=table.type == 'co_rut')",
|
||||
"code": "table.update([table.type], ['co_nit'],\n where=(table.type == 'co_rut'))",
|
||||
"phase": "after_super"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
"*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron'))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.method], ['ir.cron|stock_shipment_assign_try'],\n where=table.method == 'production|assign_cron'))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -74,7 +74,7 @@
|
||||
"kwargs": {
|
||||
"where": "table.method == 'production|assign_cron'"
|
||||
},
|
||||
"code": "table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')",
|
||||
"code": "table.update(\n [table.method], ['ir.cron|stock_shipment_assign_try'],\n where=table.method == 'production|assign_cron')",
|
||||
"phase": "after_super"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user