Files

676 lines
22 KiB
JSON
Raw Permalink Normal View History

2026-08-08 01:29:43 +02:00
{
"version": "5.0",
"module": "ir",
"files": [
{
"module": "ir",
"file": "action.py",
2026-08-08 01:29:43 +02:00
"class": "ActionKeyword",
"method": "__register__",
"line": 119,
"operations": [
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_action_keyword"
],
2026-08-08 01:29:43 +02:00
"line": 123,
"args": [
"['keyword', 'model']",
"'add'"
],
"kwargs": {},
"code": "table.index_action(['keyword', 'model'], 'add')",
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "action.py",
2026-08-08 01:29:43 +02:00
"class": "ActionReport",
"method": "__register__",
"line": 499,
"operations": [
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_action_report"
],
2026-08-08 01:29:43 +02:00
"line": 508,
"args": [
"'report_name_module_uniq'"
],
"kwargs": {},
"code": "table.drop_constraint('report_name_module_uniq')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_report"
],
2026-08-08 01:29:43 +02:00
"line": 511,
"args": [
"*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(transaction.connection.cursor()).execute(*action_report.update(\n [action_report.extension],\n ['txt'],\n where=action_report.extension == 'plain'))",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
},
{
"object": "action_report",
"operation": "update",
"tables": [
"ir_action_report"
],
2026-08-08 01:29:43 +02:00
"line": 511,
"args": [
"[action_report.extension]",
"['txt']"
],
"kwargs": {
"where": "action_report.extension == 'plain'"
},
2026-08-09 00:47:23 +02:00
"code": "action_report.update(\n [action_report.extension],\n ['txt'],\n where=action_report.extension == 'plain')",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "action.py",
2026-08-08 01:29:43 +02:00
"class": "ActionActWindow",
"method": "__register__",
"line": 694,
"operations": [
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
2026-08-08 01:29:43 +02:00
"line": 702,
"args": [
"'auto_refresh'"
],
"kwargs": {},
"code": "table.drop_column('auto_refresh')",
"phase": "after_super"
},
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
2026-08-08 01:29:43 +02:00
"line": 705,
"args": [
"'window_name'"
],
"kwargs": {},
"code": "table.drop_column('window_name')",
"phase": "after_super"
},
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window"
],
2026-08-08 01:29:43 +02:00
"line": 708,
"args": [
"'limit'",
"'remove'"
],
"kwargs": {},
"code": "table.not_null_action('limit', 'remove')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_act_window"
],
2026-08-08 01:29:43 +02:00
"line": 709,
"args": [
"*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*act_window.update(\n [act_window.limit], [Null],\n where=act_window.limit == 0))",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
},
{
"object": "act_window",
"operation": "update",
"tables": [
"ir_action_act_window"
],
2026-08-08 01:29:43 +02:00
"line": 709,
"args": [
"[act_window.limit]",
"[Null]"
],
"kwargs": {
"where": "act_window.limit == 0"
},
2026-08-09 00:47:23 +02:00
"code": "act_window.update(\n [act_window.limit], [Null],\n where=act_window.limit == 0)",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "attachment.py",
2026-08-08 01:29:43 +02:00
"class": "Attachment",
"method": "__register__",
"line": 60,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_attachment"
],
2026-08-08 01:29:43 +02:00
"line": 70,
"args": [
"*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*attachment.update(\n [attachment.file_id],\n [attachment.digest],\n where=(attachment.collision == 0)\n | (attachment.collision == Null)))",
2026-08-08 01:29:43 +02:00
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "attachment",
"operation": "update",
"tables": [
"ir_attachment"
],
2026-08-08 01:29:43 +02:00
"line": 70,
"args": [
"[attachment.file_id]",
"[attachment.digest]"
],
"kwargs": {
"where": "(attachment.collision == 0) | (attachment.collision == Null)"
},
2026-08-09 00:47:23 +02:00
"code": "attachment.update(\n [attachment.file_id],\n [attachment.digest],\n where=(attachment.collision == 0)\n | (attachment.collision == Null))",
2026-08-08 01:29:43 +02:00
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_attachment"
],
2026-08-08 01:29:43 +02:00
"line": 75,
"args": [
"*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*attachment.update(\n [attachment.file_id],\n [Concat(Concat(attachment.digest, '-'),\n attachment.collision)],\n where=(attachment.collision != 0)\n & (attachment.collision != Null)))",
2026-08-08 01:29:43 +02:00
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "attachment",
"operation": "update",
"tables": [
"ir_attachment"
],
2026-08-08 01:29:43 +02:00
"line": 75,
"args": [
"[attachment.file_id]",
"[Concat(Concat(attachment.digest, '-'), attachment.collision)]"
],
"kwargs": {
"where": "(attachment.collision != 0) & (attachment.collision != Null)"
},
2026-08-09 00:47:23 +02:00
"code": "attachment.update(\n [attachment.file_id],\n [Concat(Concat(attachment.digest, '-'),\n attachment.collision)],\n where=(attachment.collision != 0)\n & (attachment.collision != Null))",
2026-08-08 01:29:43 +02:00
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
2026-08-08 01:29:43 +02:00
"line": 81,
"args": [
"'digest'"
],
"kwargs": {},
"code": "table.drop_column('digest')",
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
2026-08-08 01:29:43 +02:00
"line": 82,
"args": [
"'collision'"
],
"kwargs": {},
"code": "table.drop_column('collision')",
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_attachment"
],
2026-08-08 01:29:43 +02:00
"line": 85,
"args": [
"'resource_name'"
],
"kwargs": {},
"code": "table.drop_constraint('resource_name')",
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "model.py",
2026-08-08 01:29:43 +02:00
"class": "ModelData",
"method": "__register__",
"line": 1100,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
2026-08-08 01:29:43 +02:00
"line": 1107,
"args": [
"*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*model_data.update(\n [model_data.module], ['ir'],\n where=((model_data.module == 'res')\n & (model_data.fs_id == 'model_data_sync_button'))))",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
},
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
2026-08-08 01:29:43 +02:00
"line": 1107,
"args": [
"[model_data.module]",
"['ir']"
],
"kwargs": {
"where": "(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')"
},
2026-08-09 00:47:23 +02:00
"code": "model_data.update(\n [model_data.module], ['ir'],\n where=((model_data.module == 'res')\n & (model_data.fs_id == 'model_data_sync_button')))",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "module.py",
2026-08-08 01:29:43 +02:00
"class": "Module",
"method": "__register__",
"line": 102,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_module"
],
2026-08-08 01:29:43 +02:00
"line": 118,
"args": [
"*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.state], ['activated'],\n where=sql_table.state == 'installed'))",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
2026-08-08 01:29:43 +02:00
"line": 118,
"args": [
"[sql_table.state]",
"['activated']"
],
"kwargs": {
"where": "sql_table.state == 'installed'"
},
2026-08-09 00:47:23 +02:00
"code": "sql_table.update(\n [sql_table.state], ['activated'],\n where=sql_table.state == 'installed')",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_module"
],
2026-08-08 01:29:43 +02:00
"line": 121,
"args": [
"*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.state], ['not activated'],\n where=sql_table.state == 'uninstalled'))",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
2026-08-08 01:29:43 +02:00
"line": 121,
"args": [
"[sql_table.state]",
"['not activated']"
],
"kwargs": {
"where": "sql_table.state == 'uninstalled'"
},
2026-08-09 00:47:23 +02:00
"code": "sql_table.update(\n [sql_table.state], ['not activated'],\n where=sql_table.state == 'uninstalled')",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
2026-08-08 01:29:43 +02:00
"line": 134,
"args": [
"*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*model_data_sql_table.update(\n [model_data_sql_table.module], ['ir'],\n where=((model_data_sql_table.module == 'res')\n & (model_data_sql_table.fs_id.in_(button_fs_ids)))))",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
},
{
"object": "model_data_sql_table",
"operation": "update",
"tables": [
"ir_model_data"
],
2026-08-08 01:29:43 +02:00
"line": 134,
"args": [
"[model_data_sql_table.module]",
"['ir']"
],
"kwargs": {
"where": "(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)"
},
2026-08-09 00:47:23 +02:00
"code": "model_data_sql_table.update(\n [model_data_sql_table.module], ['ir'],\n where=((model_data_sql_table.module == 'res')\n & (model_data_sql_table.fs_id.in_(button_fs_ids))))",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "module.py",
2026-08-08 01:29:43 +02:00
"class": "ModuleConfigWizardItem",
"method": "__register__",
"line": 401,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
2026-08-08 01:29:43 +02:00
"line": 412,
"args": [
"*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*model_data.update(\n columns=[model_data.model],\n values=[cls.__name__],\n where=(model_data.model ==\n 'ir.module.module.config_wizard.item')))",
2026-08-08 01:29:43 +02:00
"phase": "before_super"
},
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
2026-08-08 01:29:43 +02:00
"line": 412,
"args": [],
"kwargs": {
"columns": "[model_data.model]",
"values": "[cls.__name__]",
"where": "model_data.model == 'ir.module.module.config_wizard.item'"
},
2026-08-09 00:47:23 +02:00
"code": "model_data.update(\n columns=[model_data.model],\n values=[cls.__name__],\n where=(model_data.model ==\n 'ir.module.module.config_wizard.item'))",
2026-08-08 01:29:43 +02:00
"phase": "before_super"
}
]
},
{
"module": "ir",
"file": "queue.py",
2026-08-08 01:29:43 +02:00
"class": "Queue",
"method": "__register__",
"line": 35,
"operations": [
{
"object": "table_h",
"operation": "index_action",
"tables": [
"ir_queue"
],
2026-08-08 01:29:43 +02:00
"line": 41,
"args": [
"[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]"
],
"kwargs": {
"action": "'add'"
},
2026-08-09 00:47:23 +02:00
"code": "table_h.index_action([\n queue.scheduled_at.nulls_first,\n queue.expected_at.nulls_first,\n queue.dequeued_at,\n queue.name,\n ], action='add')",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "session.py",
2026-08-08 01:29:43 +02:00
"class": "Session",
"method": "__register__",
"line": 36,
"operations": [
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_session"
],
2026-08-08 01:29:43 +02:00
"line": 40,
"args": [
"'create_uid'",
"'add'"
],
"kwargs": {},
"code": "table.index_action('create_uid', 'add')",
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "translation.py",
2026-08-08 01:29:43 +02:00
"class": "Translation",
"method": "__register__",
"line": 99,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_translation"
],
2026-08-08 01:29:43 +02:00
"line": 108,
"args": [
"*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(transaction.connection.cursor()).execute(*ir_translation.update(\n [ir_translation.type],\n ['report'],\n where=ir_translation.type == 'odt'))",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
},
{
"object": "ir_translation",
"operation": "update",
"tables": [
"ir_translation"
],
2026-08-08 01:29:43 +02:00
"line": 108,
"args": [
"[ir_translation.type]",
"['report']"
],
"kwargs": {
"where": "ir_translation.type == 'odt'"
},
2026-08-09 00:47:23 +02:00
"code": "ir_translation.update(\n [ir_translation.type],\n ['report'],\n where=ir_translation.type == 'odt')",
2026-08-08 01:29:43 +02:00
"phase": "after_super"
},
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_translation"
],
2026-08-08 01:29:43 +02:00
"line": 114,
"args": [
"['lang', 'type', 'name']",
"'add'"
],
"kwargs": {},
"code": "table.index_action(['lang', 'type', 'name'], 'add')",
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "trigger.py",
2026-08-08 01:29:43 +02:00
"class": "Trigger",
"method": "__register__",
"line": 74,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
2026-08-08 01:29:43 +02:00
"line": 84,
"args": [
"*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*sql_table.select(\n sql_table.id, sql_table.minimum_delay,\n where=sql_table.minimum_delay != Null))",
2026-08-08 01:29:43 +02:00
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "sql_table",
"operation": "select",
"tables": [
"ir_trigger"
],
2026-08-08 01:29:43 +02:00
"line": 84,
"args": [
"sql_table.id",
"sql_table.minimum_delay"
],
"kwargs": {
"where": "sql_table.minimum_delay != Null"
},
2026-08-09 00:47:23 +02:00
"code": "sql_table.select(\n sql_table.id, sql_table.minimum_delay,\n where=sql_table.minimum_delay != Null)",
2026-08-08 01:29:43 +02:00
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
2026-08-08 01:29:43 +02:00
"line": 93,
"args": [
"'minimum_delay'"
],
"kwargs": {},
"code": "table.drop_column('minimum_delay')",
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
}
]
},
{
"module": "ir",
"file": "trigger.py",
2026-08-08 01:29:43 +02:00
"class": "TriggerLog",
"method": "__register__",
"line": 300,
"operations": [
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_trigger_log"
],
2026-08-08 01:29:43 +02:00
"line": 304,
"args": [
"['trigger', 'record_id']",
"'add'"
],
"kwargs": {},
"code": "table.index_action(['trigger', 'record_id'], 'add')",
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "ui/view.py",
2026-08-08 01:29:43 +02:00
"class": "ViewTreeState",
"method": "__register__",
"line": 313,
"operations": [
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_ui_view_tree_state"
],
2026-08-08 01:29:43 +02:00
"line": 317,
"args": [
"['model', 'domain', 'user', 'child_name']",
"'add'"
],
"kwargs": {},
"code": "table.index_action(['model', 'domain', 'user', 'child_name'], 'add')",
"phase": "after_super"
}
]
}
]
}