Dedublizierung gefixt
- lange existierender Updatecode wurde in jeder 2. Version angezeigt - UPDATEANALYSE.md ergänzt.
This commit is contained in:
@@ -2,6 +2,127 @@
|
||||
"version": "5.0",
|
||||
"module": "product",
|
||||
"files": [
|
||||
{
|
||||
"module": "product",
|
||||
"file": "configuration.py",
|
||||
"class": "ConfigurationDefaultCostPriceMethod",
|
||||
"method": "__register__",
|
||||
"line": 43,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend",
|
||||
"operation": "get",
|
||||
"tables": [],
|
||||
"line": 44,
|
||||
"args": [
|
||||
"'TableHandler'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.get('(backend.get('TableHandler'))')",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [],
|
||||
"line": 45,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "(backend.get('TableHandler')).table_exist(cls._table)",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "migrate_property",
|
||||
"tables": [],
|
||||
"line": 57,
|
||||
"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": 51
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "product",
|
||||
"file": "product.py",
|
||||
"class": "ProductListPrice",
|
||||
"method": "__register__",
|
||||
"line": 346,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend",
|
||||
"operation": "get",
|
||||
"tables": [],
|
||||
"line": 347,
|
||||
"args": [
|
||||
"'TableHandler'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.get('(backend.get('TableHandler'))')",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [],
|
||||
"line": 348,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "(backend.get('TableHandler')).table_exist(cls._table)",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "migrate_property",
|
||||
"tables": [],
|
||||
"line": 360,
|
||||
"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": 353
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "product",
|
||||
"file": "product.py",
|
||||
@@ -9,6 +130,119 @@
|
||||
"method": "__register__",
|
||||
"line": 374,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 375,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "backend",
|
||||
"operation": "get",
|
||||
"tables": [],
|
||||
"line": 377,
|
||||
"args": [
|
||||
"'TableHandler'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.get('(backend.get('TableHandler'))')",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 380,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 380,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [],
|
||||
"line": 382,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "(backend.get('TableHandler')).table_exist(cls._table)",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [],
|
||||
"line": 383,
|
||||
"args": [
|
||||
"ProductCostPrice._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "(backend.get('TableHandler')).table_exist(ProductCostPrice._table)",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "migrate_property",
|
||||
"tables": [],
|
||||
"line": 406,
|
||||
"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": 389
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "TableHandler",
|
||||
"tables": [],
|
||||
"line": 391,
|
||||
"args": [
|
||||
"ProductCostPrice",
|
||||
"module_name"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "(backend.get('TableHandler'))(ProductCostPrice, module_name)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "not exist and cost_price_exist"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -42,6 +276,21 @@
|
||||
"phase": "after_super",
|
||||
"condition": "cost_price_table.column_exist('template')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Column",
|
||||
"tables": [],
|
||||
"line": 397,
|
||||
"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",
|
||||
@@ -56,6 +305,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": 399,
|
||||
"args": [
|
||||
"cost_price",
|
||||
"c"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Column(cost_price, c)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "cost_price_table.column_exist('template')"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -66,6 +330,65 @@
|
||||
"method": "__register__",
|
||||
"line": 429,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 430,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "backend",
|
||||
"operation": "get",
|
||||
"tables": [],
|
||||
"line": 432,
|
||||
"args": [
|
||||
"'TableHandler'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.get('(backend.get('TableHandler'))')",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 435,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 435,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [],
|
||||
"line": 437,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "(backend.get('TableHandler')).table_exist(cls._table)",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "add_column",
|
||||
@@ -82,6 +405,32 @@
|
||||
"phase": "after_super",
|
||||
"condition": "not exist"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "migrate_property",
|
||||
"tables": [],
|
||||
"line": 471,
|
||||
"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": 445
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -113,6 +462,21 @@
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('template')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Column",
|
||||
"tables": [],
|
||||
"line": 452,
|
||||
"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",
|
||||
@@ -128,6 +492,37 @@
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('template')"
|
||||
},
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "join",
|
||||
"tables": [],
|
||||
"line": 454,
|
||||
"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": 457,
|
||||
"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