2026-08-08 01:29:43 +02:00
|
|
|
# res
|
|
|
|
|
|
|
|
|
|
## Klasse User
|
|
|
|
|
|
2026-08-08 22:32:31 +02:00
|
|
|
|
2026-08-08 01:29:43 +02:00
|
|
|
### 5.0
|
|
|
|
|
|
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 200
|
|
|
|
|
- **after_super** `execute`
|
|
|
|
|
- condition: `table.column_exist('password') and table.column_exist('salt')`
|
|
|
|
|
- object: `cursor`
|
|
|
|
|
- args: `*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])`
|
|
|
|
|
- **after_super** `update`
|
|
|
|
|
- condition: `table.column_exist('password') and table.column_exist('salt')`
|
|
|
|
|
- object: `sqltable`
|
|
|
|
|
- kwargs:
|
|
|
|
|
- columns: `[sqltable.password_hash]`
|
|
|
|
|
- values: `[password_hash_new]`
|
|
|
|
|
- **after_super** `drop_column`
|
|
|
|
|
- condition: `table.column_exist('password') and table.column_exist('salt')`
|
|
|
|
|
- object: `table`
|
|
|
|
|
- args: `'password'`
|
|
|
|
|
- **after_super** `drop_column`
|
|
|
|
|
- condition: `table.column_exist('password') and table.column_exist('salt')`
|
|
|
|
|
- object: `table`
|
|
|
|
|
- args: `'salt'`
|
|
|
|
|
- **after_super** `not_null_action`
|
|
|
|
|
- object: `table`
|
|
|
|
|
- args: `'name'`
|
|
|
|
|
- kwargs:
|
|
|
|
|
- action: `'remove'`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 191
|
|
|
|
|
- **after_super** `execute`
|
|
|
|
|
- object: `cursor`
|
|
|
|
|
- args: `*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))`
|
|
|
|
|
- **after_super** `update`
|
|
|
|
|
- object: `model_data`
|
|
|
|
|
- args: `[model_data.noupdate], [True]`
|
|
|
|
|
- kwargs:
|
|
|
|
|
- where: `(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin')`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 7.0
|
|
|
|
|
|
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 207
|
|
|
|
|
- **after_super** `execute`
|
|
|
|
|
- object: `cursor`
|
|
|
|
|
- args: `*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))`
|
|
|
|
|
- **after_super** `update`
|
|
|
|
|
- object: `model_data`
|
|
|
|
|
- args: `[model_data.noupdate], [True]`
|
|
|
|
|
- kwargs:
|
|
|
|
|
- where: `(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin')`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 7.6
|
|
|
|
|
|
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 195
|
|
|
|
|
- **after_super** `not_null_action`
|
|
|
|
|
- object: `table_h`
|
|
|
|
|
- args: `'menu', 'remove'`
|
|
|
|
|
|