Public Access
1457 lines
28 KiB
Markdown
1457 lines
28 KiB
Markdown
# ir
|
|
|
|
## Klasse ActionActWindow
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 694
|
|
- **after_super** `drop_column`
|
|
- object: `table`
|
|
- args: `'auto_refresh'`
|
|
- **after_super** `drop_column`
|
|
- object: `table`
|
|
- args: `'window_name'`
|
|
- **after_super** `not_null_action`
|
|
- object: `table`
|
|
- args: `'limit', 'remove'`
|
|
- **after_super** `execute`
|
|
- object: `cursor`
|
|
- args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)`
|
|
- **after_super** `update`
|
|
- object: `act_window`
|
|
- args: `[act_window.limit], [Null]`
|
|
- kwargs:
|
|
- where: `act_window.limit == 0`
|
|
|
|
|
|
### 5.2
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
## Klasse ActionActWindowDomain
|
|
|
|
### 5.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 948
|
|
- **after_super** `not_null_action`
|
|
- object: `table`
|
|
- args: `'sequence', 'remove'`
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
## Klasse ActionActWindowView
|
|
|
|
### 5.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 909
|
|
- **after_super** `not_null_action`
|
|
- object: `table`
|
|
- args: `'sequence', 'remove'`
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
## Klasse ActionKeyword
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 119
|
|
- **after_super** `index_action`
|
|
- object: `table`
|
|
- args: `['keyword', 'model'], 'add'`
|
|
|
|
|
|
### 5.2
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
## Klasse ActionReport
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 499
|
|
- **after_super** `drop_constraint`
|
|
- object: `table`
|
|
- args: `'report_name_module_uniq'`
|
|
- **after_super** `execute`
|
|
- object: `cursor`
|
|
- args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')`
|
|
- **after_super** `update`
|
|
- object: `action_report`
|
|
- args: `[action_report.extension], ['txt']`
|
|
- kwargs:
|
|
- where: `action_report.extension == 'plain'`
|
|
|
|
|
|
### 5.2
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
## Klasse Attachment
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py : 60
|
|
- **after_super** `execute`
|
|
- condition: `table.column_exist('digest') and table.column_exist('collision')`
|
|
- object: `cursor`
|
|
- args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))`
|
|
- **after_super** `update`
|
|
- condition: `table.column_exist('digest') and table.column_exist('collision')`
|
|
- object: `attachment`
|
|
- args: `[attachment.file_id], [attachment.digest]`
|
|
- kwargs:
|
|
- where: `(attachment.collision == 0) | (attachment.collision == Null)`
|
|
- **after_super** `execute`
|
|
- condition: `table.column_exist('digest') and table.column_exist('collision')`
|
|
- object: `cursor`
|
|
- args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))`
|
|
- **after_super** `update`
|
|
- condition: `table.column_exist('digest') and table.column_exist('collision')`
|
|
- object: `attachment`
|
|
- args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]`
|
|
- kwargs:
|
|
- where: `(attachment.collision != 0) & (attachment.collision != Null)`
|
|
- **after_super** `drop_column`
|
|
- condition: `table.column_exist('digest') and table.column_exist('collision')`
|
|
- object: `table`
|
|
- args: `'digest'`
|
|
- **after_super** `drop_column`
|
|
- condition: `table.column_exist('digest') and table.column_exist('collision')`
|
|
- object: `table`
|
|
- args: `'collision'`
|
|
- **after_super** `drop_constraint`
|
|
- object: `table`
|
|
- args: `'resource_name'`
|
|
|
|
|
|
### 5.2
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
## Klasse Cron
|
|
|
|
### 5.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 66
|
|
- **after_super** `not_null_action`
|
|
- object: `table_h`
|
|
- args: `'next_call', 'remove'`
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
## Klasse Export
|
|
|
|
### 7.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/export.py : 56
|
|
- **after_super** `execute`
|
|
- condition: `not user_exists`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.user], [table.create_uid])`
|
|
- **after_super** `update`
|
|
- condition: `not user_exists`
|
|
- object: `table`
|
|
- args: `[table.user], [table.create_uid]`
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
### 7.6
|
|
|
|
|
|
### 7.8
|
|
|
|
|
|
### 8.0
|
|
|
|
|
|
## Klasse Icon
|
|
|
|
### 5.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 33
|
|
- **after_super** `not_null_action`
|
|
- object: `table`
|
|
- args: `'sequence', 'remove'`
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
## Klasse Model
|
|
|
|
### 7.6
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 83
|
|
- **before_super** `column_rename`
|
|
- condition: `table_h.column_exist('model')`
|
|
- object: `table_h`
|
|
- args: `'name', 'string'`
|
|
- **before_super** `column_rename`
|
|
- condition: `table_h.column_exist('model')`
|
|
- object: `table_h`
|
|
- args: `'model', 'name'`
|
|
- **before_super** `drop_constraint`
|
|
- object: `table_h`
|
|
- args: `'model_uniq'`
|
|
|
|
|
|
### 7.8
|
|
|
|
|
|
### 8.0
|
|
|
|
|
|
## Klasse ModelAccess
|
|
|
|
### 7.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 531
|
|
- **before_super** `column_rename`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', '_temp_model'`
|
|
- **before_super** `add_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', 'VARCHAR'`
|
|
- **before_super** `execute`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)`
|
|
- **before_super** `update`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table`
|
|
- args: `[table.model], [model.model]`
|
|
- kwargs:
|
|
- from_: `[model]`
|
|
- where: `table._temp_model == model.id`
|
|
- **before_super** `drop_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'_temp_model'`
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
### 7.6
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 551
|
|
- **before_super** `column_rename`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', '_temp_model'`
|
|
- **before_super** `add_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', 'VARCHAR'`
|
|
- **before_super** `execute`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
|
|
- **before_super** `update`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table`
|
|
- args: `[table.model], [model.name]`
|
|
- kwargs:
|
|
- from_: `[model]`
|
|
- where: `table._temp_model == model.id`
|
|
- **before_super** `drop_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'_temp_model'`
|
|
|
|
|
|
### 7.8
|
|
|
|
|
|
### 8.0
|
|
|
|
|
|
## Klasse ModelButton
|
|
|
|
### 6.4
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 889
|
|
- **after_super** `drop_constraint`
|
|
- object: `table_h`
|
|
- args: `'name_model_uniq'`
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
|
|
### 7.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 985
|
|
- **before_super** `column_rename`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', '_temp_model'`
|
|
- **before_super** `add_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', 'VARCHAR'`
|
|
- **before_super** `execute`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)`
|
|
- **before_super** `update`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table`
|
|
- args: `[table.model], [model.model]`
|
|
- kwargs:
|
|
- from_: `[model]`
|
|
- where: `table._temp_model == model.id`
|
|
- **before_super** `drop_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'_temp_model'`
|
|
- **after_super** `drop_constraint`
|
|
- object: `table_h`
|
|
- args: `'name_model_uniq'`
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
### 7.6
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 977
|
|
- **before_super** `column_rename`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', '_temp_model'`
|
|
- **before_super** `add_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', 'VARCHAR'`
|
|
- **before_super** `execute`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
|
|
- **before_super** `update`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table`
|
|
- args: `[table.model], [model.name]`
|
|
- kwargs:
|
|
- from_: `[model]`
|
|
- where: `table._temp_model == model.id`
|
|
- **before_super** `drop_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'_temp_model'`
|
|
- **after_super** `drop_constraint`
|
|
- object: `table_h`
|
|
- args: `'name_model_uniq'`
|
|
|
|
|
|
### 7.8
|
|
|
|
|
|
### 8.0
|
|
|
|
|
|
## Klasse ModelData
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1100
|
|
- **after_super** `execute`
|
|
- object: `cursor`
|
|
- args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))`
|
|
- **after_super** `update`
|
|
- object: `model_data`
|
|
- args: `[model_data.module], ['ir']`
|
|
- kwargs:
|
|
- where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')`
|
|
|
|
|
|
### 5.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1135
|
|
- **after_super** `not_null_action`
|
|
- object: `table_h`
|
|
- args: `'db_id'`
|
|
- kwargs:
|
|
- action: `'remove'`
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1219
|
|
- **after_super** `not_null_action`
|
|
- object: `table_h`
|
|
- args: `'db_id'`
|
|
- kwargs:
|
|
- action: `'remove'`
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
### 7.6
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1334
|
|
- **after_super** `drop_constraint`
|
|
- object: `table_h`
|
|
- args: `'fs_id_module_model_uniq'`
|
|
|
|
|
|
### 7.8
|
|
|
|
|
|
### 8.0
|
|
|
|
|
|
## Klasse ModelField
|
|
|
|
### 7.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 297
|
|
- **before_super** `column_rename`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', '_temp_model'`
|
|
- **before_super** `add_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', 'VARCHAR'`
|
|
- **before_super** `execute`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)`
|
|
- **before_super** `update`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table`
|
|
- args: `[table.model], [model.model]`
|
|
- kwargs:
|
|
- from_: `[model]`
|
|
- where: `table._temp_model == model.id`
|
|
- **before_super** `drop_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'_temp_model'`
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
### 7.6
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 320
|
|
- **before_super** `column_rename`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', '_temp_model'`
|
|
- **before_super** `add_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', 'VARCHAR'`
|
|
- **before_super** `execute`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
|
|
- **before_super** `update`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table`
|
|
- args: `[table.model], [model.name]`
|
|
- kwargs:
|
|
- from_: `[model]`
|
|
- where: `table._temp_model == model.id`
|
|
- **before_super** `drop_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'_temp_model'`
|
|
- **before_super** `column_rename`
|
|
- object: `table_h`
|
|
- args: `'field_description', 'string'`
|
|
|
|
|
|
### 7.8
|
|
|
|
|
|
### 8.0
|
|
|
|
|
|
## Klasse ModelFieldAccess
|
|
|
|
### 7.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 786
|
|
- **before_super** `column_rename`
|
|
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'field', '_temp_field'`
|
|
- **before_super** `add_column`
|
|
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', 'VARCHAR'`
|
|
- **before_super** `add_column`
|
|
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'field', 'VARCHAR'`
|
|
- **before_super** `execute`
|
|
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)`
|
|
- **before_super** `update`
|
|
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
|
|
- object: `table`
|
|
- args: `[table.model, table.field], [field.model, field.name]`
|
|
- kwargs:
|
|
- from_: `[field]`
|
|
- where: `table._temp_field == field.id`
|
|
- **before_super** `drop_column`
|
|
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'_temp_field'`
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
### 7.6
|
|
|
|
|
|
### 7.8
|
|
|
|
|
|
### 8.0
|
|
|
|
|
|
## Klasse Module
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 102
|
|
- **after_super** `execute`
|
|
- object: `cursor`
|
|
- args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')`
|
|
- **after_super** `update`
|
|
- object: `sql_table`
|
|
- args: `[sql_table.state], ['activated']`
|
|
- kwargs:
|
|
- where: `sql_table.state == 'installed'`
|
|
- **after_super** `execute`
|
|
- object: `cursor`
|
|
- args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')`
|
|
- **after_super** `update`
|
|
- object: `sql_table`
|
|
- args: `[sql_table.state], ['not activated']`
|
|
- kwargs:
|
|
- where: `sql_table.state == 'uninstalled'`
|
|
- **after_super** `execute`
|
|
- object: `cursor`
|
|
- 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))`
|
|
- **after_super** `update`
|
|
- object: `model_data_sql_table`
|
|
- 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)`
|
|
|
|
|
|
### 5.2
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
## Klasse ModuleConfigWizardItem
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 401
|
|
- **before_super** `execute`
|
|
- object: `cursor`
|
|
- args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')`
|
|
- **before_super** `update`
|
|
- object: `model_data`
|
|
- kwargs:
|
|
- columns: `[model_data.model]`
|
|
- values: `[cls.__name__]`
|
|
- where: `model_data.model == 'ir.module.module.config_wizard.item'`
|
|
|
|
|
|
### 5.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 396
|
|
- **after_super** `not_null_action`
|
|
- object: `table`
|
|
- args: `'sequence', 'remove'`
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 323
|
|
- **after_super** `not_null_action`
|
|
- object: `table`
|
|
- args: `'sequence', 'remove'`
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
## Klasse Queue
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/queue.py : 35
|
|
- **after_super** `index_action`
|
|
- object: `table_h`
|
|
- args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]`
|
|
- kwargs:
|
|
- action: `'add'`
|
|
|
|
|
|
### 5.2
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
## Klasse RuleGroup
|
|
|
|
### 7.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/rule.py : 84
|
|
- **before_super** `column_rename`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', '_temp_model'`
|
|
- **before_super** `add_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', 'VARCHAR'`
|
|
- **before_super** `execute`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)`
|
|
- **before_super** `update`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table`
|
|
- args: `[table.model], [model.model]`
|
|
- kwargs:
|
|
- from_: `[model]`
|
|
- where: `table._temp_model == model.id`
|
|
- **before_super** `drop_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'_temp_model'`
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
### 7.6
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/rule.py : 100
|
|
- **before_super** `column_rename`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', '_temp_model'`
|
|
- **before_super** `add_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'model', 'VARCHAR'`
|
|
- **before_super** `execute`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
|
|
- **before_super** `update`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table`
|
|
- args: `[table.model], [model.name]`
|
|
- kwargs:
|
|
- from_: `[model]`
|
|
- where: `table._temp_model == model.id`
|
|
- **before_super** `drop_column`
|
|
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
|
|
- object: `table_h`
|
|
- args: `'_temp_model'`
|
|
|
|
|
|
### 7.8
|
|
|
|
|
|
### 8.0
|
|
|
|
|
|
## Klasse Sequence
|
|
|
|
### 6.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 115
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('code')`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))`
|
|
- **after_super** `update`
|
|
- condition: `table_h.column_exist('code')`
|
|
- object: `table`
|
|
- args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)`
|
|
- **after_super** `select`
|
|
- condition: `table_h.column_exist('code')`
|
|
- object: `sequence_type`
|
|
- args: `sequence_type.id`
|
|
- kwargs:
|
|
- where: `sequence_type.code == table.code`
|
|
- **after_super** `drop_column`
|
|
- condition: `table_h.column_exist('code')`
|
|
- object: `table_h`
|
|
- args: `'code'`
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
## Klasse SequenceType
|
|
|
|
### 6.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 39
|
|
- **after_super** `not_null_action`
|
|
- object: `table_h`
|
|
- args: `'code'`
|
|
- kwargs:
|
|
- action: `'remove'`
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
## Klasse Session
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/session.py : 36
|
|
- **after_super** `index_action`
|
|
- object: `table`
|
|
- args: `'create_uid', 'add'`
|
|
|
|
|
|
### 5.2
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
## Klasse Translation
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 99
|
|
- **after_super** `execute`
|
|
- object: `cursor`
|
|
- args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')`
|
|
- **after_super** `update`
|
|
- object: `ir_translation`
|
|
- args: `[ir_translation.type], ['report']`
|
|
- kwargs:
|
|
- where: `ir_translation.type == 'odt'`
|
|
- **after_super** `index_action`
|
|
- object: `table`
|
|
- args: `['lang', 'type', 'name'], 'add'`
|
|
|
|
|
|
### 5.2
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 85
|
|
- **before_super** `drop_constraint`
|
|
- condition: `table.column_exist('src_md5')`
|
|
- object: `table`
|
|
- args: `'translation_md5_uniq'`
|
|
- **before_super** `drop_column`
|
|
- condition: `table.column_exist('src_md5')`
|
|
- object: `table`
|
|
- args: `'src_md5'`
|
|
- **after_super** `execute`
|
|
- object: `cursor`
|
|
- args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')`
|
|
- **after_super** `update`
|
|
- object: `ir_translation`
|
|
- args: `[ir_translation.type], ['report']`
|
|
- kwargs:
|
|
- where: `ir_translation.type == 'odt'`
|
|
- **after_super** `index_action`
|
|
- object: `table`
|
|
- args: `['lang', 'type', 'name'], 'add'`
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 110
|
|
- **before_super** `drop_constraint`
|
|
- condition: `table.column_exist('src_md5')`
|
|
- object: `table`
|
|
- args: `'translation_md5_uniq'`
|
|
- **before_super** `drop_column`
|
|
- condition: `table.column_exist('src_md5')`
|
|
- object: `table`
|
|
- args: `'src_md5'`
|
|
- **after_super** `execute`
|
|
- object: `cursor`
|
|
- args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')`
|
|
- **after_super** `update`
|
|
- object: `ir_translation`
|
|
- args: `[ir_translation.type], ['report']`
|
|
- kwargs:
|
|
- where: `ir_translation.type == 'odt'`
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 115
|
|
- **before_super** `drop_constraint`
|
|
- condition: `table.column_exist('src_md5')`
|
|
- object: `table`
|
|
- args: `'translation_md5_uniq'`
|
|
- **before_super** `drop_column`
|
|
- condition: `table.column_exist('src_md5')`
|
|
- object: `table`
|
|
- args: `'src_md5'`
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
## Klasse Trigger
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 74
|
|
- **after_super** `execute`
|
|
- condition: `table.column_exist('minimum_delay')`
|
|
- object: `cursor`
|
|
- args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)`
|
|
- **after_super** `select`
|
|
- condition: `table.column_exist('minimum_delay')`
|
|
- object: `sql_table`
|
|
- args: `sql_table.id, sql_table.minimum_delay`
|
|
- kwargs:
|
|
- where: `sql_table.minimum_delay != Null`
|
|
- **after_super** `drop_column`
|
|
- condition: `table.column_exist('minimum_delay')`
|
|
- object: `table`
|
|
- args: `'minimum_delay'`
|
|
|
|
|
|
### 5.2
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 77
|
|
- **after_super** `select`
|
|
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
|
|
- object: `model`
|
|
- args: `model.model`
|
|
- kwargs:
|
|
- where: `model.id == sql_table.action_model`
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
|
|
- object: `cursor`
|
|
- args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])`
|
|
- **after_super** `update`
|
|
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
|
|
- object: `sql_table`
|
|
- args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]`
|
|
- **after_super** `drop_column`
|
|
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
|
|
- object: `table_h`
|
|
- args: `'action_model'`
|
|
- **after_super** `drop_column`
|
|
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
|
|
- object: `table_h`
|
|
- args: `'action_function'`
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 79
|
|
- **after_super** `select`
|
|
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
|
|
- object: `model`
|
|
- args: `model.model`
|
|
- kwargs:
|
|
- where: `model.id == sql_table.action_model`
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
|
|
- object: `cursor`
|
|
- args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])`
|
|
- **after_super** `update`
|
|
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
|
|
- object: `sql_table`
|
|
- args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]`
|
|
- **after_super** `drop_column`
|
|
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
|
|
- object: `table_h`
|
|
- args: `'action_model'`
|
|
- **after_super** `drop_column`
|
|
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
|
|
- object: `table_h`
|
|
- args: `'action_function'`
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
## Klasse TriggerLog
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 300
|
|
- **after_super** `index_action`
|
|
- object: `table`
|
|
- args: `['trigger', 'record_id'], 'add'`
|
|
|
|
|
|
### 5.2
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
## Klasse ViewSearch
|
|
|
|
### 5.8
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 396
|
|
- **after_super** `not_null_action`
|
|
- object: `table_h`
|
|
- args: `'user', 'remove'`
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 7.0
|
|
|
|
|
|
### 7.2
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
## Klasse ViewTreeOptional
|
|
|
|
### 6.4
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 445
|
|
- **after_super** `index_action`
|
|
- object: `table_h`
|
|
- args: `['view_id', 'user'], 'add'`
|
|
|
|
|
|
### 7.4
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 570
|
|
- **before_super** `column_rename`
|
|
- object: `table_h`
|
|
- args: `'view_id', 'view'`
|
|
- **after_super** `execute`
|
|
- object: `cursor`
|
|
- args: `*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)`
|
|
- **after_super** `update`
|
|
- object: `table`
|
|
- args: `[table.model], [view.select(view.model, where=view.id == table.view)]`
|
|
- kwargs:
|
|
- where: `table.model == Null`
|
|
- **after_super** `select`
|
|
- object: `view`
|
|
- args: `view.model`
|
|
- kwargs:
|
|
- where: `view.id == table.view`
|
|
|
|
|
|
### 7.6
|
|
|
|
|
|
### 7.8
|
|
|
|
|
|
### 8.0
|
|
|
|
|
|
## Klasse ViewTreeState
|
|
|
|
### 5.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 313
|
|
- **after_super** `index_action`
|
|
- object: `table`
|
|
- args: `['model', 'domain', 'user', 'child_name'], 'add'`
|
|
|
|
|
|
### 5.2
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
## Klasse ViewTreeWidth
|
|
|
|
### 8.0
|
|
|
|
file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 511
|
|
- **after_super** `not_null_action`
|
|
- object: `table_h`
|
|
- args: `'width', 'remove'`
|
|
|
|
|