{ "version": "7.2", "module": "ir", "files": [ { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/action.py", "class": "ActionActWindowView", "method": "__register__", "line": 962, "operations": [ { "object": "table", "operation": "not_null_action", "line": 968, "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": 1011, "operations": [ { "object": "table", "operation": "not_null_action", "line": 1017, "args": [ "'sequence'", "'remove'" ], "kwargs": {}, "code": "table.not_null_action('sequence', 'remove')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/cron.py", "class": "Cron", "method": "__register__", "line": 92, "operations": [ { "object": "table_h", "operation": "not_null_action", "line": 103, "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/export.py", "class": "Export", "method": "__register__", "line": 56, "operations": [ { "object": "cursor", "operation": "execute", "line": 67, "args": [ "*table.update([table.user], [table.create_uid])" ], "kwargs": {}, "code": "cursor.execute(*table.update([table.user], [table.create_uid]))", "phase": "after_super", "condition": "not user_exists" }, { "object": "table", "operation": "update", "line": 67, "args": [ "[table.user]", "[table.create_uid]" ], "kwargs": {}, "code": "table.update([table.user], [table.create_uid])", "phase": "after_super", "condition": "not user_exists" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/model.py", "class": "ModelField", "method": "__register__", "line": 297, "operations": [ { "object": "table_h", "operation": "column_rename", "line": 309, "args": [ "'model'", "'_temp_model'" ], "kwargs": {}, "code": "table_h.column_rename('model', '_temp_model')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table_h", "operation": "add_column", "line": 310, "args": [ "'model'", "'VARCHAR'" ], "kwargs": {}, "code": "table_h.add_column('model', 'VARCHAR')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "cursor", "operation": "execute", "line": 311, "args": [ "*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)" ], "kwargs": {}, "code": "cursor.execute(*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id))", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table", "operation": "update", "line": 311, "args": [ "[table.model]", "[model.model]" ], "kwargs": { "from_": "[model]", "where": "table._temp_model == model.id" }, "code": "table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table_h", "operation": "drop_column", "line": 315, "args": [ "'_temp_model'" ], "kwargs": {}, "code": "table_h.drop_column('_temp_model')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/model.py", "class": "ModelAccess", "method": "__register__", "line": 531, "operations": [ { "object": "table_h", "operation": "column_rename", "line": 543, "args": [ "'model'", "'_temp_model'" ], "kwargs": {}, "code": "table_h.column_rename('model', '_temp_model')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table_h", "operation": "add_column", "line": 544, "args": [ "'model'", "'VARCHAR'" ], "kwargs": {}, "code": "table_h.add_column('model', 'VARCHAR')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "cursor", "operation": "execute", "line": 545, "args": [ "*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)" ], "kwargs": {}, "code": "cursor.execute(*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id))", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table", "operation": "update", "line": 545, "args": [ "[table.model]", "[model.model]" ], "kwargs": { "from_": "[model]", "where": "table._temp_model == model.id" }, "code": "table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table_h", "operation": "drop_column", "line": 549, "args": [ "'_temp_model'" ], "kwargs": {}, "code": "table_h.drop_column('_temp_model')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/model.py", "class": "ModelFieldAccess", "method": "__register__", "line": 786, "operations": [ { "object": "table_h", "operation": "column_rename", "line": 798, "args": [ "'field'", "'_temp_field'" ], "kwargs": {}, "code": "table_h.column_rename('field', '_temp_field')", "phase": "before_super", "condition": "table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')" }, { "object": "table_h", "operation": "add_column", "line": 799, "args": [ "'model'", "'VARCHAR'" ], "kwargs": {}, "code": "table_h.add_column('model', 'VARCHAR')", "phase": "before_super", "condition": "table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')" }, { "object": "table_h", "operation": "add_column", "line": 800, "args": [ "'field'", "'VARCHAR'" ], "kwargs": {}, "code": "table_h.add_column('field', 'VARCHAR')", "phase": "before_super", "condition": "table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')" }, { "object": "cursor", "operation": "execute", "line": 801, "args": [ "*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)" ], "kwargs": {}, "code": "cursor.execute(*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id))", "phase": "before_super", "condition": "table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')" }, { "object": "table", "operation": "update", "line": 801, "args": [ "[table.model, table.field]", "[field.model, field.name]" ], "kwargs": { "from_": "[field]", "where": "table._temp_field == field.id" }, "code": "table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)", "phase": "before_super", "condition": "table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')" }, { "object": "table_h", "operation": "drop_column", "line": 806, "args": [ "'_temp_field'" ], "kwargs": {}, "code": "table_h.drop_column('_temp_field')", "phase": "before_super", "condition": "table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/model.py", "class": "ModelButton", "method": "__register__", "line": 985, "operations": [ { "object": "table_h", "operation": "column_rename", "line": 997, "args": [ "'model'", "'_temp_model'" ], "kwargs": {}, "code": "table_h.column_rename('model', '_temp_model')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table_h", "operation": "add_column", "line": 998, "args": [ "'model'", "'VARCHAR'" ], "kwargs": {}, "code": "table_h.add_column('model', 'VARCHAR')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "cursor", "operation": "execute", "line": 999, "args": [ "*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)" ], "kwargs": {}, "code": "cursor.execute(*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id))", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table", "operation": "update", "line": 999, "args": [ "[table.model]", "[model.model]" ], "kwargs": { "from_": "[model]", "where": "table._temp_model == model.id" }, "code": "table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table_h", "operation": "drop_column", "line": 1003, "args": [ "'_temp_model'" ], "kwargs": {}, "code": "table_h.drop_column('_temp_model')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table_h", "operation": "drop_constraint", "line": 1008, "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": 1340, "operations": [ { "object": "table_h", "operation": "not_null_action", "line": 1346, "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": "ModuleConfigWizardItem", "method": "__register__", "line": 323, "operations": [ { "object": "table", "operation": "not_null_action", "line": 329, "args": [ "'sequence'", "'remove'" ], "kwargs": {}, "code": "table.not_null_action('sequence', 'remove')", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/rule.py", "class": "RuleGroup", "method": "__register__", "line": 84, "operations": [ { "object": "table_h", "operation": "column_rename", "line": 96, "args": [ "'model'", "'_temp_model'" ], "kwargs": {}, "code": "table_h.column_rename('model', '_temp_model')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table_h", "operation": "add_column", "line": 97, "args": [ "'model'", "'VARCHAR'" ], "kwargs": {}, "code": "table_h.add_column('model', 'VARCHAR')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "cursor", "operation": "execute", "line": 98, "args": [ "*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)" ], "kwargs": {}, "code": "cursor.execute(*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id))", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table", "operation": "update", "line": 98, "args": [ "[table.model]", "[model.model]" ], "kwargs": { "from_": "[model]", "where": "table._temp_model == model.id" }, "code": "table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" }, { "object": "table_h", "operation": "drop_column", "line": 102, "args": [ "'_temp_model'" ], "kwargs": {}, "code": "table_h.drop_column('_temp_model')", "phase": "before_super", "condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')" } ] }, { "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": 122, "operations": [ { "object": "cursor", "operation": "execute", "line": 135, "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": 135, "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": 137, "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": 140, "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/translation.py", "class": "Translation", "method": "__register__", "line": 122, "operations": [ { "object": "table", "operation": "drop_constraint", "line": 127, "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": 128, "args": [ "'src_md5'" ], "kwargs": {}, "code": "table.drop_column('src_md5')", "phase": "before_super", "condition": "table.column_exist('src_md5')" } ] }, { "file": "/home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py", "class": "Trigger", "method": "__register__", "line": 79, "operations": [ { "object": "model", "operation": "select", "line": 92, "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": 94, "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": 94, "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": 98, "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": 99, "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/ui/icon.py", "class": "Icon", "method": "__register__", "line": 35, "operations": [ { "object": "table", "operation": "not_null_action", "line": 41, "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": "ViewSearch", "method": "__register__", "line": 708, "operations": [ { "object": "table_h", "operation": "not_null_action", "line": 713, "args": [ "'user'", "'remove'" ], "kwargs": {}, "code": "table_h.not_null_action('user', 'remove')", "phase": "after_super" } ] } ] }