{ "version": "6.4", "module": "ir", "files": [ { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/action.py", "class": "ActionKeyword", "method": "__register__", "line": 166, "operations": [ { "object": "table", "operation": "index_action", "line": 170, "args": [ "['keyword', 'model']", "'add'" ], "kwargs": {}, "code": "table.index_action(['keyword', 'model'], 'add')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/action.py", "class": "ActionReport", "method": "__register__", "line": 565, "operations": [ { "object": "table", "operation": "drop_constraint", "line": 574, "args": [ "'report_name_module_uniq'" ], "kwargs": {}, "code": "table.drop_constraint('report_name_module_uniq')", "phase": "after_super" }, { "object": "cursor", "operation": "execute", "line": 577, "args": [ "*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')" ], "kwargs": {}, "code": "cursor.execute(*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain'))", "phase": "after_super" }, { "object": "action_report", "operation": "update", "line": 577, "args": [ "[action_report.extension]", "['txt']" ], "kwargs": { "where": "action_report.extension == 'plain'" }, "code": "action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/action.py", "class": "ActionActWindow", "method": "__register__", "line": 765, "operations": [ { "object": "table", "operation": "drop_column", "line": 773, "args": [ "'auto_refresh'" ], "kwargs": {}, "code": "table.drop_column('auto_refresh')", "phase": "after_super" }, { "object": "table", "operation": "drop_column", "line": 776, "args": [ "'window_name'" ], "kwargs": {}, "code": "table.drop_column('window_name')", "phase": "after_super" }, { "object": "table", "operation": "not_null_action", "line": 779, "args": [ "'limit'", "'remove'" ], "kwargs": {}, "code": "table.not_null_action('limit', 'remove')", "phase": "after_super" }, { "object": "cursor", "operation": "execute", "line": 780, "args": [ "*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)" ], "kwargs": {}, "code": "cursor.execute(*act_window.update([act_window.limit], [Null], where=act_window.limit == 0))", "phase": "after_super" }, { "object": "act_window", "operation": "update", "line": 780, "args": [ "[act_window.limit]", "[Null]" ], "kwargs": { "where": "act_window.limit == 0" }, "code": "act_window.update([act_window.limit], [Null], where=act_window.limit == 0)", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/action.py", "class": "ActionActWindowView", "method": "__register__", "line": 961, "operations": [ { "object": "table", "operation": "not_null_action", "line": 967, "args": [ "'sequence'", "'remove'" ], "kwargs": {}, "code": "table.not_null_action('sequence', 'remove')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/action.py", "class": "ActionActWindowDomain", "method": "__register__", "line": 1000, "operations": [ { "object": "table", "operation": "not_null_action", "line": 1006, "args": [ "'sequence'", "'remove'" ], "kwargs": {}, "code": "table.not_null_action('sequence', 'remove')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py", "class": "Attachment", "method": "__register__", "line": 59, "operations": [ { "object": "cursor", "operation": "execute", "line": 69, "args": [ "*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))" ], "kwargs": {}, "code": "cursor.execute(*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null)))", "phase": "after_super", "condition": "table.column_exist('digest') and table.column_exist('collision')" }, { "object": "attachment", "operation": "update", "line": 69, "args": [ "[attachment.file_id]", "[attachment.digest]" ], "kwargs": { "where": "(attachment.collision == 0) | (attachment.collision == Null)" }, "code": "attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))", "phase": "after_super", "condition": "table.column_exist('digest') and table.column_exist('collision')" }, { "object": "cursor", "operation": "execute", "line": 74, "args": [ "*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))" ], "kwargs": {}, "code": "cursor.execute(*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null)))", "phase": "after_super", "condition": "table.column_exist('digest') and table.column_exist('collision')" }, { "object": "attachment", "operation": "update", "line": 74, "args": [ "[attachment.file_id]", "[Concat(Concat(attachment.digest, '-'), attachment.collision)]" ], "kwargs": { "where": "(attachment.collision != 0) & (attachment.collision != Null)" }, "code": "attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))", "phase": "after_super", "condition": "table.column_exist('digest') and table.column_exist('collision')" }, { "object": "table", "operation": "drop_column", "line": 80, "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", "line": 81, "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", "line": 84, "args": [ "'resource_name'" ], "kwargs": {}, "code": "table.drop_constraint('resource_name')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/cron.py", "class": "Cron", "method": "__register__", "line": 87, "operations": [ { "object": "table_h", "operation": "not_null_action", "line": 98, "args": [ "'next_call'", "'remove'" ], "kwargs": {}, "code": "table_h.not_null_action('next_call', 'remove')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/model.py", "class": "ModelButton", "method": "__register__", "line": 889, "operations": [ { "object": "table_h", "operation": "drop_constraint", "line": 895, "args": [ "'name_model_uniq'" ], "kwargs": {}, "code": "table_h.drop_constraint('name_model_uniq')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/model.py", "class": "ModelData", "method": "__register__", "line": 1228, "operations": [ { "object": "cursor", "operation": "execute", "line": 1237, "args": [ "*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))" ], "kwargs": {}, "code": "cursor.execute(*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')))", "phase": "after_super" }, { "object": "model_data", "operation": "update", "line": 1237, "args": [ "[model_data.module]", "['ir']" ], "kwargs": { "where": "(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')" }, "code": "model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))", "phase": "after_super" }, { "object": "table_h", "operation": "not_null_action", "line": 1243, "args": [ "'db_id'" ], "kwargs": { "action": "'remove'" }, "code": "table_h.not_null_action('db_id', action='remove')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/module.py", "class": "Module", "method": "__register__", "line": 96, "operations": [ { "object": "cursor", "operation": "execute", "line": 111, "args": [ "*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')" ], "kwargs": {}, "code": "cursor.execute(*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed'))", "phase": "after_super" }, { "object": "sql_table", "operation": "update", "line": 111, "args": [ "[sql_table.state]", "['activated']" ], "kwargs": { "where": "sql_table.state == 'installed'" }, "code": "sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')", "phase": "after_super" }, { "object": "cursor", "operation": "execute", "line": 114, "args": [ "*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')" ], "kwargs": {}, "code": "cursor.execute(*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled'))", "phase": "after_super" }, { "object": "sql_table", "operation": "update", "line": 114, "args": [ "[sql_table.state]", "['not activated']" ], "kwargs": { "where": "sql_table.state == 'uninstalled'" }, "code": "sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')", "phase": "after_super" }, { "object": "cursor", "operation": "execute", "line": 127, "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": {}, "code": "cursor.execute(*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)))", "phase": "after_super" }, { "object": "model_data_sql_table", "operation": "update", "line": 127, "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)" }, "code": "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))", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/module.py", "class": "ModuleConfigWizardItem", "method": "__register__", "line": 386, "operations": [ { "object": "cursor", "operation": "execute", "line": 396, "args": [ "*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')" ], "kwargs": {}, "code": "cursor.execute(*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item'))", "phase": "before_super" }, { "object": "model_data", "operation": "update", "line": 396, "args": [], "kwargs": { "columns": "[model_data.model]", "values": "[cls.__name__]", "where": "model_data.model == 'ir.module.module.config_wizard.item'" }, "code": "model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')", "phase": "before_super" }, { "object": "table", "operation": "not_null_action", "line": 407, "args": [ "'sequence'", "'remove'" ], "kwargs": {}, "code": "table.not_null_action('sequence', 'remove')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/queue_.py", "class": "Queue", "method": "__register__", "line": 37, "operations": [ { "object": "table_h", "operation": "index_action", "line": 43, "args": [ "[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]" ], "kwargs": { "action": "'add'" }, "code": "table_h.index_action([queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name], action='add')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py", "class": "SequenceType", "method": "__register__", "line": 41, "operations": [ { "object": "table_h", "operation": "not_null_action", "line": 47, "args": [ "'code'" ], "kwargs": { "action": "'remove'" }, "code": "table_h.not_null_action('code', action='remove')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py", "class": "Sequence", "method": "__register__", "line": 117, "operations": [ { "object": "cursor", "operation": "execute", "line": 130, "args": [ "*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))" ], "kwargs": {}, "code": "cursor.execute(*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)))", "phase": "after_super", "condition": "table_h.column_exist('code')" }, { "object": "table", "operation": "update", "line": 130, "args": [ "[table.sequence_type]", "sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)" ], "kwargs": {}, "code": "table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))", "phase": "after_super", "condition": "table_h.column_exist('code')" }, { "object": "sequence_type", "operation": "select", "line": 132, "args": [ "sequence_type.id" ], "kwargs": { "where": "sequence_type.code == table.code" }, "code": "sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)", "phase": "after_super", "condition": "table_h.column_exist('code')" }, { "object": "table_h", "operation": "drop_column", "line": 135, "args": [ "'code'" ], "kwargs": {}, "code": "table_h.drop_column('code')", "phase": "after_super", "condition": "table_h.column_exist('code')" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/session.py", "class": "Session", "method": "__register__", "line": 24, "operations": [ { "object": "table", "operation": "index_action", "line": 28, "args": [ "'create_uid'", "'add'" ], "kwargs": {}, "code": "table.index_action('create_uid', 'add')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/translation.py", "class": "Translation", "method": "__register__", "line": 79, "operations": [ { "object": "table", "operation": "drop_constraint", "line": 87, "args": [ "'translation_md5_uniq'" ], "kwargs": {}, "code": "table.drop_constraint('translation_md5_uniq')", "phase": "before_super", "condition": "table.column_exist('src_md5')" }, { "object": "table", "operation": "drop_column", "line": 88, "args": [ "'src_md5'" ], "kwargs": {}, "code": "table.drop_column('src_md5')", "phase": "before_super", "condition": "table.column_exist('src_md5')" }, { "object": "cursor", "operation": "execute", "line": 93, "args": [ "*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')" ], "kwargs": {}, "code": "cursor.execute(*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt'))", "phase": "after_super" }, { "object": "ir_translation", "operation": "update", "line": 93, "args": [ "[ir_translation.type]", "['report']" ], "kwargs": { "where": "ir_translation.type == 'odt'" }, "code": "ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')", "phase": "after_super" }, { "object": "table", "operation": "index_action", "line": 99, "args": [ "['lang', 'type', 'name']", "'add'" ], "kwargs": {}, "code": "table.index_action(['lang', 'type', 'name'], 'add')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py", "class": "Trigger", "method": "__register__", "line": 73, "operations": [ { "object": "cursor", "operation": "execute", "line": 85, "args": [ "*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)" ], "kwargs": {}, "code": "cursor.execute(*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null))", "phase": "after_super", "condition": "table.column_exist('minimum_delay')" }, { "object": "sql_table", "operation": "select", "line": 85, "args": [ "sql_table.id", "sql_table.minimum_delay" ], "kwargs": { "where": "sql_table.minimum_delay != Null" }, "code": "sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)", "phase": "after_super", "condition": "table.column_exist('minimum_delay')" }, { "object": "table", "operation": "drop_column", "line": 94, "args": [ "'minimum_delay'" ], "kwargs": {}, "code": "table.drop_column('minimum_delay')", "phase": "after_super", "condition": "table.column_exist('minimum_delay')" }, { "object": "model", "operation": "select", "line": 102, "args": [ "model.model" ], "kwargs": { "where": "model.id == sql_table.action_model" }, "code": "model.select(model.model, where=model.id == sql_table.action_model)", "phase": "after_super", "condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')" }, { "object": "cursor", "operation": "execute", "line": 104, "args": [ "*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])" ], "kwargs": {}, "code": "cursor.execute(*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]))", "phase": "after_super", "condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')" }, { "object": "sql_table", "operation": "update", "line": 104, "args": [ "[sql_table.action]", "[Concat(action_model, Concat('|', sql_table.action_function))]" ], "kwargs": {}, "code": "sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])", "phase": "after_super", "condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')" }, { "object": "table_h", "operation": "drop_column", "line": 108, "args": [ "'action_model'" ], "kwargs": {}, "code": "table_h.drop_column('action_model')", "phase": "after_super", "condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')" }, { "object": "table_h", "operation": "drop_column", "line": 109, "args": [ "'action_function'" ], "kwargs": {}, "code": "table_h.drop_column('action_function')", "phase": "after_super", "condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py", "class": "TriggerLog", "method": "__register__", "line": 329, "operations": [ { "object": "table", "operation": "index_action", "line": 333, "args": [ "['trigger', 'record_id']", "'add'" ], "kwargs": {}, "code": "table.index_action(['trigger', 'record_id'], 'add')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py", "class": "Icon", "method": "__register__", "line": 29, "operations": [ { "object": "table", "operation": "not_null_action", "line": 35, "args": [ "'sequence'", "'remove'" ], "kwargs": {}, "code": "table.not_null_action('sequence', 'remove')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py", "class": "ViewTreeOptional", "method": "__register__", "line": 445, "operations": [ { "object": "table_h", "operation": "index_action", "line": 448, "args": [ "['view_id', 'user']", "'add'" ], "kwargs": {}, "code": "table_h.index_action(['view_id', 'user'], 'add')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py", "class": "ViewTreeState", "method": "__register__", "line": 508, "operations": [ { "object": "table", "operation": "index_action", "line": 512, "args": [ "['model', 'domain', 'user', 'child_name']", "'add'" ], "kwargs": {}, "code": "table.index_action(['model', 'domain', 'user', 'child_name'], 'add')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py", "class": "ViewSearch", "method": "__register__", "line": 580, "operations": [ { "object": "table_h", "operation": "not_null_action", "line": 585, "args": [ "'user'", "'remove'" ], "kwargs": {}, "code": "table_h.not_null_action('user', 'remove')", "phase": "after_super" } ] } ] }