Dedublizierung gefixt

- lange existierender Updatecode wurde in jeder 2. Version angezeigt
- UPDATEANALYSE.md ergänzt.
This commit is contained in:
2026-08-20 13:27:23 +02:00
parent 5d227d2f61
commit b549063ff6
138 changed files with 43143 additions and 1472 deletions
+308
View File
@@ -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": 432,
"operations": [
{
"object": "table_h",
"operation": "column_exist",
"tables": [],
"line": 436,
"args": [
"'code'"
],
"kwargs": {},
"code": "table_h.column_exist('code')",
"unresolved": true,
"phase": "before_super"
},
{
"object": "table_h",
"operation": "column_exist",
"tables": [],
"line": 437,
"args": [
"'suffix_code'"
],
"kwargs": {},
"code": "table_h.column_exist('suffix_code')",
"unresolved": true,
"phase": "before_super"
},
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 439,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "after_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 439,
"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": 659,
"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": 652
}
]
}
]
},
@@ -95,6 +194,39 @@
"method": "__register__",
"line": 677,
"operations": [
{
"object": "",
"operation": "Pool",
"tables": [],
"line": 678,
"args": [],
"kwargs": {},
"code": "Pool()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 682,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 682,
"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": 710,
"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": 692
}
]
},
{
"object": "backend",
"operation": "TableHandler",
"tables": [],
"line": 694,
"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": 701,
"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": 703,
"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": 742,
"operations": [
{
"object": "",
"operation": "Pool",
"tables": [],
"line": 743,
"args": [],
"kwargs": {},
"code": "Pool()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 747,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 747,
"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": 783,
"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": 757
}
]
},
{
"object": "cursor",
"operation": "execute",
@@ -239,6 +501,21 @@
"phase": "after_super",
"condition": "table.column_exist('template')"
},
{
"object": "",
"operation": "Column",
"tables": [],
"line": 764,
"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": 766,
"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": 769,
"args": [
"sql_table",
"c"
],
"kwargs": {},
"code": "Column(sql_table, c)",
"unresolved": true,
"phase": "after_super",
"condition": "table.column_exist('template')"
},
{
"object": "cursor",
"operation": "execute",