2026-08-08 01:29:43 +02:00
|
|
|
{
|
|
|
|
|
"version": "6.6",
|
|
|
|
|
"module": "res",
|
|
|
|
|
"files": [
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/trytond/trytond/res/user.py",
|
|
|
|
|
"class": "User",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 202,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-08 01:29:43 +02:00
|
|
|
"line": 215,
|
|
|
|
|
"args": [
|
|
|
|
|
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "(Transaction().connection.cursor()).execute(*sqltable.update(\n columns=[sqltable.password_hash],\n values=[password_hash_new]))",
|
2026-08-08 01:29:43 +02:00
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table.column_exist('password') and table.column_exist('salt')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "sqltable",
|
|
|
|
|
"operation": "update",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-08 01:29:43 +02:00
|
|
|
"line": 215,
|
|
|
|
|
"args": [],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"columns": "[sqltable.password_hash]",
|
|
|
|
|
"values": "[password_hash_new]"
|
|
|
|
|
},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "sqltable.update(\n columns=[sqltable.password_hash],\n values=[password_hash_new])",
|
2026-08-08 01:29:43 +02:00
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table.column_exist('password') and table.column_exist('salt')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "drop_column",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-08 01:29:43 +02:00
|
|
|
"line": 218,
|
|
|
|
|
"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",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-08 01:29:43 +02:00
|
|
|
"line": 219,
|
|
|
|
|
"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",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-08 01:29:43 +02:00
|
|
|
"line": 222,
|
|
|
|
|
"args": [
|
|
|
|
|
"'name'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"action": "'remove'"
|
|
|
|
|
},
|
|
|
|
|
"code": "table.not_null_action('name', action='remove')",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"ir_model_data"
|
|
|
|
|
],
|
2026-08-08 01:29:43 +02:00
|
|
|
"line": 225,
|
|
|
|
|
"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": {},
|
2026-08-09 00:47:23 +02:00
|
|
|
"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')))",
|
2026-08-08 01:29:43 +02:00
|
|
|
"phase": "after_super"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "model_data",
|
|
|
|
|
"operation": "update",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"ir_model_data"
|
|
|
|
|
],
|
2026-08-08 01:29:43 +02:00
|
|
|
"line": 225,
|
|
|
|
|
"args": [
|
|
|
|
|
"[model_data.noupdate]",
|
|
|
|
|
"[True]"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"where": "(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin')"
|
|
|
|
|
},
|
2026-08-09 00:47:23 +02:00
|
|
|
"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'))",
|
2026-08-08 01:29:43 +02:00
|
|
|
"phase": "after_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|