{ "version": "6.2", "module": "res", "files": [ { "module": "res", "file": "user.py", "class": "User", "method": "__register__", "line": 205, "operations": [ { "object": "", "operation": "Pool", "tables": [], "line": 206, "args": [], "kwargs": {}, "code": "Pool()", "unresolved": true, "phase": "before_super" }, { "object": "Transaction().connection", "operation": "cursor", "tables": [], "line": 209, "args": [], "kwargs": {}, "code": "Transaction().connection.(Transaction().connection.cursor())()", "unresolved": true, "phase": "before_super" }, { "object": "", "operation": "Transaction", "tables": [], "line": 209, "args": [], "kwargs": {}, "code": "Transaction()", "unresolved": true, "phase": "before_super" }, { "object": "", "operation": "Concat", "tables": [], "line": 216, "args": [ "'sha1$'", "Concat(sqltable.password, Concat('$', Coalesce(sqltable.salt, '')))" ], "kwargs": {}, "code": "Concat('sha1$', Concat(sqltable.password,\n Concat('$', Coalesce(sqltable.salt, ''))))", "unresolved": true, "phase": "after_super", "condition": "table.column_exist('password') and table.column_exist('salt')" }, { "object": "", "operation": "Concat", "tables": [], "line": 216, "args": [ "sqltable.password", "Concat('$', Coalesce(sqltable.salt, ''))" ], "kwargs": {}, "code": "Concat(sqltable.password,\n Concat('$', Coalesce(sqltable.salt, '')))", "unresolved": true, "phase": "after_super", "condition": "table.column_exist('password') and table.column_exist('salt')" }, { "object": "", "operation": "Concat", "tables": [], "line": 217, "args": [ "'$'", "Coalesce(sqltable.salt, '')" ], "kwargs": {}, "code": "Concat('$', Coalesce(sqltable.salt, ''))", "unresolved": true, "phase": "after_super", "condition": "table.column_exist('password') and table.column_exist('salt')" }, { "object": "", "operation": "Coalesce", "tables": [], "line": 217, "args": [ "sqltable.salt", "''" ], "kwargs": {}, "code": "Coalesce(sqltable.salt, '')", "unresolved": true, "phase": "after_super", "condition": "table.column_exist('password') and table.column_exist('salt')" }, { "object": "cursor", "operation": "execute", "tables": [ "res_user" ], "line": 218, "args": [ "*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*sqltable.update(\n columns=[sqltable.password_hash],\n values=[password_hash_new]))", "phase": "after_super", "condition": "table.column_exist('password') and table.column_exist('salt')" }, { "object": "sqltable", "operation": "update", "tables": [ "res_user" ], "line": 218, "args": [], "kwargs": { "columns": "[sqltable.password_hash]", "values": "[password_hash_new]" }, "code": "sqltable.update(\n columns=[sqltable.password_hash],\n values=[password_hash_new])", "phase": "after_super", "condition": "table.column_exist('password') and table.column_exist('salt')" }, { "object": "table", "operation": "drop_column", "tables": [ "res_user" ], "line": 221, "args": [ "'password'" ], "kwargs": {}, "code": "table.drop_column('password')", "phase": "after_super", "condition": "table.column_exist('password') and table.column_exist('salt')" }, { "object": "table", "operation": "drop_column", "tables": [ "res_user" ], "line": 222, "args": [ "'salt'" ], "kwargs": {}, "code": "table.drop_column('salt')", "phase": "after_super", "condition": "table.column_exist('password') and table.column_exist('salt')" }, { "object": "table", "operation": "not_null_action", "tables": [ "res_user" ], "line": 225, "args": [ "'name'" ], "kwargs": { "action": "'remove'" }, "code": "table.not_null_action('name', action='remove')", "phase": "after_super" }, { "object": "cursor", "operation": "execute", "tables": [ "ir_model_data" ], "line": 228, "args": [ "*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*model_data.update(\n [model_data.noupdate], [True],\n where=(model_data.model == cls.__name__)\n & (model_data.module == 'res')\n & (model_data.fs_id == 'user_admin')))", "phase": "after_super" }, { "object": "model_data", "operation": "update", "tables": [ "ir_model_data" ], "line": 228, "args": [ "[model_data.noupdate]", "[True]" ], "kwargs": { "where": "(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin')" }, "code": "model_data.update(\n [model_data.noupdate], [True],\n where=(model_data.model == cls.__name__)\n & (model_data.module == 'res')\n & (model_data.fs_id == 'user_admin'))", "phase": "after_super" } ] } ] }