- lange existierender Updatecode wurde in jeder 2. Version angezeigt - UPDATEANALYSE.md ergänzt.
185 lines
5.2 KiB
JSON
185 lines
5.2 KiB
JSON
{
|
|
"version": "7.2",
|
|
"module": "production",
|
|
"files": [
|
|
{
|
|
"module": "production",
|
|
"file": "bom.py",
|
|
"class": "BOMInput",
|
|
"method": "__register__",
|
|
"line": 72,
|
|
"operations": [
|
|
{
|
|
"object": "table_h",
|
|
"operation": "column_rename",
|
|
"tables": [
|
|
"production_bom_input"
|
|
],
|
|
"line": 78,
|
|
"args": [
|
|
"'uom'",
|
|
"'unit'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table_h.column_rename('uom', 'unit')",
|
|
"phase": "before_super",
|
|
"condition": "table_h.column_exist('uom') and (not table_h.column_exist('unit'))"
|
|
},
|
|
{
|
|
"object": "table_h",
|
|
"operation": "drop_constraint",
|
|
"tables": [
|
|
"production_bom_input"
|
|
],
|
|
"line": 84,
|
|
"args": [
|
|
"'product_bom_uniq'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table_h.drop_constraint('product_bom_uniq')",
|
|
"phase": "after_super"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "production",
|
|
"file": "ir.py",
|
|
"class": "Cron",
|
|
"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",
|
|
"tables": [
|
|
"ir_cron"
|
|
],
|
|
"line": 26,
|
|
"args": [
|
|
"*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')"
|
|
],
|
|
"kwargs": {},
|
|
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.method], ['ir.cron|stock_shipment_assign_try'],\n where=table.method == 'production|assign_cron'))",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "update",
|
|
"tables": [
|
|
"ir_cron"
|
|
],
|
|
"line": 26,
|
|
"args": [
|
|
"[table.method]",
|
|
"['ir.cron|stock_shipment_assign_try']"
|
|
],
|
|
"kwargs": {
|
|
"where": "table.method == 'production|assign_cron'"
|
|
},
|
|
"code": "table.update(\n [table.method], ['ir.cron|stock_shipment_assign_try'],\n where=table.method == 'production|assign_cron')",
|
|
"phase": "after_super"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "production",
|
|
"file": "production.py",
|
|
"class": "Production",
|
|
"method": "__register__",
|
|
"line": 265,
|
|
"operations": [
|
|
{
|
|
"object": "table_h",
|
|
"operation": "column_rename",
|
|
"tables": [
|
|
"production"
|
|
],
|
|
"line": 271,
|
|
"args": [
|
|
"'uom'",
|
|
"'unit'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table_h.column_rename('uom', 'unit')",
|
|
"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",
|
|
"tables": [
|
|
"production"
|
|
],
|
|
"line": 279,
|
|
"args": [
|
|
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
|
|
],
|
|
"kwargs": {},
|
|
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.state], ['cancelled'],\n where=table.state == 'cancel'))",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "update",
|
|
"tables": [
|
|
"production"
|
|
],
|
|
"line": 279,
|
|
"args": [
|
|
"[table.state]",
|
|
"['cancelled']"
|
|
],
|
|
"kwargs": {
|
|
"where": "table.state == 'cancel'"
|
|
},
|
|
"code": "table.update(\n [table.state], ['cancelled'],\n where=table.state == 'cancel')",
|
|
"phase": "after_super"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |