Ausertung von schleifen und Helperfunktionen ergänzt in extract.py

This commit is contained in:
2026-08-09 20:56:24 +02:00
parent 5f11c77ddf
commit 5d227d2f61
44 changed files with 1713 additions and 5 deletions
+26 -1
View File
@@ -1,5 +1,30 @@
{
"version": "5.0",
"module": "currency",
"files": []
"files": [
{
"module": "currency",
"file": "currency.py",
"class": "Currency",
"method": "__register__",
"line": 55,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 64,
"args": [
"col",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action(col, 'remove')",
"phase": "after_super"
}
]
}
]
}
+33
View File
@@ -607,6 +607,39 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 89,
"args": [
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 89,
"args": [
"[sql_table.minimum_time_delay]",
"[delay]"
],
"kwargs": {
"where": "sql_table.id == id_"
},
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "table",
"operation": "drop_column",
+26 -1
View File
@@ -1,5 +1,30 @@
{
"version": "5.2",
"module": "currency",
"files": []
"files": [
{
"module": "currency",
"file": "currency.py",
"class": "Currency",
"method": "__register__",
"line": 53,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 62,
"args": [
"col",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action(col, 'remove')",
"phase": "after_super"
}
]
}
]
}
+47
View File
@@ -337,6 +337,20 @@
"method": "__register__",
"line": 66,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 74,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
@@ -740,6 +754,39 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 91,
"args": [
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 91,
"args": [
"[sql_table.minimum_time_delay]",
"[delay]"
],
"kwargs": {
"where": "sql_table.id == id_"
},
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "table",
"operation": "drop_column",
+15
View File
@@ -9,6 +9,21 @@
"method": "__register__",
"line": 53,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 67,
"args": [
"col",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action(col, 'remove')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
+47
View File
@@ -337,6 +337,20 @@
"method": "__register__",
"line": 69,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 77,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
@@ -740,6 +754,39 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 91,
"args": [
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 91,
"args": [
"[sql_table.minimum_time_delay]",
"[delay]"
],
"kwargs": {
"where": "sql_table.id == id_"
},
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "table",
"operation": "drop_column",
+61
View File
@@ -36,6 +36,67 @@
"code": "template_lot_type.select(\n template_lot_type.template,\n distinct_on=template_lot_type.template)",
"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",
"tables": [],
"line": 55,
"args": [
"*template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id).select(lot_type.code, where=template_lot_type.template == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id)",
"operation": "select",
"tables": [],
"line": 55,
"args": [
"lot_type.code"
],
"kwargs": {
"where": "template_lot_type.template == template_id"
},
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "cursor",
"operation": "execute",
"tables": [
"product_template"
],
"line": 62,
"args": [
"*table.update([table.lot_required], [value], where=table.id == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*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",
"operation": "update",
"tables": [
"product_template"
],
"line": 62,
"args": [
"[table.lot_required]",
"[value]"
],
"kwargs": {
"where": "table.id == template_id"
},
"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)"
}
]
}
+15
View File
@@ -9,6 +9,21 @@
"method": "__register__",
"line": 51,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 65,
"args": [
"col",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action(col, 'remove')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
+47
View File
@@ -337,6 +337,20 @@
"method": "__register__",
"line": 69,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 77,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
@@ -800,6 +814,39 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 94,
"args": [
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 94,
"args": [
"[sql_table.minimum_time_delay]",
"[delay]"
],
"kwargs": {
"where": "sql_table.id == id_"
},
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "table",
"operation": "drop_column",
+61
View File
@@ -36,6 +36,67 @@
"code": "template_lot_type.select(\n template_lot_type.template,\n distinct_on=template_lot_type.template)",
"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",
"tables": [],
"line": 55,
"args": [
"*template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id).select(lot_type.code, where=template_lot_type.template == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id)",
"operation": "select",
"tables": [],
"line": 55,
"args": [
"lot_type.code"
],
"kwargs": {
"where": "template_lot_type.template == template_id"
},
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "cursor",
"operation": "execute",
"tables": [
"product_template"
],
"line": 62,
"args": [
"*table.update([table.lot_required], [value], where=table.id == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*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",
"operation": "update",
"tables": [
"product_template"
],
"line": 62,
"args": [
"[table.lot_required]",
"[value]"
],
"kwargs": {
"where": "table.id == template_id"
},
"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)"
}
]
}
+15
View File
@@ -9,6 +9,21 @@
"method": "__register__",
"line": 51,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 65,
"args": [
"col",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action(col, 'remove')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
+47
View File
@@ -337,6 +337,20 @@
"method": "__register__",
"line": 71,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 79,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
@@ -800,6 +814,39 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 90,
"args": [
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 90,
"args": [
"[sql_table.minimum_time_delay]",
"[delay]"
],
"kwargs": {
"where": "sql_table.id == id_"
},
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "table",
"operation": "drop_column",
+61
View File
@@ -36,6 +36,67 @@
"code": "template_lot_type.select(\n template_lot_type.template,\n distinct_on=template_lot_type.template)",
"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",
"tables": [],
"line": 55,
"args": [
"*template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id).select(lot_type.code, where=template_lot_type.template == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id)",
"operation": "select",
"tables": [],
"line": 55,
"args": [
"lot_type.code"
],
"kwargs": {
"where": "template_lot_type.template == template_id"
},
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "cursor",
"operation": "execute",
"tables": [
"product_template"
],
"line": 62,
"args": [
"*table.update([table.lot_required], [value], where=table.id == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*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",
"operation": "update",
"tables": [
"product_template"
],
"line": 62,
"args": [
"[table.lot_required]",
"[value]"
],
"kwargs": {
"where": "table.id == template_id"
},
"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)"
}
]
}
+15
View File
@@ -9,6 +9,21 @@
"method": "__register__",
"line": 59,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 73,
"args": [
"col",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action(col, 'remove')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
+47
View File
@@ -337,6 +337,20 @@
"method": "__register__",
"line": 84,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 92,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
@@ -899,6 +913,39 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 90,
"args": [
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 90,
"args": [
"[sql_table.minimum_time_delay]",
"[delay]"
],
"kwargs": {
"where": "sql_table.id == id_"
},
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "table",
"operation": "drop_column",
+61
View File
@@ -36,6 +36,67 @@
"code": "template_lot_type.select(\n template_lot_type.template,\n distinct_on=template_lot_type.template)",
"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",
"tables": [],
"line": 91,
"args": [
"*template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id).select(lot_type.code, where=template_lot_type.template == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id)",
"operation": "select",
"tables": [],
"line": 91,
"args": [
"lot_type.code"
],
"kwargs": {
"where": "template_lot_type.template == template_id"
},
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "cursor",
"operation": "execute",
"tables": [
"product_template"
],
"line": 98,
"args": [
"*table.update([table.lot_required], [value], where=table.id == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*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",
"operation": "update",
"tables": [
"product_template"
],
"line": 98,
"args": [
"[table.lot_required]",
"[value]"
],
"kwargs": {
"where": "table.id == template_id"
},
"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)"
}
]
}
+15
View File
@@ -9,6 +9,21 @@
"method": "__register__",
"line": 61,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 75,
"args": [
"col",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action(col, 'remove')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
+47
View File
@@ -337,6 +337,20 @@
"method": "__register__",
"line": 86,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 94,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
@@ -899,6 +913,39 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 90,
"args": [
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 90,
"args": [
"[sql_table.minimum_time_delay]",
"[delay]"
],
"kwargs": {
"where": "sql_table.id == id_"
},
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "table",
"operation": "drop_column",
+61
View File
@@ -36,6 +36,67 @@
"code": "template_lot_type.select(\n template_lot_type.template,\n distinct_on=template_lot_type.template)",
"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",
"tables": [],
"line": 88,
"args": [
"*template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id).select(lot_type.code, where=template_lot_type.template == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id)",
"operation": "select",
"tables": [],
"line": 88,
"args": [
"lot_type.code"
],
"kwargs": {
"where": "template_lot_type.template == template_id"
},
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "cursor",
"operation": "execute",
"tables": [
"product_template"
],
"line": 95,
"args": [
"*table.update([table.lot_required], [value], where=table.id == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*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",
"operation": "update",
"tables": [
"product_template"
],
"line": 95,
"args": [
"[table.lot_required]",
"[value]"
],
"kwargs": {
"where": "table.id == template_id"
},
"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)"
}
]
}
+15
View File
@@ -9,6 +9,21 @@
"method": "__register__",
"line": 59,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 73,
"args": [
"col",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action(col, 'remove')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
+47
View File
@@ -337,6 +337,20 @@
"method": "__register__",
"line": 87,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 95,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
@@ -922,6 +936,39 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 90,
"args": [
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 90,
"args": [
"[sql_table.minimum_time_delay]",
"[delay]"
],
"kwargs": {
"where": "sql_table.id == id_"
},
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "table",
"operation": "drop_column",
+61
View File
@@ -36,6 +36,67 @@
"code": "template_lot_type.select(\n template_lot_type.template,\n distinct_on=template_lot_type.template)",
"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",
"tables": [],
"line": 86,
"args": [
"*template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id).select(lot_type.code, where=template_lot_type.template == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id)",
"operation": "select",
"tables": [],
"line": 86,
"args": [
"lot_type.code"
],
"kwargs": {
"where": "template_lot_type.template == template_id"
},
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "cursor",
"operation": "execute",
"tables": [
"product_template"
],
"line": 93,
"args": [
"*table.update([table.lot_required], [value], where=table.id == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*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",
"operation": "update",
"tables": [
"product_template"
],
"line": 93,
"args": [
"[table.lot_required]",
"[value]"
],
"kwargs": {
"where": "table.id == template_id"
},
"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)"
}
]
}
+15
View File
@@ -9,6 +9,21 @@
"method": "__register__",
"line": 60,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 74,
"args": [
"col",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action(col, 'remove')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
+47
View File
@@ -313,6 +313,20 @@
"method": "__register__",
"line": 92,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 100,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
@@ -834,6 +848,39 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 91,
"args": [
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 91,
"args": [
"[sql_table.minimum_time_delay]",
"[delay]"
],
"kwargs": {
"where": "sql_table.id == id_"
},
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "table",
"operation": "drop_column",
+61
View File
@@ -36,6 +36,67 @@
"code": "template_lot_type.select(\n template_lot_type.template,\n distinct_on=template_lot_type.template)",
"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",
"tables": [],
"line": 86,
"args": [
"*template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id).select(lot_type.code, where=template_lot_type.template == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id)",
"operation": "select",
"tables": [],
"line": 86,
"args": [
"lot_type.code"
],
"kwargs": {
"where": "template_lot_type.template == template_id"
},
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "cursor",
"operation": "execute",
"tables": [
"product_template"
],
"line": 93,
"args": [
"*table.update([table.lot_required], [value], where=table.id == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*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",
"operation": "update",
"tables": [
"product_template"
],
"line": 93,
"args": [
"[table.lot_required]",
"[value]"
],
"kwargs": {
"where": "table.id == template_id"
},
"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)"
}
]
}
+15
View File
@@ -9,6 +9,21 @@
"method": "__register__",
"line": 72,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 86,
"args": [
"col",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action(col, 'remove')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
+47
View File
@@ -313,6 +313,20 @@
"method": "__register__",
"line": 92,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 100,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
@@ -834,6 +848,39 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 96,
"args": [
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 96,
"args": [
"[sql_table.minimum_time_delay]",
"[delay]"
],
"kwargs": {
"where": "sql_table.id == id_"
},
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "table",
"operation": "drop_column",
+61
View File
@@ -36,6 +36,67 @@
"code": "template_lot_type.select(\n template_lot_type.template,\n distinct_on=template_lot_type.template)",
"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",
"tables": [],
"line": 89,
"args": [
"*template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id).select(lot_type.code, where=template_lot_type.template == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id)",
"operation": "select",
"tables": [],
"line": 89,
"args": [
"lot_type.code"
],
"kwargs": {
"where": "template_lot_type.template == template_id"
},
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "cursor",
"operation": "execute",
"tables": [
"product_template"
],
"line": 96,
"args": [
"*table.update([table.lot_required], [value], where=table.id == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*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",
"operation": "update",
"tables": [
"product_template"
],
"line": 96,
"args": [
"[table.lot_required]",
"[value]"
],
"kwargs": {
"where": "table.id == template_id"
},
"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)"
}
]
}
+14
View File
@@ -57,6 +57,20 @@
"method": "__register__",
"line": 92,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 100,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
+31
View File
@@ -236,6 +236,37 @@
},
"code": "table.update([table.type], ['cn_ric'],\n where=(table.type == 'cn_rit'))",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 793,
"args": [
"*table.update([table.type], [new], where=table.type == old)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.type], [new],\n where=table.type == old))",
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 793,
"args": [
"[table.type]",
"[new]"
],
"kwargs": {
"where": "table.type == old"
},
"code": "table.update(\n [table.type], [new],\n where=table.type == old)",
"phase": "after_super"
}
]
}
+61
View File
@@ -36,6 +36,67 @@
"code": "template_lot_type.select(\n template_lot_type.template,\n distinct_on=template_lot_type.template)",
"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",
"tables": [],
"line": 89,
"args": [
"*template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id).select(lot_type.code, where=template_lot_type.template == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id)",
"operation": "select",
"tables": [],
"line": 89,
"args": [
"lot_type.code"
],
"kwargs": {
"where": "template_lot_type.template == template_id"
},
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "cursor",
"operation": "execute",
"tables": [
"product_template"
],
"line": 96,
"args": [
"*table.update([table.lot_required], [value], where=table.id == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*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",
"operation": "update",
"tables": [
"product_template"
],
"line": 96,
"args": [
"[table.lot_required]",
"[value]"
],
"kwargs": {
"where": "table.id == template_id"
},
"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)"
}
]
}
+14
View File
@@ -57,6 +57,20 @@
"method": "__register__",
"line": 92,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 100,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
+31
View File
@@ -261,6 +261,37 @@
},
"code": "table.update([table.type], ['cn_ric'],\n where=(table.type == 'cn_rit'))",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 818,
"args": [
"*table.update([table.type], [new], where=table.type == old)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.type], [new],\n where=table.type == old))",
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 818,
"args": [
"[table.type]",
"[new]"
],
"kwargs": {
"where": "table.type == old"
},
"code": "table.update(\n [table.type], [new],\n where=table.type == old)",
"phase": "after_super"
}
]
}
+61
View File
@@ -36,6 +36,67 @@
"code": "template_lot_type.select(\n template_lot_type.template,\n distinct_on=template_lot_type.template)",
"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",
"tables": [],
"line": 89,
"args": [
"*template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id).select(lot_type.code, where=template_lot_type.template == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id)",
"operation": "select",
"tables": [],
"line": 89,
"args": [
"lot_type.code"
],
"kwargs": {
"where": "template_lot_type.template == template_id"
},
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "cursor",
"operation": "execute",
"tables": [
"product_template"
],
"line": 96,
"args": [
"*table.update([table.lot_required], [value], where=table.id == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*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",
"operation": "update",
"tables": [
"product_template"
],
"line": 96,
"args": [
"[table.lot_required]",
"[value]"
],
"kwargs": {
"where": "table.id == template_id"
},
"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)"
}
]
}
+14
View File
@@ -57,6 +57,20 @@
"method": "__register__",
"line": 119,
"operations": [
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_cron"
],
"line": 127,
"args": [
"column"
],
"kwargs": {},
"code": "table_h.drop_column(column)",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
+31
View File
@@ -262,6 +262,37 @@
"code": "table.update([table.type], ['cn_ric'],\n where=(table.type == 'cn_rit'))",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 836,
"args": [
"*table.update([table.type], [new], where=table.type == old)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.type], [new],\n where=table.type == old))",
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 836,
"args": [
"[table.type]",
"[new]"
],
"kwargs": {
"where": "table.type == old"
},
"code": "table.update(\n [table.type], [new],\n where=table.type == old)",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
+61
View File
@@ -36,6 +36,67 @@
"code": "template_lot_type.select(\n template_lot_type.template,\n distinct_on=template_lot_type.template)",
"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",
"tables": [],
"line": 89,
"args": [
"*template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id).select(lot_type.code, where=template_lot_type.template == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "template_lot_type.join(lot_type, condition=template_lot_type.type == lot_type.id)",
"operation": "select",
"tables": [],
"line": 89,
"args": [
"lot_type.code"
],
"kwargs": {
"where": "template_lot_type.template == template_id"
},
"code": "template_lot_type\n .join(lot_type,\n condition=template_lot_type.type == lot_type.id)\n .select(\n lot_type.code,\n where=template_lot_type.template == 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": "cursor",
"operation": "execute",
"tables": [
"product_template"
],
"line": 96,
"args": [
"*table.update([table.lot_required], [value], where=table.id == template_id)"
],
"kwargs": {},
"code": "(connection.cursor()).execute(*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",
"operation": "update",
"tables": [
"product_template"
],
"line": 96,
"args": [
"[table.lot_required]",
"[value]"
],
"kwargs": {
"where": "table.id == template_id"
},
"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)"
}
]
}
+24
View File
@@ -615,6 +615,30 @@
}
]
},
{
"module": "ir",
"file": "trigger.py",
"class": "Trigger",
"method": "__register__",
"line": 93,
"operations": [
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_trigger"
],
"line": 98,
"args": [
"name",
"name + '_'"
],
"kwargs": {},
"code": "table_h.column_rename(name, name + '_')",
"phase": "before_super"
}
]
},
{
"module": "ir",
"file": "ui/view.py",
+31
View File
@@ -113,6 +113,37 @@
"method": "__register__",
"line": 825,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 834,
"args": [
"*table.update([table.type], [new], where=table.type == old)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.type], [new],\n where=table.type == old))",
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 834,
"args": [
"[table.type]",
"[new]"
],
"kwargs": {
"where": "table.type == old"
},
"code": "table.update(\n [table.type], [new],\n where=table.type == old)",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
+24
View File
@@ -615,6 +615,30 @@
}
]
},
{
"module": "ir",
"file": "trigger.py",
"class": "Trigger",
"method": "__register__",
"line": 93,
"operations": [
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_trigger"
],
"line": 98,
"args": [
"name",
"name + '_'"
],
"kwargs": {},
"code": "table_h.column_rename(name, name + '_')",
"phase": "before_super"
}
]
},
{
"module": "ir",
"file": "ui/view.py",
+31
View File
@@ -113,6 +113,37 @@
"method": "__register__",
"line": 844,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 853,
"args": [
"*table.update([table.type], [new], where=table.type == old)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.type], [new],\n where=table.type == old))",
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 853,
"args": [
"[table.type]",
"[new]"
],
"kwargs": {
"where": "table.type == old"
},
"code": "table.update(\n [table.type], [new],\n where=table.type == old)",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
+24
View File
@@ -615,6 +615,30 @@
}
]
},
{
"module": "ir",
"file": "trigger.py",
"class": "Trigger",
"method": "__register__",
"line": 92,
"operations": [
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_trigger"
],
"line": 97,
"args": [
"name",
"name + '_'"
],
"kwargs": {},
"code": "table_h.column_rename(name, name + '_')",
"phase": "before_super"
}
]
},
{
"module": "ir",
"file": "ui/view.py",
+31
View File
@@ -113,6 +113,37 @@
"method": "__register__",
"line": 859,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 873,
"args": [
"*table.update([table.type], [new], where=table.type == old)"
],
"kwargs": {},
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.type], [new],\n where=table.type == old))",
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 873,
"args": [
"[table.type]",
"[new]"
],
"kwargs": {
"where": "table.type == old"
},
"code": "table.update(\n [table.type], [new],\n where=table.type == old)",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",