Dedublizierung gefixt
- lange existierender Updatecode wurde in jeder 2. Version angezeigt - UPDATEANALYSE.md ergänzt.
This commit is contained in:
@@ -34,6 +34,39 @@
|
||||
"method": "__register__",
|
||||
"line": 116,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 117,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 119,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "transaction.connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 126,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "transaction.connection.(transaction.connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
|
||||
@@ -9,6 +9,39 @@
|
||||
"method": "__register__",
|
||||
"line": 178,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 179,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 182,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 182,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -46,6 +79,39 @@
|
||||
"method": "__register__",
|
||||
"line": 424,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 425,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 428,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 428,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
|
||||
@@ -9,6 +9,39 @@
|
||||
"method": "__register__",
|
||||
"line": 72,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 73,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 76,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 76,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
|
||||
@@ -95,6 +95,41 @@
|
||||
"method": "__register__",
|
||||
"line": 56,
|
||||
"operations": [
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 59,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 59,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_exist",
|
||||
"tables": [],
|
||||
"line": 61,
|
||||
"args": [
|
||||
"'user'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table_h.column_exist('user')",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -135,6 +170,39 @@
|
||||
"method": "__register__",
|
||||
"line": 297,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 298,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 300,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "transaction.connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 301,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "transaction.connection.(transaction.connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
@@ -225,6 +293,39 @@
|
||||
"method": "__register__",
|
||||
"line": 531,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 532,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 534,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "transaction.connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 535,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "transaction.connection.(transaction.connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
@@ -315,6 +416,39 @@
|
||||
"method": "__register__",
|
||||
"line": 786,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 787,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 789,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "transaction.connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 790,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "transaction.connection.(transaction.connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
@@ -421,6 +555,39 @@
|
||||
"method": "__register__",
|
||||
"line": 985,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 986,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 988,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "transaction.connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 989,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "transaction.connection.(transaction.connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
@@ -574,6 +741,39 @@
|
||||
"method": "__register__",
|
||||
"line": 84,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 85,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 87,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "transaction.connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 88,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "transaction.connection.(transaction.connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
@@ -689,6 +889,39 @@
|
||||
"method": "__register__",
|
||||
"line": 122,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 123,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 125,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 125,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -802,6 +1035,40 @@
|
||||
"method": "__register__",
|
||||
"line": 79,
|
||||
"operations": [
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 82,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 82,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 89,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')"
|
||||
},
|
||||
{
|
||||
"object": "model",
|
||||
"operation": "select",
|
||||
@@ -850,6 +1117,36 @@
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Concat",
|
||||
"tables": [],
|
||||
"line": 96,
|
||||
"args": [
|
||||
"action_model",
|
||||
"Concat('|', sql_table.action_function)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Concat((model.select(\n model.model, where=model.id == sql_table.action_model)), Concat(\n '|', sql_table.action_function))",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Concat",
|
||||
"tables": [],
|
||||
"line": 96,
|
||||
"args": [
|
||||
"'|'",
|
||||
"sql_table.action_function"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Concat(\n '|', sql_table.action_function)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
|
||||
@@ -33,6 +33,39 @@
|
||||
"method": "__register__",
|
||||
"line": 303,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 304,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 310,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 310,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
@@ -129,6 +162,22 @@
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('language')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Substring",
|
||||
"tables": [],
|
||||
"line": 331,
|
||||
"args": [
|
||||
"language.code",
|
||||
"0",
|
||||
"2"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Substring(language.code, 0, 2)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('language')"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -166,6 +215,70 @@
|
||||
"method": "__register__",
|
||||
"line": 34,
|
||||
"operations": [
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 35,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 35,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "cls",
|
||||
"tables": [],
|
||||
"line": 39,
|
||||
"args": [
|
||||
"1"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cls(1)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "tuple",
|
||||
"tables": [],
|
||||
"line": 41,
|
||||
"args": [
|
||||
"map(replace_vat, configuration.identifier_types)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "tuple(map(\n replace_vat, configuration.identifier_types))",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "configuration.identifier_types"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "map",
|
||||
"tables": [],
|
||||
"line": 41,
|
||||
"args": [
|
||||
"replace_vat",
|
||||
"configuration.identifier_types"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "map(\n replace_vat, configuration.identifier_types)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "configuration.identifier_types"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -196,6 +309,20 @@
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"object": "cls.identifier_types",
|
||||
"operation": "sql_format",
|
||||
"tables": [],
|
||||
"line": 47,
|
||||
"args": [
|
||||
"identifier_types"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cls.identifier_types.sql_format(identifier_types)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "configuration.identifier_types != identifier_types"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -231,6 +358,28 @@
|
||||
"method": "__register__",
|
||||
"line": 805,
|
||||
"operations": [
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 806,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 806,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -262,6 +411,19 @@
|
||||
"code": "table.update([table.type], ['cn_ric'],\n where=(table.type == 'cn_rit'))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "replace_vat",
|
||||
"tables": [],
|
||||
"line": 817,
|
||||
"args": [
|
||||
"old"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "replace_vat(old)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
|
||||
@@ -9,6 +9,54 @@
|
||||
"method": "__register__",
|
||||
"line": 477,
|
||||
"operations": [
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_exist",
|
||||
"tables": [],
|
||||
"line": 481,
|
||||
"args": [
|
||||
"'code'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table_h.column_exist('code')",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_exist",
|
||||
"tables": [],
|
||||
"line": 482,
|
||||
"args": [
|
||||
"'suffix_code'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table_h.column_exist('suffix_code')",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 484,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 484,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
|
||||
@@ -48,6 +48,28 @@
|
||||
"method": "__register__",
|
||||
"line": 19,
|
||||
"operations": [
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 21,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 21,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -104,6 +126,28 @@
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('uom') and (not table_h.column_exist('unit'))"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 276,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 276,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
|
||||
@@ -9,6 +9,39 @@
|
||||
"method": "__register__",
|
||||
"line": 206,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 207,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 210,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 210,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
|
||||
@@ -9,6 +9,128 @@
|
||||
"method": "__register__",
|
||||
"line": 63,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 64,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 65,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "connection.(connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "config",
|
||||
"operation": "get",
|
||||
"tables": [],
|
||||
"line": 70,
|
||||
"args": [
|
||||
"'table'",
|
||||
"'product.template-stock.lot.type'"
|
||||
],
|
||||
"kwargs": {
|
||||
"default": "'product.template-stock.lot.type'.replace('.', '_')"
|
||||
},
|
||||
"code": "config.get(\n 'table', 'product.template-stock.lot.type',\n default='product.template-stock.lot.type' .replace('.', '_'))",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "'product.template-stock.lot.type'",
|
||||
"operation": "replace",
|
||||
"tables": [],
|
||||
"line": 72,
|
||||
"args": [
|
||||
"'.'",
|
||||
"'_'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "'product.template-stock.lot.type' .replace('.', '_')",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "config",
|
||||
"operation": "get",
|
||||
"tables": [],
|
||||
"line": 73,
|
||||
"args": [
|
||||
"'table'",
|
||||
"'stock.lot.type'"
|
||||
],
|
||||
"kwargs": {
|
||||
"default": "'stock.lot.type'.replace('.', '_')"
|
||||
},
|
||||
"code": "config.get(\n 'table', 'stock.lot.type',\n default='stock.lot.type'.replace('.', '_'))",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "'stock.lot.type'",
|
||||
"operation": "replace",
|
||||
"tables": [],
|
||||
"line": 75,
|
||||
"args": [
|
||||
"'.'",
|
||||
"'_'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "'stock.lot.type'.replace('.', '_')",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Table",
|
||||
"tables": [],
|
||||
"line": 81,
|
||||
"args": [
|
||||
"template_lot_type_table_name"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Table((config.get(\n 'table', 'product.template-stock.lot.type',\n default='product.template-stock.lot.type' .replace('.', '_'))))",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Table",
|
||||
"tables": [],
|
||||
"line": 82,
|
||||
"args": [
|
||||
"lot_type_table_name"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Table((config.get(\n 'table', 'stock.lot.type',\n default='stock.lot.type'.replace('.', '_'))))",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)"
|
||||
},
|
||||
{
|
||||
"object": "connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 84,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "connection.(connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)"
|
||||
},
|
||||
{
|
||||
"object": "cursor_select",
|
||||
"operation": "execute",
|
||||
@@ -65,6 +187,36 @@
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)"
|
||||
},
|
||||
{
|
||||
"object": "template_lot_type",
|
||||
"operation": "join",
|
||||
"tables": [],
|
||||
"line": 89,
|
||||
"args": [
|
||||
"lot_type"
|
||||
],
|
||||
"kwargs": {
|
||||
"condition": "template_lot_type.type == lot_type.id"
|
||||
},
|
||||
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)"
|
||||
},
|
||||
{
|
||||
"object": "cls.lot_required",
|
||||
"operation": "sql_format",
|
||||
"tables": [],
|
||||
"line": 95,
|
||||
"args": [
|
||||
"[t for t, in cursor]"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cls.lot_required.sql_format([t for t, in (connection.cursor())])",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -97,6 +249,36 @@
|
||||
"code": "table.update(\n [table.lot_required], [(cls.lot_required.sql_format([t for t, in cursor]))],\n where=table.id == template_id)",
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_table",
|
||||
"tables": [],
|
||||
"line": 99,
|
||||
"args": [
|
||||
"'product.template-stock.lot.type'",
|
||||
"template_lot_type_table_name"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table_h.drop_table('product.template-stock.lot.type',\n (config.get(\n 'table', 'product.template-stock.lot.type',\n default='product.template-stock.lot.type' .replace('.', '_'))))",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_table",
|
||||
"tables": [],
|
||||
"line": 101,
|
||||
"args": [
|
||||
"'stock.lot.type'",
|
||||
"lot_type_table_name"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table_h.drop_table('stock.lot.type', (config.get(\n 'table', 'stock.lot.type',\n default='stock.lot.type'.replace('.', '_'))))",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user