Dedublizierung gefixt
- lange existierender Updatecode wurde in jeder 2. Version angezeigt - UPDATEANALYSE.md ergänzt.
This commit is contained in:
@@ -22,6 +22,31 @@
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "migrate_property",
|
||||
"tables": [],
|
||||
"line": 67,
|
||||
"args": [
|
||||
"'product.configuration'",
|
||||
"field_names",
|
||||
"cls",
|
||||
"value_names"
|
||||
],
|
||||
"kwargs": {
|
||||
"fields": "fields"
|
||||
},
|
||||
"code": "migrate_property(\n 'product.configuration', field_names, cls, value_names,\n fields=fields)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "not exist",
|
||||
"via": [
|
||||
{
|
||||
"method": "_migrate_property",
|
||||
"line": 61
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -32,6 +57,54 @@
|
||||
"method": "__register__",
|
||||
"line": 416,
|
||||
"operations": [
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_exist",
|
||||
"tables": [],
|
||||
"line": 420,
|
||||
"args": [
|
||||
"'code'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table_h.column_exist('code')",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_exist",
|
||||
"tables": [],
|
||||
"line": 421,
|
||||
"args": [
|
||||
"'suffix_code'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table_h.column_exist('suffix_code')",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 423,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 423,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -85,6 +158,32 @@
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "migrate_property",
|
||||
"tables": [],
|
||||
"line": 629,
|
||||
"args": [
|
||||
"'product.template'",
|
||||
"field_names",
|
||||
"cls",
|
||||
"value_names"
|
||||
],
|
||||
"kwargs": {
|
||||
"parent": "'template'",
|
||||
"fields": "fields"
|
||||
},
|
||||
"code": "migrate_property(\n 'product.template', field_names, cls, value_names,\n parent='template', fields=fields)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "not exist",
|
||||
"via": [
|
||||
{
|
||||
"method": "_migrate_property",
|
||||
"line": 622
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -95,6 +194,39 @@
|
||||
"method": "__register__",
|
||||
"line": 647,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 648,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 652,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 652,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
@@ -121,6 +253,47 @@
|
||||
"code": "backend.TableHandler.table_exist(\n ProductCostPrice._table)",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "migrate_property",
|
||||
"tables": [],
|
||||
"line": 680,
|
||||
"args": [
|
||||
"'product.template'",
|
||||
"field_names",
|
||||
"cls",
|
||||
"value_names"
|
||||
],
|
||||
"kwargs": {
|
||||
"parent": "'template'",
|
||||
"fields": "fields"
|
||||
},
|
||||
"code": "migrate_property(\n 'product.template', field_names, cls, value_names,\n parent='template', fields=fields)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "not exist and (not cost_price_exist)",
|
||||
"via": [
|
||||
{
|
||||
"method": "_migrate_property",
|
||||
"line": 662
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"object": "backend",
|
||||
"operation": "TableHandler",
|
||||
"tables": [],
|
||||
"line": 664,
|
||||
"args": [
|
||||
"ProductCostPrice",
|
||||
"module_name"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler(\n ProductCostPrice, module_name)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "not exist and cost_price_exist"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -154,6 +327,21 @@
|
||||
"phase": "after_super",
|
||||
"condition": "cost_price_table.column_exist('template')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Column",
|
||||
"tables": [],
|
||||
"line": 671,
|
||||
"args": [
|
||||
"sql_table",
|
||||
"c"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Column(sql_table, c)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "cost_price_table.column_exist('template')"
|
||||
},
|
||||
{
|
||||
"object": "cost_price",
|
||||
"operation": "select",
|
||||
@@ -168,6 +356,21 @@
|
||||
"code": "cost_price.select(\n *[Column(cost_price, c) for c in columns])",
|
||||
"phase": "after_super",
|
||||
"condition": "cost_price_table.column_exist('template')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Column",
|
||||
"tables": [],
|
||||
"line": 673,
|
||||
"args": [
|
||||
"cost_price",
|
||||
"c"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Column(cost_price, c)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "cost_price_table.column_exist('template')"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -178,6 +381,39 @@
|
||||
"method": "__register__",
|
||||
"line": 707,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 708,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 712,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 712,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
@@ -208,6 +444,32 @@
|
||||
"phase": "after_super",
|
||||
"condition": "not exist"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "migrate_property",
|
||||
"tables": [],
|
||||
"line": 748,
|
||||
"args": [
|
||||
"'product.template'",
|
||||
"field_names",
|
||||
"cls",
|
||||
"value_names"
|
||||
],
|
||||
"kwargs": {
|
||||
"parent": "'template'",
|
||||
"fields": "fields"
|
||||
},
|
||||
"code": "migrate_property(\n 'product.template', field_names, cls, value_names,\n parent='template', fields=fields)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "not exist",
|
||||
"via": [
|
||||
{
|
||||
"method": "_migrate_property",
|
||||
"line": 722
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -239,6 +501,21 @@
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('template')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Column",
|
||||
"tables": [],
|
||||
"line": 729,
|
||||
"args": [
|
||||
"sql_table",
|
||||
"c"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Column(sql_table, c)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('template')"
|
||||
},
|
||||
{
|
||||
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
|
||||
"operation": "select",
|
||||
@@ -254,6 +531,37 @@
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('template')"
|
||||
},
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "join",
|
||||
"tables": [],
|
||||
"line": 731,
|
||||
"args": [
|
||||
"product"
|
||||
],
|
||||
"kwargs": {
|
||||
"condition": "sql_table.template == product.template"
|
||||
},
|
||||
"code": "sql_table.join(product,\n condition=sql_table.template == product.template\n )",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('template')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Column",
|
||||
"tables": [],
|
||||
"line": 734,
|
||||
"args": [
|
||||
"sql_table",
|
||||
"c"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Column(sql_table, c)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('template')"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
|
||||
Reference in New Issue
Block a user