Ausertung von schleifen und Helperfunktionen ergänzt in extract.py
This commit is contained in:
+26
-1
@@ -1,5 +1,30 @@
|
||||
{
|
||||
"version": "5.0",
|
||||
"module": "currency",
|
||||
"files": []
|
||||
"files": [
|
||||
{
|
||||
"module": "currency",
|
||||
"file": "currency.py",
|
||||
"class": "Currency",
|
||||
"method": "__register__",
|
||||
"line": 55,
|
||||
"operations": [
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"currency_currency"
|
||||
],
|
||||
"line": 64,
|
||||
"args": [
|
||||
"col",
|
||||
"'remove'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table_h.not_null_action(col, 'remove')",
|
||||
"phase": "after_super"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -607,6 +607,39 @@
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('minimum_delay')"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 89,
|
||||
"args": [
|
||||
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('minimum_delay')"
|
||||
},
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 89,
|
||||
"args": [
|
||||
"[sql_table.minimum_time_delay]",
|
||||
"[delay]"
|
||||
],
|
||||
"kwargs": {
|
||||
"where": "sql_table.id == id_"
|
||||
},
|
||||
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('minimum_delay')"
|
||||
},
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
|
||||
Reference in New Issue
Block a user