Files
tryton-db-migration/reports/ir.md
T

5971 lines
171 KiB
Markdown
Raw Normal View History

2026-08-20 13:27:23 +02:00
# modul ir
2026-08-08 01:29:43 +02:00
2026-08-20 13:27:23 +02:00
## Tabelle ir_action_act_window
2026-08-08 01:29:43 +02:00
### 5.0
- **after_super** `drop_column`
- object: `table`
2026-08-20 13:27:23 +02:00
- files:
- `action.py`
2026-08-08 01:29:43 +02:00
- args: `'auto_refresh'`
2026-08-20 13:27:23 +02:00
- code:
'table.drop_column('auto_refresh')'
2026-08-08 01:29:43 +02:00
- **after_super** `drop_column`
- object: `table`
2026-08-20 13:27:23 +02:00
- files:
- `action.py`
2026-08-08 01:29:43 +02:00
- args: `'window_name'`
2026-08-20 13:27:23 +02:00
- code:
'table.drop_column('window_name')'
2026-08-08 01:29:43 +02:00
- **after_super** `not_null_action`
- object: `table`
2026-08-20 13:27:23 +02:00
- files:
- `action.py`
2026-08-08 01:29:43 +02:00
- args: `'limit', 'remove'`
2026-08-20 13:27:23 +02:00
- code:
'table.not_null_action('limit', 'remove')'
2026-08-08 01:29:43 +02:00
- **after_super** `execute`
- object: `cursor`
2026-08-20 13:27:23 +02:00
- files:
- `action.py`
2026-08-08 01:29:43 +02:00
- args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)`
2026-08-20 13:27:23 +02:00
- code:
'(Transaction().connection.cursor()).execute(*act_window.update(
[act_window.limit], [Null],
where=act_window.limit == 0))'
2026-08-08 01:29:43 +02:00
- **after_super** `update`
- object: `act_window`
2026-08-20 13:27:23 +02:00
- files:
- `action.py`
2026-08-08 01:29:43 +02:00
- args: `[act_window.limit], [Null]`
- kwargs:
- where: `act_window.limit == 0`
2026-08-20 13:27:23 +02:00
- code:
'act_window.update(
[act_window.limit], [Null],
where=act_window.limit == 0)'
2026-08-08 01:29:43 +02:00
2026-08-20 13:27:23 +02:00
### 5.4
2026-08-08 01:29:43 +02:00
- **after_super** `drop_column`
- object: `table`
2026-08-20 13:27:23 +02:00
- files:
- `action.py`
- args: `'auto_refresh'`
- code:
'table.drop_column('auto_refresh')'
2026-08-08 01:29:43 +02:00
- **after_super** `drop_column`
- object: `table`
2026-08-20 13:27:23 +02:00
- files:
- `action.py`
- args: `'window_name'`
- code:
'table.drop_column('window_name')'
2026-08-08 01:29:43 +02:00
- **after_super** `not_null_action`
- object: `table`
2026-08-20 13:27:23 +02:00
- files:
- `action.py`
- args: `'limit', 'remove'`
- code:
'table.not_null_action('limit', 'remove')'
2026-08-08 01:29:43 +02:00
- **after_super** `execute`
- object: `cursor`
2026-08-20 13:27:23 +02:00
- files:
- `action.py`
- args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)`
- code:
'(Transaction().connection.cursor()).execute(*act_window.update(
[act_window.limit], [Null],
where=act_window.limit == 0))'
2026-08-08 01:29:43 +02:00
- **after_super** `update`
2026-08-20 13:27:23 +02:00
- object: `act_window`
- files:
- `action.py`
- args: `[act_window.limit], [Null]`
2026-08-08 01:29:43 +02:00
- kwargs:
2026-08-20 13:27:23 +02:00
- where: `act_window.limit == 0`
- code:
'act_window.update(
[act_window.limit], [Null],
where=act_window.limit == 0)'
2026-08-08 01:29:43 +02:00
2026-08-08 01:29:43 +02:00
### 5.8
2026-08-20 13:27:23 +02:00
- **after_super** `drop_column`
- object: `table`
- files:
- `action.py`
- args: `'auto_refresh'`
- code:
'table.drop_column('auto_refresh')'
- **after_super** `drop_column`
- object: `table`
- files:
- `action.py`
- args: `'window_name'`
- code:
'table.drop_column('window_name')'
2026-08-08 01:29:43 +02:00
- **after_super** `not_null_action`
2026-08-20 13:27:23 +02:00
- object: `table`
- files:
- `action.py`
- args: `'limit', 'remove'`
- code:
'table.not_null_action('limit', 'remove')'
- **after_super** `execute`
- object: `cursor`
- files:
- `action.py`
- args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)`
- code:
'(Transaction().connection.cursor()).execute(*act_window.update(
[act_window.limit], [Null],
where=act_window.limit == 0))'
- **after_super** `update`
- object: `act_window`
- files:
- `action.py`
- args: `[act_window.limit], [Null]`
- kwargs:
- where: `act_window.limit == 0`
- code:
'act_window.update(
[act_window.limit], [Null],
where=act_window.limit == 0)'
2026-08-08 01:29:43 +02:00
2026-08-20 13:27:23 +02:00
### 6.2
- **after_super** `drop_column`
- object: `table`
- files:
- `action.py`
- args: `'auto_refresh'`
- code:
'table.drop_column('auto_refresh')'
- **after_super** `drop_column`
- object: `table`
- files:
- `action.py`
- args: `'window_name'`
- code:
'table.drop_column('window_name')'
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'limit', 'remove'`
- code:
'table.not_null_action('limit', 'remove')'
- **after_super** `execute`
- object: `cursor`
- files:
- `action.py`
- args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)`
- code:
'(Transaction().connection.cursor()).execute(*act_window.update(
[act_window.limit], [Null],
where=act_window.limit == 0))'
- **after_super** `update`
- object: `act_window`
- files:
- `action.py`
- args: `[act_window.limit], [Null]`
- kwargs:
- where: `act_window.limit == 0`
- code:
'act_window.update(
[act_window.limit], [Null],
where=act_window.limit == 0)'
### 6.6
- **after_super** `drop_column`
- object: `table`
- files:
- `action.py`
- args: `'auto_refresh'`
- code:
'table.drop_column('auto_refresh')'
- **after_super** `drop_column`
- object: `table`
- files:
- `action.py`
- args: `'window_name'`
- code:
'table.drop_column('window_name')'
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'limit', 'remove'`
- code:
'table.not_null_action('limit', 'remove')'
- **after_super** `execute`
- object: `cursor`
- files:
- `action.py`
- args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)`
- code:
'(Transaction().connection.cursor()).execute(*act_window.update(
[act_window.limit], [Null],
where=act_window.limit == 0))'
- **after_super** `update`
- object: `act_window`
- files:
- `action.py`
- args: `[act_window.limit], [Null]`
- kwargs:
- where: `act_window.limit == 0`
- code:
'act_window.update(
[act_window.limit], [Null],
where=act_window.limit == 0)'
## Tabelle ir_action_act_window_domain
### 5.2
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 5.6
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 6.0
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
2026-08-08 01:29:43 +02:00
2026-08-08 01:29:43 +02:00
### 6.4
2026-08-20 13:27:23 +02:00
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 6.8
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 7.2
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
## Tabelle ir_action_act_window_view
### 5.2
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 5.6
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 6.0
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 6.4
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 6.8
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 7.2
- **after_super** `not_null_action`
- object: `table`
- files:
- `action.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
## Tabelle ir_action_keyword
### 5.0
2026-08-08 01:29:43 +02:00
- **after_super** `index_action`
2026-08-20 13:27:23 +02:00
- object: `table`
- files:
- `action.py`
- args: `['keyword', 'model'], 'add'`
- code:
'table.index_action(['keyword', 'model'], 'add')'
### 5.4
- **after_super** `index_action`
- object: `table`
- files:
- `action.py`
- args: `['keyword', 'model'], 'add'`
- code:
'table.index_action(['keyword', 'model'], 'add')'
### 5.8
- **after_super** `index_action`
- object: `table`
- files:
- `action.py`
- args: `['keyword', 'model'], 'add'`
- code:
'table.index_action(['keyword', 'model'], 'add')'
### 6.2
- **after_super** `index_action`
- object: `table`
- files:
- `action.py`
- args: `['keyword', 'model'], 'add'`
- code:
'table.index_action(['keyword', 'model'], 'add')'
## Tabelle ir_action_report
### 5.0
- **after_super** `drop_constraint`
- object: `table`
- files:
- `action.py`
- args: `'report_name_module_uniq'`
- code:
'table.drop_constraint('report_name_module_uniq')'
- **after_super** `execute`
- object: `cursor`
- files:
- `action.py`
- args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')`
- code:
'(transaction.connection.cursor()).execute(*action_report.update(
[action_report.extension],
['txt'],
where=action_report.extension == 'plain'))'
- **after_super** `update`
- object: `action_report`
- files:
- `action.py`
- args: `[action_report.extension], ['txt']`
- kwargs:
- where: `action_report.extension == 'plain'`
- code:
'action_report.update(
[action_report.extension],
['txt'],
where=action_report.extension == 'plain')'
### 5.4
- **after_super** `drop_constraint`
- object: `table`
- files:
- `action.py`
- args: `'report_name_module_uniq'`
- code:
'table.drop_constraint('report_name_module_uniq')'
- **after_super** `execute`
- object: `cursor`
- files:
- `action.py`
- args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')`
- code:
'(transaction.connection.cursor()).execute(*action_report.update(
[action_report.extension],
['txt'],
where=action_report.extension == 'plain'))'
- **after_super** `update`
- object: `action_report`
- files:
- `action.py`
- args: `[action_report.extension], ['txt']`
- kwargs:
- where: `action_report.extension == 'plain'`
- code:
'action_report.update(
[action_report.extension],
['txt'],
where=action_report.extension == 'plain')'
### 5.8
- **after_super** `drop_constraint`
- object: `table`
- files:
- `action.py`
- args: `'report_name_module_uniq'`
- code:
'table.drop_constraint('report_name_module_uniq')'
- **after_super** `execute`
- object: `cursor`
- files:
- `action.py`
- args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')`
- code:
'(transaction.connection.cursor()).execute(*action_report.update(
[action_report.extension],
['txt'],
where=action_report.extension == 'plain'))'
- **after_super** `update`
- object: `action_report`
- files:
- `action.py`
- args: `[action_report.extension], ['txt']`
- kwargs:
- where: `action_report.extension == 'plain'`
- code:
'action_report.update(
[action_report.extension],
['txt'],
where=action_report.extension == 'plain')'
### 6.2
- **after_super** `drop_constraint`
- object: `table`
- files:
- `action.py`
- args: `'report_name_module_uniq'`
- code:
'table.drop_constraint('report_name_module_uniq')'
- **after_super** `execute`
- object: `cursor`
- files:
- `action.py`
- args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')`
- code:
'(transaction.connection.cursor()).execute(*action_report.update(
[action_report.extension],
['txt'],
where=action_report.extension == 'plain'))'
- **after_super** `update`
- object: `action_report`
- files:
- `action.py`
- args: `[action_report.extension], ['txt']`
- kwargs:
- where: `action_report.extension == 'plain'`
- code:
'action_report.update(
[action_report.extension],
['txt'],
where=action_report.extension == 'plain')'
### 6.6
- **after_super** `drop_constraint`
- object: `table`
- files:
- `action.py`
- args: `'report_name_module_uniq'`
- code:
'table.drop_constraint('report_name_module_uniq')'
- **after_super** `execute`
- object: `cursor`
- files:
- `action.py`
- args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')`
- code:
'(transaction.connection.cursor()).execute(*action_report.update(
[action_report.extension],
['txt'],
where=action_report.extension == 'plain'))'
- **after_super** `update`
- object: `action_report`
- files:
- `action.py`
- args: `[action_report.extension], ['txt']`
- kwargs:
- where: `action_report.extension == 'plain'`
- code:
'action_report.update(
[action_report.extension],
['txt'],
where=action_report.extension == 'plain')'
## Tabelle ir_attachment
### 5.0
- **after_super** `execute`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `cursor`
- files:
- `attachment.py`
- args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `attachment.py`
- args: `[attachment.file_id], [attachment.digest]`
- kwargs:
- where: `(attachment.collision == 0) | (attachment.collision == Null)`
- code:
'attachment.update(
[attachment.file_id],
[attachment.digest],
where=(attachment.collision == 0)
| (attachment.collision == Null))'
- **after_super** `execute`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `cursor`
- files:
- `attachment.py`
- args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `attachment.py`
- args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]`
- kwargs:
- where: `(attachment.collision != 0) & (attachment.collision != Null)`
- code:
'attachment.update(
[attachment.file_id],
[Concat(Concat(attachment.digest, '-'),
attachment.collision)],
where=(attachment.collision != 0)
& (attachment.collision != Null))'
- **after_super** `drop_column`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `table`
- files:
- `attachment.py`
- args: `'digest'`
- code:
'table.drop_column('digest')'
- **after_super** `drop_column`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `table`
- files:
- `attachment.py`
- args: `'collision'`
- code:
'table.drop_column('collision')'
- **after_super** `drop_constraint`
- object: `table`
- files:
- `attachment.py`
- args: `'resource_name'`
- code:
'table.drop_constraint('resource_name')'
### 5.4
- **after_super** `execute`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `cursor`
- files:
- `attachment.py`
- args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `attachment.py`
- args: `[attachment.file_id], [attachment.digest]`
- kwargs:
- where: `(attachment.collision == 0) | (attachment.collision == Null)`
- code:
'attachment.update(
[attachment.file_id],
[attachment.digest],
where=(attachment.collision == 0)
| (attachment.collision == Null))'
- **after_super** `execute`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `cursor`
- files:
- `attachment.py`
- args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `attachment.py`
- args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]`
- kwargs:
- where: `(attachment.collision != 0) & (attachment.collision != Null)`
- code:
'attachment.update(
[attachment.file_id],
[Concat(Concat(attachment.digest, '-'),
attachment.collision)],
where=(attachment.collision != 0)
& (attachment.collision != Null))'
- **after_super** `drop_column`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `table`
- files:
- `attachment.py`
- args: `'digest'`
- code:
'table.drop_column('digest')'
- **after_super** `drop_column`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `table`
- files:
- `attachment.py`
- args: `'collision'`
- code:
'table.drop_column('collision')'
- **after_super** `drop_constraint`
- object: `table`
- files:
- `attachment.py`
- args: `'resource_name'`
- code:
'table.drop_constraint('resource_name')'
### 5.8
- **after_super** `execute`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `cursor`
- files:
- `attachment.py`
- args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `attachment.py`
- args: `[attachment.file_id], [attachment.digest]`
- kwargs:
- where: `(attachment.collision == 0) | (attachment.collision == Null)`
- code:
'attachment.update(
[attachment.file_id],
[attachment.digest],
where=(attachment.collision == 0)
| (attachment.collision == Null))'
- **after_super** `execute`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `cursor`
- files:
- `attachment.py`
- args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `attachment.py`
- args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]`
- kwargs:
- where: `(attachment.collision != 0) & (attachment.collision != Null)`
- code:
'attachment.update(
[attachment.file_id],
[Concat(Concat(attachment.digest, '-'),
attachment.collision)],
where=(attachment.collision != 0)
& (attachment.collision != Null))'
- **after_super** `drop_column`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `table`
- files:
- `attachment.py`
- args: `'digest'`
- code:
'table.drop_column('digest')'
- **after_super** `drop_column`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `table`
- files:
- `attachment.py`
- args: `'collision'`
- code:
'table.drop_column('collision')'
- **after_super** `drop_constraint`
- object: `table`
- files:
- `attachment.py`
- args: `'resource_name'`
- code:
'table.drop_constraint('resource_name')'
### 6.2
- **after_super** `execute`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `cursor`
- files:
- `attachment.py`
- args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `attachment.py`
- args: `[attachment.file_id], [attachment.digest]`
- kwargs:
- where: `(attachment.collision == 0) | (attachment.collision == Null)`
- code:
'attachment.update(
[attachment.file_id],
[attachment.digest],
where=(attachment.collision == 0)
| (attachment.collision == Null))'
- **after_super** `execute`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `cursor`
- files:
- `attachment.py`
- args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `attachment.py`
- args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]`
- kwargs:
- where: `(attachment.collision != 0) & (attachment.collision != Null)`
- code:
'attachment.update(
[attachment.file_id],
[Concat(Concat(attachment.digest, '-'),
attachment.collision)],
where=(attachment.collision != 0)
& (attachment.collision != Null))'
- **after_super** `drop_column`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `table`
- files:
- `attachment.py`
- args: `'digest'`
- code:
'table.drop_column('digest')'
- **after_super** `drop_column`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `table`
- files:
- `attachment.py`
- args: `'collision'`
- code:
'table.drop_column('collision')'
- **after_super** `drop_constraint`
- object: `table`
- files:
- `attachment.py`
- args: `'resource_name'`
- code:
'table.drop_constraint('resource_name')'
### 6.6
- **after_super** `execute`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `cursor`
- files:
- `attachment.py`
- args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `attachment.py`
- args: `[attachment.file_id], [attachment.digest]`
- kwargs:
- where: `(attachment.collision == 0) | (attachment.collision == Null)`
- code:
'attachment.update(
[attachment.file_id],
[attachment.digest],
where=(attachment.collision == 0)
| (attachment.collision == Null))'
- **after_super** `execute`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `cursor`
- files:
- `attachment.py`
- args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `attachment.py`
- args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]`
- kwargs:
- where: `(attachment.collision != 0) & (attachment.collision != Null)`
- code:
'attachment.update(
[attachment.file_id],
[Concat(Concat(attachment.digest, '-'),
attachment.collision)],
where=(attachment.collision != 0)
& (attachment.collision != Null))'
- **after_super** `drop_column`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `table`
- files:
- `attachment.py`
- args: `'digest'`
- code:
'table.drop_column('digest')'
- **after_super** `drop_column`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- object: `table`
- files:
- `attachment.py`
- args: `'collision'`
- code:
'table.drop_column('collision')'
- **after_super** `drop_constraint`
- object: `table`
- files:
- `attachment.py`
- args: `'resource_name'`
- code:
'table.drop_constraint('resource_name')'
## Tabelle ir_cron
### 5.2
- **after_super** `drop_column`
2026-08-08 01:29:43 +02:00
- object: `table_h`
2026-08-20 13:27:23 +02:00
- files:
- `cron.py`
- args: `column`
- code:
'table_h.drop_column(column)'
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `cron.py`
- args: `'next_call', 'remove'`
- code:
'table_h.not_null_action('next_call', 'remove')'
### 5.6
- **after_super** `drop_column`
- object: `table_h`
- files:
- `cron.py`
- args: `column`
- code:
'table_h.drop_column(column)'
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `cron.py`
- args: `'next_call', 'remove'`
- code:
'table_h.not_null_action('next_call', 'remove')'
### 6.0
- **after_super** `drop_column`
- object: `table_h`
- files:
- `cron.py`
- args: `column`
- code:
'table_h.drop_column(column)'
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `cron.py`
- args: `'next_call', 'remove'`
- code:
'table_h.not_null_action('next_call', 'remove')'
### 6.4
- **after_super** `drop_column`
- object: `table_h`
- files:
- `cron.py`
- args: `column`
- code:
'table_h.drop_column(column)'
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `cron.py`
- args: `'next_call', 'remove'`
- code:
'table_h.not_null_action('next_call', 'remove')'
### 6.8
- **after_super** `drop_column`
- object: `table_h`
- files:
- `cron.py`
- args: `column`
- code:
'table_h.drop_column(column)'
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `cron.py`
- args: `'next_call', 'remove'`
- code:
'table_h.not_null_action('next_call', 'remove')'
### 7.2
- **after_super** `drop_column`
- object: `table_h`
- files:
- `cron.py`
- args: `column`
- code:
'table_h.drop_column(column)'
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `cron.py`
- args: `'next_call', 'remove'`
- code:
'table_h.not_null_action('next_call', 'remove')'
## Tabelle ir_export
### 7.0
- **after_super** `execute`
- condition: `not user_exists`
- object: `cursor`
- files:
- `export.py`
- args: `*table.update([table.user], [table.create_uid])`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.user], [table.create_uid]))'
- **after_super** `update`
- condition: `not user_exists`
- object: `table`
- files:
- `export.py`
- args: `[table.user], [table.create_uid]`
- code:
'table.update([table.user], [table.create_uid])'
2026-08-08 01:29:43 +02:00
### 7.4
- **after_super** `execute`
2026-08-20 13:27:23 +02:00
- condition: `not user_exists`
2026-08-08 01:29:43 +02:00
- object: `cursor`
2026-08-20 13:27:23 +02:00
- files:
- `export.py`
- args: `*table.update([table.user], [table.create_uid])`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.user], [table.create_uid]))'
2026-08-08 01:29:43 +02:00
- **after_super** `update`
2026-08-20 13:27:23 +02:00
- condition: `not user_exists`
2026-08-08 01:29:43 +02:00
- object: `table`
2026-08-20 13:27:23 +02:00
- files:
- `export.py`
- args: `[table.user], [table.create_uid]`
- code:
'table.update([table.user], [table.create_uid])'
### 7.8
- **after_super** `execute`
- condition: `not user_exists`
- object: `cursor`
- files:
- `export.py`
- args: `*table.update([table.user], [table.create_uid])`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.user], [table.create_uid]))'
- **after_super** `update`
- condition: `not user_exists`
- object: `table`
- files:
- `export.py`
- args: `[table.user], [table.create_uid]`
- code:
'table.update([table.user], [table.create_uid])'
## Tabelle ir_model
### 5.6
2026-08-08 01:29:43 +02:00
- **after_super** `select`
2026-08-20 13:27:23 +02:00
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `model`
- files:
- `trigger.py`
- args: `model.model`
2026-08-08 01:29:43 +02:00
- kwargs:
2026-08-20 13:27:23 +02:00
- where: `model.id == sql_table.action_model`
- code:
'model.select(
model.model, where=model.id == sql_table.(model.select(
model.model, where=model.id == sql_table.action_model)))'
2026-08-08 01:29:43 +02:00
2026-08-20 13:27:23 +02:00
### 6.0
2026-08-08 01:29:43 +02:00
2026-08-20 13:27:23 +02:00
- **after_super** `select`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `model`
- files:
- `trigger.py`
- args: `model.model`
- kwargs:
- where: `model.id == sql_table.action_model`
- code:
'model.select(
model.model, where=model.id == sql_table.(model.select(
model.model, where=model.id == sql_table.action_model)))'
2026-08-08 01:29:43 +02:00
2026-08-20 13:27:23 +02:00
### 6.4
- **after_super** `select`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `model`
- files:
- `trigger.py`
- args: `model.model`
- kwargs:
- where: `model.id == sql_table.action_model`
- code:
'model.select(
model.model, where=model.id == sql_table.(model.select(
model.model, where=model.id == sql_table.action_model)))'
### 6.8
- **after_super** `select`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `model`
- files:
- `trigger.py`
- args: `model.model`
- kwargs:
- where: `model.id == sql_table.action_model`
- code:
'model.select(
model.model, where=model.id == sql_table.(model.select(
model.model, where=model.id == sql_table.action_model)))'
### 7.2
- **after_super** `select`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `model`
- files:
- `trigger.py`
- args: `model.model`
- kwargs:
- where: `model.id == sql_table.action_model`
- code:
'model.select(
model.model, where=model.id == sql_table.(model.select(
model.model, where=model.id == sql_table.action_model)))'
### 7.6
- **before_super** `column_rename`
- condition: `table_h.column_exist('model')`
- object: `table_h`
- files:
- `model.py`
- args: `'name', 'string'`
- code:
'table_h.column_rename('name', 'string')'
- **before_super** `column_rename`
- condition: `table_h.column_exist('model')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'name'`
- code:
'table_h.column_rename('model', 'name')'
- **before_super** `drop_constraint`
- object: `table_h`
- files:
- `model.py`
- args: `'model_uniq'`
- code:
'table_h.drop_constraint('model_uniq')'
2026-08-08 01:29:43 +02:00
2026-08-08 01:29:43 +02:00
### 8.0
2026-08-20 13:27:23 +02:00
- **before_super** `column_rename`
- condition: `table_h.column_exist('model')`
- object: `table_h`
- files:
- `model.py`
- args: `'name', 'string'`
- code:
'table_h.column_rename('name', 'string')'
- **before_super** `column_rename`
- condition: `table_h.column_exist('model')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'name'`
- code:
'table_h.column_rename('model', 'name')'
- **before_super** `drop_constraint`
- object: `table_h`
- files:
- `model.py`
- args: `'model_uniq'`
- code:
'table_h.drop_constraint('model_uniq')'
## Tabelle ir_model_access
### 7.2
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- 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)'
- **before_super** `drop_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
### 7.6
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- args: `[table.model], [model.name]`
- kwargs:
- from_: `[model]`
- where: `table._temp_model == model.id`
- code:
'table.update(
[table.model], [model.name],
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`
- files:
- `model.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
### 8.0
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- args: `[table.model], [model.name]`
- kwargs:
- from_: `[model]`
- where: `table._temp_model == model.id`
- code:
'table.update(
[table.model], [model.name],
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`
- files:
- `model.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
## Tabelle ir_model_button
### 6.4
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `model.py`
- args: `'name_model_uniq'`
- code:
'table_h.drop_constraint('name_model_uniq')'
### 6.8
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `model.py`
- args: `'name_model_uniq'`
- code:
'table_h.drop_constraint('name_model_uniq')'
### 7.2
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- 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)'
- **before_super** `drop_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `model.py`
- args: `'name_model_uniq'`
- code:
'table_h.drop_constraint('name_model_uniq')'
### 7.6
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- args: `[table.model], [model.name]`
- kwargs:
- from_: `[model]`
- where: `table._temp_model == model.id`
- code:
'table.update(
[table.model], [model.name],
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`
- files:
- `model.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `model.py`
- args: `'name_model_uniq'`
- code:
'table_h.drop_constraint('name_model_uniq')'
### 8.0
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- args: `[table.model], [model.name]`
- kwargs:
- from_: `[model]`
- where: `table._temp_model == model.id`
- code:
'table.update(
[table.model], [model.name],
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`
- files:
- `model.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `model.py`
- args: `'name_model_uniq'`
- code:
'table_h.drop_constraint('name_model_uniq')'
## Tabelle ir_model_data
### 5.0
- **after_super** `execute`
- object: `cursor`
- files:
- `model.py`
- args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `model.py`
- args: `[model_data.module], ['ir']`
- kwargs:
- where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')`
- code:
'model_data.update(
[model_data.module], ['ir'],
where=((model_data.module == 'res')
& (model_data.fs_id == 'model_data_sync_button')))'
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- 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))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `module.py`
- 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)`
- code:
'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))))'
- **before_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `module.py`
- kwargs:
- columns: `[model_data.model]`
- values: `[cls.__name__]`
- where: `model_data.model == 'ir.module.module.config_wizard.item'`
- code:
'model_data.update(
columns=[model_data.model],
values=[cls.__name__],
where=(model_data.model ==
'ir.module.module.config_wizard.item'))'
### 5.2
2026-08-08 01:29:43 +02:00
- **after_super** `not_null_action`
- object: `table_h`
2026-08-20 13:27:23 +02:00
- files:
- `model.py`
- args: `'db_id'`
- kwargs:
- action: `'remove'`
- code:
'table_h.not_null_action('db_id', action='remove')'
### 5.4
- **after_super** `execute`
- object: `cursor`
- files:
- `country.py`
- args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'country')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `country.py`
- kwargs:
- where: `(data.module == 'country') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'country')
& (data.model == cls.__name__))'
- **after_super** `execute`
- object: `cursor`
- files:
- `currency.py`
- args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `currency.py`
- kwargs:
- where: `(data.module == 'currency') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__))'
- **after_super** `execute`
- object: `cursor`
- files:
- `model.py`
- args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `model.py`
- args: `[model_data.module], ['ir']`
- kwargs:
- where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')`
- code:
'model_data.update(
[model_data.module], ['ir'],
where=((model_data.module == 'res')
& (model_data.fs_id == 'model_data_sync_button')))'
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- 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))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `module.py`
- 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)`
- code:
'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))))'
- **before_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `module.py`
- kwargs:
- columns: `[model_data.model]`
- values: `[cls.__name__]`
- where: `model_data.model == 'ir.module.module.config_wizard.item'`
- code:
'model_data.update(
columns=[model_data.model],
values=[cls.__name__],
where=(model_data.model ==
'ir.module.module.config_wizard.item'))'
### 5.6
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `model.py`
- args: `'db_id'`
- kwargs:
- action: `'remove'`
- code:
'table_h.not_null_action('db_id', action='remove')'
- **before_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `module.py`
- kwargs:
- columns: `[model_data.model]`
- values: `[cls.__name__]`
- where: `model_data.model == 'ir.module.module.config_wizard.item'`
- code:
'model_data.update(
columns=[model_data.model],
values=[cls.__name__],
where=(model_data.model
== 'ir.module.module.config_wizard.item'))'
### 5.8
- **after_super** `execute`
- object: `cursor`
- files:
- `country.py`
- args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'country')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `country.py`
- kwargs:
- where: `(data.module == 'country') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'country')
& (data.model == cls.__name__))'
- **after_super** `execute`
- object: `cursor`
- files:
- `currency.py`
- args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `currency.py`
- kwargs:
- where: `(data.module == 'currency') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__))'
- **after_super** `execute`
- object: `cursor`
- files:
- `model.py`
- args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `model.py`
- args: `[model_data.module], ['ir']`
- kwargs:
- where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')`
- code:
'model_data.update(
[model_data.module], ['ir'],
where=((model_data.module == 'res')
& (model_data.fs_id == 'model_data_sync_button')))'
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- 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))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `module.py`
- 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)`
- code:
'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))))'
### 6.0
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `model.py`
- args: `'db_id'`
- kwargs:
- action: `'remove'`
- code:
'table_h.not_null_action('db_id', action='remove')'
- **before_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `module.py`
- kwargs:
- columns: `[model_data.model]`
- values: `[cls.__name__]`
- where: `model_data.model == 'ir.module.module.config_wizard.item'`
- code:
'model_data.update(
columns=[model_data.model],
values=[cls.__name__],
where=(model_data.model
== 'ir.module.module.config_wizard.item'))'
### 6.2
- **after_super** `execute`
- object: `cursor`
- files:
- `country.py`
- args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'country')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `country.py`
- kwargs:
- where: `(data.module == 'country') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'country')
& (data.model == cls.__name__))'
- **after_super** `execute`
- object: `cursor`
- files:
- `currency.py`
- args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `currency.py`
- kwargs:
- where: `(data.module == 'currency') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__))'
- **after_super** `execute`
- object: `cursor`
- files:
- `model.py`
- args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `model.py`
- args: `[model_data.module], ['ir']`
- kwargs:
- where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')`
- code:
'model_data.update(
[model_data.module], ['ir'],
where=((model_data.module == 'res')
& (model_data.fs_id == 'model_data_sync_button')))'
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- 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))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `module.py`
- 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)`
- code:
'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))))'
### 6.4
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `model.py`
- args: `'db_id'`
- kwargs:
- action: `'remove'`
- code:
'table_h.not_null_action('db_id', action='remove')'
- **before_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `module.py`
- kwargs:
- columns: `[model_data.model]`
- values: `[cls.__name__]`
- where: `model_data.model == 'ir.module.module.config_wizard.item'`
- code:
'model_data.update(
columns=[model_data.model],
values=[cls.__name__],
where=(model_data.model
== 'ir.module.module.config_wizard.item'))'
### 6.6
- **after_super** `execute`
- object: `cursor`
- files:
- `country.py`
- args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'country')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `country.py`
- kwargs:
- where: `(data.module == 'country') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'country')
& (data.model == cls.__name__))'
- **after_super** `execute`
- object: `cursor`
- files:
- `currency.py`
- args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `currency.py`
- kwargs:
- where: `(data.module == 'currency') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__))'
- **after_super** `execute`
- object: `cursor`
- files:
- `model.py`
- args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `model.py`
- args: `[model_data.module], ['ir']`
- kwargs:
- where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')`
- code:
'model_data.update(
[model_data.module], ['ir'],
where=((model_data.module == 'res')
& (model_data.fs_id == 'model_data_sync_button')))'
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- 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))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `module.py`
- 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)`
- code:
'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))))'
### 6.8
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `model.py`
- args: `'db_id'`
- kwargs:
- action: `'remove'`
- code:
'table_h.not_null_action('db_id', action='remove')'
- **before_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `module.py`
- kwargs:
- columns: `[model_data.model]`
- values: `[cls.__name__]`
- where: `model_data.model == 'ir.module.module.config_wizard.item'`
- code:
'model_data.update(
columns=[model_data.model],
values=[cls.__name__],
where=(model_data.model
== 'ir.module.module.config_wizard.item'))'
### 7.0
- **after_super** `execute`
- object: `cursor`
- files:
- `country.py`
- args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'country')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `country.py`
- kwargs:
- where: `(data.module == 'country') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'country')
& (data.model == cls.__name__))'
- **after_super** `execute`
- object: `cursor`
- files:
- `currency.py`
- args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `currency.py`
- kwargs:
- where: `(data.module == 'currency') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__))'
### 7.2
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `model.py`
- args: `'db_id'`
- kwargs:
- action: `'remove'`
- code:
'table_h.not_null_action('db_id', action='remove')'
### 7.4
- **after_super** `execute`
- object: `cursor`
- files:
- `country.py`
- args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'country')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `country.py`
- kwargs:
- where: `(data.module == 'country') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'country')
& (data.model == cls.__name__))'
- **after_super** `execute`
- object: `cursor`
- files:
- `currency.py`
- args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))`
- code:
'(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__)))'
- **after_super** `delete`
- object: `data`
- files:
- `currency.py`
- kwargs:
- where: `(data.module == 'currency') & (data.model == cls.__name__)`
- code:
'data.delete(where=(data.module == 'currency')
& (data.model == cls.__name__))'
### 7.6
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `model.py`
- args: `'fs_id_module_model_uniq'`
- code:
'table_h.drop_constraint('fs_id_module_model_uniq')'
### 8.0
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `model.py`
- args: `'fs_id_module_model_uniq'`
- code:
'table_h.drop_constraint('fs_id_module_model_uniq')'
## Tabelle ir_model_field
### 7.2
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- 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)'
- **before_super** `drop_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
### 7.6
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- args: `[table.model], [model.name]`
- kwargs:
- from_: `[model]`
- where: `table._temp_model == model.id`
- code:
'table.update(
[table.model], [model.name],
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`
- files:
- `model.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
- **before_super** `column_rename`
- object: `table_h`
- files:
- `model.py`
- args: `'field_description', 'string'`
- code:
'table_h.column_rename('field_description', 'string')'
### 8.0
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- args: `[table.model], [model.name]`
- kwargs:
- from_: `[model]`
- where: `table._temp_model == model.id`
- code:
'table.update(
[table.model], [model.name],
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`
- files:
- `model.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
- **before_super** `column_rename`
- object: `table_h`
- files:
- `model.py`
- args: `'field_description', 'string'`
- code:
'table_h.column_rename('field_description', 'string')'
## Tabelle ir_model_field_access
### 7.2
- **before_super** `column_rename`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'field', '_temp_field'`
- code:
'table_h.column_rename('field', '_temp_field')'
- **before_super** `add_column`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `add_column`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'field', 'VARCHAR'`
- code:
'table_h.add_column('field', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- 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)'
- **before_super** `drop_column`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'_temp_field'`
- code:
'table_h.drop_column('_temp_field')'
### 7.6
- **before_super** `column_rename`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'field', '_temp_field'`
- code:
'table_h.column_rename('field', '_temp_field')'
- **before_super** `add_column`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `add_column`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'field', 'VARCHAR'`
- code:
'table_h.add_column('field', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- 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)'
- **before_super** `drop_column`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'_temp_field'`
- code:
'table_h.drop_column('_temp_field')'
### 8.0
- **before_super** `column_rename`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'field', '_temp_field'`
- code:
'table_h.column_rename('field', '_temp_field')'
- **before_super** `add_column`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `add_column`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'field', 'VARCHAR'`
- code:
'table_h.add_column('field', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `cursor`
- files:
- `model.py`
- args: `*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `model.py`
- 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)'
- **before_super** `drop_column`
- condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')`
- object: `table_h`
- files:
- `model.py`
- args: `'_temp_field'`
- code:
'table_h.drop_column('_temp_field')'
## Tabelle ir_module
### 5.0
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.state], ['activated'],
where=sql_table.state == 'installed'))'
- **after_super** `update`
- object: `sql_table`
- files:
- `module.py`
- args: `[sql_table.state], ['activated']`
- kwargs:
- where: `sql_table.state == 'installed'`
- code:
'sql_table.update(
[sql_table.state], ['activated'],
where=sql_table.state == 'installed')'
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.state], ['not activated'],
where=sql_table.state == 'uninstalled'))'
- **after_super** `update`
- object: `sql_table`
- files:
- `module.py`
- args: `[sql_table.state], ['not activated']`
- kwargs:
- where: `sql_table.state == 'uninstalled'`
- code:
'sql_table.update(
[sql_table.state], ['not activated'],
where=sql_table.state == 'uninstalled')'
### 5.4
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.state], ['activated'],
where=sql_table.state == 'installed'))'
- **after_super** `update`
- object: `sql_table`
- files:
- `module.py`
- args: `[sql_table.state], ['activated']`
- kwargs:
- where: `sql_table.state == 'installed'`
- code:
'sql_table.update(
[sql_table.state], ['activated'],
where=sql_table.state == 'installed')'
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.state], ['not activated'],
where=sql_table.state == 'uninstalled'))'
- **after_super** `update`
- object: `sql_table`
- files:
- `module.py`
- args: `[sql_table.state], ['not activated']`
- kwargs:
- where: `sql_table.state == 'uninstalled'`
- code:
'sql_table.update(
[sql_table.state], ['not activated'],
where=sql_table.state == 'uninstalled')'
### 5.6
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 5.8
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.state], ['activated'],
where=sql_table.state == 'installed'))'
- **after_super** `update`
- object: `sql_table`
- files:
- `module.py`
- args: `[sql_table.state], ['activated']`
- kwargs:
- where: `sql_table.state == 'installed'`
- code:
'sql_table.update(
[sql_table.state], ['activated'],
where=sql_table.state == 'installed')'
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.state], ['not activated'],
where=sql_table.state == 'uninstalled'))'
- **after_super** `update`
- object: `sql_table`
- files:
- `module.py`
- args: `[sql_table.state], ['not activated']`
- kwargs:
- where: `sql_table.state == 'uninstalled'`
- code:
'sql_table.update(
[sql_table.state], ['not activated'],
where=sql_table.state == 'uninstalled')'
### 6.0
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.2
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.state], ['activated'],
where=sql_table.state == 'installed'))'
- **after_super** `update`
- object: `sql_table`
- files:
- `module.py`
- args: `[sql_table.state], ['activated']`
- kwargs:
- where: `sql_table.state == 'installed'`
- code:
'sql_table.update(
[sql_table.state], ['activated'],
where=sql_table.state == 'installed')'
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.state], ['not activated'],
where=sql_table.state == 'uninstalled'))'
- **after_super** `update`
- object: `sql_table`
- files:
- `module.py`
- args: `[sql_table.state], ['not activated']`
- kwargs:
- where: `sql_table.state == 'uninstalled'`
- code:
'sql_table.update(
[sql_table.state], ['not activated'],
where=sql_table.state == 'uninstalled')'
### 6.4
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.6
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.state], ['activated'],
where=sql_table.state == 'installed'))'
- **after_super** `update`
- object: `sql_table`
- files:
- `module.py`
- args: `[sql_table.state], ['activated']`
- kwargs:
- where: `sql_table.state == 'installed'`
- code:
'sql_table.update(
[sql_table.state], ['activated'],
where=sql_table.state == 'installed')'
- **after_super** `execute`
- object: `cursor`
- files:
- `module.py`
- args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.state], ['not activated'],
where=sql_table.state == 'uninstalled'))'
- **after_super** `update`
- object: `sql_table`
- files:
- `module.py`
- args: `[sql_table.state], ['not activated']`
- kwargs:
- where: `sql_table.state == 'uninstalled'`
- code:
'sql_table.update(
[sql_table.state], ['not activated'],
where=sql_table.state == 'uninstalled')'
### 6.8
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
## Tabelle ir_module_config_wizard_item
### 5.2
- **after_super** `not_null_action`
- object: `table`
- files:
- `module.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 5.6
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
- **after_super** `not_null_action`
- object: `table`
- files:
- `module.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 6.0
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
- **after_super** `not_null_action`
- object: `table`
- files:
- `module.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 6.4
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
- **after_super** `not_null_action`
- object: `table`
- files:
- `module.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 6.8
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
- **after_super** `not_null_action`
- object: `table`
- files:
- `module.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 7.2
- **after_super** `not_null_action`
- object: `table`
- files:
- `module.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
## Tabelle ir_module_dependency
### 5.6
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.0
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.4
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.8
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
## Tabelle ir_module_module
### 5.6
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.0
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.4
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.8
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
## Tabelle ir_module_module_config_wizard_item
### 5.6
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.0
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.4
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.8
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
## Tabelle ir_module_module_dependency
### 5.6
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.0
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.4
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
### 6.8
- **before_super** `table_rename`
- condition: `backend.TableHandler.table_exist(old_table)`
- object: `backend.TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'backend.TableHandler.table_rename(old_table, cls._table)'
## Tabelle ir_queue
### 5.0
- **after_super** `index_action`
- object: `table_h`
- files:
- `queue.py`
- args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]`
- kwargs:
- action: `'add'`
- code:
'table_h.index_action([
queue.scheduled_at.nulls_first,
queue.expected_at.nulls_first,
queue.dequeued_at,
queue.name,
], action='add')'
### 5.4
- **after_super** `index_action`
- object: `table_h`
- files:
- `queue.py`
- args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]`
- kwargs:
- action: `'add'`
- code:
'table_h.index_action([
queue.scheduled_at.nulls_first,
queue.expected_at.nulls_first,
queue.dequeued_at,
queue.name,
], action='add')'
### 5.8
- **after_super** `index_action`
- object: `table_h`
- files:
- `queue.py`
- args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]`
- kwargs:
- action: `'add'`
- code:
'table_h.index_action([
queue.scheduled_at.nulls_first,
queue.expected_at.nulls_first,
queue.dequeued_at,
queue.name,
], action='add')'
### 6.2
- **after_super** `index_action`
- object: `table_h`
- files:
- `queue.py`
- args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]`
- kwargs:
- action: `'add'`
- code:
'table_h.index_action([
queue.scheduled_at.nulls_first,
queue.expected_at.nulls_first,
queue.dequeued_at,
queue.name,
], action='add')'
## Tabelle ir_rule_group
### 7.2
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `rule.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `rule.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `rule.py`
- args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `rule.py`
- 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)'
- **before_super** `drop_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `rule.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
### 7.6
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `rule.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `rule.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `rule.py`
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `rule.py`
- args: `[table.model], [model.name]`
- kwargs:
- from_: `[model]`
- where: `table._temp_model == model.id`
- code:
'table.update(
[table.model], [model.name],
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`
- files:
- `rule.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
### 8.0
- **before_super** `column_rename`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `rule.py`
- args: `'model', '_temp_model'`
- code:
'table_h.column_rename('model', '_temp_model')'
- **before_super** `add_column`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `table_h`
- files:
- `rule.py`
- args: `'model', 'VARCHAR'`
- code:
'table_h.add_column('model', 'VARCHAR')'
- **before_super** `execute`
- condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')`
- object: `cursor`
- files:
- `rule.py`
- args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)`
- code:
'(transaction.connection.cursor()).execute(*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`
- files:
- `rule.py`
- args: `[table.model], [model.name]`
- kwargs:
- from_: `[model]`
- where: `table._temp_model == model.id`
- code:
'table.update(
[table.model], [model.name],
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`
- files:
- `rule.py`
- args: `'_temp_model'`
- code:
'table_h.drop_column('_temp_model')'
## Tabelle ir_sequence
### 6.0
- **after_super** `execute`
- condition: `table_h.column_exist('code')`
- object: `cursor`
- files:
- `sequence.py`
- args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `sequence.py`
- args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)`
- code:
'table.update(
[table.sequence_type],
sequence_type.select(
sequence_type.id,
where=sequence_type.code == table.code))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('code')`
- object: `table_h`
- files:
- `sequence.py`
- args: `'code'`
- code:
'table_h.drop_column('code')'
### 6.4
- **after_super** `execute`
- condition: `table_h.column_exist('code')`
- object: `cursor`
- files:
- `sequence.py`
- args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `sequence.py`
- args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)`
- code:
'table.update(
[table.sequence_type],
sequence_type.select(
sequence_type.id,
where=sequence_type.code == table.code))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('code')`
- object: `table_h`
- files:
- `sequence.py`
- args: `'code'`
- code:
'table_h.drop_column('code')'
### 6.8
- **after_super** `execute`
- condition: `table_h.column_exist('code')`
- object: `cursor`
- files:
- `sequence.py`
- args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `sequence.py`
- args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)`
- code:
'table.update(
[table.sequence_type],
sequence_type.select(
sequence_type.id,
where=sequence_type.code == table.code))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('code')`
- object: `table_h`
- files:
- `sequence.py`
- args: `'code'`
- code:
'table_h.drop_column('code')'
### 7.2
- **after_super** `execute`
- condition: `table_h.column_exist('code')`
- object: `cursor`
- files:
- `sequence.py`
- args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `sequence.py`
- args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)`
- code:
'table.update(
[table.sequence_type],
sequence_type.select(
sequence_type.id,
where=sequence_type.code == table.code))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('code')`
- object: `table_h`
- files:
- `sequence.py`
- args: `'code'`
- code:
'table_h.drop_column('code')'
## Tabelle ir_sequence_type
### 6.0
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `sequence.py`
- args: `'code'`
- kwargs:
- action: `'remove'`
- code:
'table_h.not_null_action('code', action='remove')'
- **after_super** `execute`
- condition: `table_h.column_exist('code')`
- object: `cursor`
- files:
- `sequence.py`
- args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `sequence.py`
- args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)`
- code:
'table.update(
[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`
- files:
- `sequence.py`
- args: `sequence_type.id`
- kwargs:
- where: `sequence_type.code == table.code`
- code:
'sequence_type.select(
sequence_type.id,
where=sequence_type.code == table.code)'
### 6.4
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `sequence.py`
- args: `'code'`
- kwargs:
- action: `'remove'`
- code:
'table_h.not_null_action('code', action='remove')'
- **after_super** `execute`
- condition: `table_h.column_exist('code')`
- object: `cursor`
- files:
- `sequence.py`
- args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `sequence.py`
- args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)`
- code:
'table.update(
[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`
- files:
- `sequence.py`
- args: `sequence_type.id`
- kwargs:
- where: `sequence_type.code == table.code`
- code:
'sequence_type.select(
sequence_type.id,
where=sequence_type.code == table.code)'
### 6.8
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `sequence.py`
- args: `'code'`
- kwargs:
- action: `'remove'`
- code:
'table_h.not_null_action('code', action='remove')'
- **after_super** `execute`
- condition: `table_h.column_exist('code')`
- object: `cursor`
- files:
- `sequence.py`
- args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `sequence.py`
- args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)`
- code:
'table.update(
[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`
- files:
- `sequence.py`
- args: `sequence_type.id`
- kwargs:
- where: `sequence_type.code == table.code`
- code:
'sequence_type.select(
sequence_type.id,
where=sequence_type.code == table.code)'
### 7.2
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `sequence.py`
- args: `'code'`
- kwargs:
- action: `'remove'`
- code:
'table_h.not_null_action('code', action='remove')'
- **after_super** `execute`
- condition: `table_h.column_exist('code')`
- object: `cursor`
- files:
- `sequence.py`
- args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `sequence.py`
- args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)`
- code:
'table.update(
[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`
- files:
- `sequence.py`
- args: `sequence_type.id`
- kwargs:
- where: `sequence_type.code == table.code`
- code:
'sequence_type.select(
sequence_type.id,
where=sequence_type.code == table.code)'
## Tabelle ir_session
### 5.0
- **after_super** `index_action`
- object: `table`
- files:
- `session.py`
- args: `'create_uid', 'add'`
- code:
'table.index_action('create_uid', 'add')'
### 5.4
- **after_super** `index_action`
- object: `table`
- files:
- `session.py`
- args: `'create_uid', 'add'`
- code:
'table.index_action('create_uid', 'add')'
### 5.8
- **after_super** `index_action`
- object: `table`
- files:
- `session.py`
- args: `'create_uid', 'add'`
- code:
'table.index_action('create_uid', 'add')'
### 6.2
- **after_super** `index_action`
- object: `table`
- files:
- `session.py`
- args: `'create_uid', 'add'`
- code:
'table.index_action('create_uid', 'add')'
## Tabelle ir_translation
### 5.0
- **after_super** `execute`
- object: `cursor`
- files:
- `translation.py`
- args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')`
- code:
'(transaction.connection.cursor()).execute(*ir_translation.update(
[ir_translation.type],
['report'],
where=ir_translation.type == 'odt'))'
- **after_super** `update`
- object: `ir_translation`
- files:
- `translation.py`
- args: `[ir_translation.type], ['report']`
- kwargs:
- where: `ir_translation.type == 'odt'`
- code:
'ir_translation.update(
[ir_translation.type],
['report'],
where=ir_translation.type == 'odt')'
- **after_super** `index_action`
- object: `table`
- files:
- `translation.py`
- args: `['lang', 'type', 'name'], 'add'`
- code:
'table.index_action(['lang', 'type', 'name'], 'add')'
### 5.2
- **before_super** `drop_constraint`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'translation_md5_uniq'`
- code:
'table.drop_constraint('translation_md5_uniq')'
- **before_super** `drop_column`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'src_md5'`
- code:
'table.drop_column('src_md5')'
### 5.4
- **after_super** `execute`
- object: `cursor`
- files:
- `translation.py`
- args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')`
- code:
'(transaction.connection.cursor()).execute(*ir_translation.update(
[ir_translation.type],
['report'],
where=ir_translation.type == 'odt'))'
- **after_super** `update`
- object: `ir_translation`
- files:
- `translation.py`
- args: `[ir_translation.type], ['report']`
- kwargs:
- where: `ir_translation.type == 'odt'`
- code:
'ir_translation.update(
[ir_translation.type],
['report'],
where=ir_translation.type == 'odt')'
- **after_super** `index_action`
- object: `table`
- files:
- `translation.py`
- args: `['lang', 'type', 'name'], 'add'`
- code:
'table.index_action(['lang', 'type', 'name'], 'add')'
### 5.6
- **before_super** `drop_constraint`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'translation_md5_uniq'`
- code:
'table.drop_constraint('translation_md5_uniq')'
- **before_super** `drop_column`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'src_md5'`
- code:
'table.drop_column('src_md5')'
### 5.8
- **after_super** `execute`
- object: `cursor`
- files:
- `translation.py`
- args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')`
- code:
'(transaction.connection.cursor()).execute(*ir_translation.update(
[ir_translation.type],
['report'],
where=ir_translation.type == 'odt'))'
- **after_super** `update`
- object: `ir_translation`
- files:
- `translation.py`
- args: `[ir_translation.type], ['report']`
- kwargs:
- where: `ir_translation.type == 'odt'`
- code:
'ir_translation.update(
[ir_translation.type],
['report'],
where=ir_translation.type == 'odt')'
- **after_super** `index_action`
- object: `table`
- files:
- `translation.py`
- args: `['lang', 'type', 'name'], 'add'`
- code:
'table.index_action(['lang', 'type', 'name'], 'add')'
### 6.0
- **before_super** `drop_constraint`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'translation_md5_uniq'`
- code:
'table.drop_constraint('translation_md5_uniq')'
- **before_super** `drop_column`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'src_md5'`
- code:
'table.drop_column('src_md5')'
### 6.2
- **after_super** `execute`
- object: `cursor`
- files:
- `translation.py`
- args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')`
- code:
'(transaction.connection.cursor()).execute(*ir_translation.update(
[ir_translation.type],
['report'],
where=ir_translation.type == 'odt'))'
- **after_super** `update`
- object: `ir_translation`
- files:
- `translation.py`
- args: `[ir_translation.type], ['report']`
- kwargs:
- where: `ir_translation.type == 'odt'`
- code:
'ir_translation.update(
[ir_translation.type],
['report'],
where=ir_translation.type == 'odt')'
- **after_super** `index_action`
- object: `table`
- files:
- `translation.py`
- args: `['lang', 'type', 'name'], 'add'`
- code:
'table.index_action(['lang', 'type', 'name'], 'add')'
### 6.4
- **before_super** `drop_constraint`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'translation_md5_uniq'`
- code:
'table.drop_constraint('translation_md5_uniq')'
- **before_super** `drop_column`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'src_md5'`
- code:
'table.drop_column('src_md5')'
### 6.6
- **after_super** `execute`
- object: `cursor`
- files:
- `translation.py`
- args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')`
- code:
'(transaction.connection.cursor()).execute(*ir_translation.update(
[ir_translation.type],
['report'],
where=ir_translation.type == 'odt'))'
- **after_super** `update`
- object: `ir_translation`
- files:
- `translation.py`
- args: `[ir_translation.type], ['report']`
- kwargs:
- where: `ir_translation.type == 'odt'`
- code:
'ir_translation.update(
[ir_translation.type],
['report'],
where=ir_translation.type == 'odt')'
### 6.8
- **before_super** `drop_constraint`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'translation_md5_uniq'`
- code:
'table.drop_constraint('translation_md5_uniq')'
- **before_super** `drop_column`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'src_md5'`
- code:
'table.drop_column('src_md5')'
### 7.2
- **before_super** `drop_constraint`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'translation_md5_uniq'`
- code:
'table.drop_constraint('translation_md5_uniq')'
- **before_super** `drop_column`
- condition: `table.column_exist('src_md5')`
- object: `table`
- files:
- `translation.py`
- args: `'src_md5'`
- code:
'table.drop_column('src_md5')'
## Tabelle ir_trigger
### 5.0
- **after_super** `execute`
- condition: `table.column_exist('minimum_delay')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `trigger.py`
- args: `sql_table.id, sql_table.minimum_delay`
- kwargs:
- where: `sql_table.minimum_delay != Null`
- code:
'sql_table.select(
sql_table.id, sql_table.minimum_delay,
where=sql_table.minimum_delay != Null)'
- **after_super** `execute`
- condition: `table.column_exist('minimum_delay')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.minimum_time_delay],
[(datetime.timedelta(hours=delay))],
where=sql_table.id == id_))'
- **after_super** `update`
- condition: `table.column_exist('minimum_delay')`
- object: `sql_table`
- files:
- `trigger.py`
- args: `[sql_table.minimum_time_delay], [delay]`
- kwargs:
- where: `sql_table.id == id_`
- code:
'sql_table.update(
[sql_table.minimum_time_delay],
[(datetime.timedelta(hours=delay))],
where=sql_table.id == id_)'
- **after_super** `drop_column`
- condition: `table.column_exist('minimum_delay')`
- object: `table`
- files:
- `trigger.py`
- args: `'minimum_delay'`
- code:
'table.drop_column('minimum_delay')'
### 5.4
- **after_super** `execute`
- condition: `table.column_exist('minimum_delay')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `trigger.py`
- args: `sql_table.id, sql_table.minimum_delay`
- kwargs:
- where: `sql_table.minimum_delay != Null`
- code:
'sql_table.select(
sql_table.id, sql_table.minimum_delay,
where=sql_table.minimum_delay != Null)'
- **after_super** `execute`
- condition: `table.column_exist('minimum_delay')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.minimum_time_delay],
[(datetime.timedelta(hours=delay))],
where=sql_table.id == id_))'
- **after_super** `update`
- condition: `table.column_exist('minimum_delay')`
- object: `sql_table`
- files:
- `trigger.py`
- args: `[sql_table.minimum_time_delay], [delay]`
- kwargs:
- where: `sql_table.id == id_`
- code:
'sql_table.update(
[sql_table.minimum_time_delay],
[(datetime.timedelta(hours=delay))],
where=sql_table.id == id_)'
- **after_super** `drop_column`
- condition: `table.column_exist('minimum_delay')`
- object: `table`
- files:
- `trigger.py`
- args: `'minimum_delay'`
- code:
'table.drop_column('minimum_delay')'
### 5.6
- **after_super** `execute`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.action],
[Concat((model.select(
model.model, where=model.id == sql_table.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`
- files:
- `trigger.py`
- args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]`
- code:
'sql_table.update(
[sql_table.action],
[Concat((model.select(
model.model, where=model.id == sql_table.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`
- files:
- `trigger.py`
- args: `'action_model'`
- code:
'table_h.drop_column('(model.select(
model.model, where=model.id == sql_table.action_model))')'
- **after_super** `drop_column`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `table_h`
- files:
- `trigger.py`
- args: `'action_function'`
- code:
'table_h.drop_column('action_function')'
### 5.8
- **after_super** `execute`
- condition: `table.column_exist('minimum_delay')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `trigger.py`
- args: `sql_table.id, sql_table.minimum_delay`
- kwargs:
- where: `sql_table.minimum_delay != Null`
- code:
'sql_table.select(
sql_table.id, sql_table.minimum_delay,
where=sql_table.minimum_delay != Null)'
- **after_super** `execute`
- condition: `table.column_exist('minimum_delay')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.minimum_time_delay],
[(datetime.timedelta(hours=delay))],
where=sql_table.id == id_))'
- **after_super** `update`
- condition: `table.column_exist('minimum_delay')`
- object: `sql_table`
- files:
- `trigger.py`
- args: `[sql_table.minimum_time_delay], [delay]`
- kwargs:
- where: `sql_table.id == id_`
- code:
'sql_table.update(
[sql_table.minimum_time_delay],
[(datetime.timedelta(hours=delay))],
where=sql_table.id == id_)'
- **after_super** `drop_column`
- condition: `table.column_exist('minimum_delay')`
- object: `table`
- files:
- `trigger.py`
- args: `'minimum_delay'`
- code:
'table.drop_column('minimum_delay')'
### 6.0
- **after_super** `execute`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.action],
[Concat((model.select(
model.model, where=model.id == sql_table.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`
- files:
- `trigger.py`
- args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]`
- code:
'sql_table.update(
[sql_table.action],
[Concat((model.select(
model.model, where=model.id == sql_table.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`
- files:
- `trigger.py`
- args: `'action_model'`
- code:
'table_h.drop_column('(model.select(
model.model, where=model.id == sql_table.action_model))')'
- **after_super** `drop_column`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `table_h`
- files:
- `trigger.py`
- args: `'action_function'`
- code:
'table_h.drop_column('action_function')'
### 6.2
- **after_super** `execute`
- condition: `table.column_exist('minimum_delay')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `trigger.py`
- args: `sql_table.id, sql_table.minimum_delay`
- kwargs:
- where: `sql_table.minimum_delay != Null`
- code:
'sql_table.select(
sql_table.id, sql_table.minimum_delay,
where=sql_table.minimum_delay != Null)'
- **after_super** `execute`
- condition: `table.column_exist('minimum_delay')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.minimum_time_delay],
[(datetime.timedelta(hours=delay))],
where=sql_table.id == id_))'
- **after_super** `update`
- condition: `table.column_exist('minimum_delay')`
- object: `sql_table`
- files:
- `trigger.py`
- args: `[sql_table.minimum_time_delay], [delay]`
- kwargs:
- where: `sql_table.id == id_`
- code:
'sql_table.update(
[sql_table.minimum_time_delay],
[(datetime.timedelta(hours=delay))],
where=sql_table.id == id_)'
- **after_super** `drop_column`
- condition: `table.column_exist('minimum_delay')`
- object: `table`
- files:
- `trigger.py`
- args: `'minimum_delay'`
- code:
'table.drop_column('minimum_delay')'
### 6.4
- **after_super** `execute`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.action],
[Concat((model.select(
model.model, where=model.id == sql_table.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`
- files:
- `trigger.py`
- args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]`
- code:
'sql_table.update(
[sql_table.action],
[Concat((model.select(
model.model, where=model.id == sql_table.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`
- files:
- `trigger.py`
- args: `'action_model'`
- code:
'table_h.drop_column('(model.select(
model.model, where=model.id == sql_table.action_model))')'
- **after_super** `drop_column`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `table_h`
- files:
- `trigger.py`
- args: `'action_function'`
- code:
'table_h.drop_column('action_function')'
### 6.6
- **after_super** `execute`
- condition: `table.column_exist('minimum_delay')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)`
- code:
'(Transaction().connection.cursor()).execute(*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`
- files:
- `trigger.py`
- args: `sql_table.id, sql_table.minimum_delay`
- kwargs:
- where: `sql_table.minimum_delay != Null`
- code:
'sql_table.select(
sql_table.id, sql_table.minimum_delay,
where=sql_table.minimum_delay != Null)'
- **after_super** `execute`
- condition: `table.column_exist('minimum_delay')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.minimum_time_delay],
[(datetime.timedelta(hours=delay))],
where=sql_table.id == id_))'
- **after_super** `update`
- condition: `table.column_exist('minimum_delay')`
- object: `sql_table`
- files:
- `trigger.py`
- args: `[sql_table.minimum_time_delay], [delay]`
- kwargs:
- where: `sql_table.id == id_`
- code:
'sql_table.update(
[sql_table.minimum_time_delay],
[(datetime.timedelta(hours=delay))],
where=sql_table.id == id_)'
- **after_super** `drop_column`
- condition: `table.column_exist('minimum_delay')`
- object: `table`
- files:
- `trigger.py`
- args: `'minimum_delay'`
- code:
'table.drop_column('minimum_delay')'
### 6.8
- **after_super** `execute`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.action],
[Concat((model.select(
model.model, where=model.id == sql_table.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`
- files:
- `trigger.py`
- args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]`
- code:
'sql_table.update(
[sql_table.action],
[Concat((model.select(
model.model, where=model.id == sql_table.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`
- files:
- `trigger.py`
- args: `'action_model'`
- code:
'table_h.drop_column('(model.select(
model.model, where=model.id == sql_table.action_model))')'
- **after_super** `drop_column`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `table_h`
- files:
- `trigger.py`
- args: `'action_function'`
- code:
'table_h.drop_column('action_function')'
### 7.2
- **after_super** `execute`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `cursor`
- files:
- `trigger.py`
- args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.action],
[Concat((model.select(
model.model, where=model.id == sql_table.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`
- files:
- `trigger.py`
- args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]`
- code:
'sql_table.update(
[sql_table.action],
[Concat((model.select(
model.model, where=model.id == sql_table.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`
- files:
- `trigger.py`
- args: `'action_model'`
- code:
'table_h.drop_column('(model.select(
model.model, where=model.id == sql_table.action_model))')'
- **after_super** `drop_column`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- object: `table_h`
- files:
- `trigger.py`
- args: `'action_function'`
- code:
'table_h.drop_column('action_function')'
### 7.6
- **before_super** `column_rename`
- object: `table_h`
- files:
- `trigger.py`
- args: `name, name + '_'`
- code:
'table_h.column_rename(name, name + '_')'
### 8.0
- **before_super** `column_rename`
- object: `table_h`
- files:
- `trigger.py`
- args: `name, name + '_'`
- code:
'table_h.column_rename(name, name + '_')'
## Tabelle ir_trigger_log
### 5.0
- **after_super** `index_action`
- object: `table`
- files:
- `trigger.py`
- args: `['trigger', 'record_id'], 'add'`
- code:
'table.index_action(['trigger', 'record_id'], 'add')'
### 5.4
- **after_super** `index_action`
- object: `table`
- files:
- `trigger.py`
- args: `['trigger', 'record_id'], 'add'`
- code:
'table.index_action(['trigger', 'record_id'], 'add')'
### 5.8
- **after_super** `index_action`
- object: `table`
- files:
- `trigger.py`
- args: `['trigger', 'record_id'], 'add'`
- code:
'table.index_action(['trigger', 'record_id'], 'add')'
### 6.2
- **after_super** `index_action`
- object: `table`
- files:
- `trigger.py`
- args: `['trigger', 'record_id'], 'add'`
- code:
'table.index_action(['trigger', 'record_id'], 'add')'
## Tabelle ir_ui_icon
### 5.2
- **after_super** `not_null_action`
- object: `table`
- files:
- `ui/icon.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 5.6
- **after_super** `not_null_action`
- object: `table`
- files:
- `ui/icon.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 6.0
- **after_super** `not_null_action`
- object: `table`
- files:
- `ui/icon.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 6.4
- **after_super** `not_null_action`
- object: `table`
- files:
- `ui/icon.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 6.8
- **after_super** `not_null_action`
- object: `table`
- files:
- `ui/icon.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
### 7.2
- **after_super** `not_null_action`
- object: `table`
- files:
- `ui/icon.py`
- args: `'sequence', 'remove'`
- code:
'table.not_null_action('sequence', 'remove')'
## Tabelle ir_ui_view
### 7.4
- **after_super** `execute`
- object: `cursor`
- files:
- `ui/view.py`
- args: `*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)`
- code:
'(Transaction().connection.cursor()).execute(*table.update(
[table.model],
[view.select(view.model, where=view.id == table.view)],
where=table.model == Null))'
- **after_super** `update`
- object: `table`
- files:
- `ui/view.py`
- args: `[table.model], [view.select(view.model, where=view.id == table.view)]`
- kwargs:
- where: `table.model == Null`
- code:
'table.update(
[table.model],
[view.select(view.model, where=view.id == table.view)],
where=table.model == Null)'
- **after_super** `select`
- object: `view`
- files:
- `ui/view.py`
- args: `view.model`
- kwargs:
- where: `view.id == table.view`
- code:
'view.select(view.model, where=view.id == table.view)'
### 7.8
- **after_super** `execute`
- object: `cursor`
- files:
- `ui/view.py`
- args: `*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)`
- code:
'(Transaction().connection.cursor()).execute(*table.update(
[table.model],
[view.select(view.model, where=view.id == table.view)],
where=table.model == Null))'
- **after_super** `update`
- object: `table`
- files:
- `ui/view.py`
- args: `[table.model], [view.select(view.model, where=view.id == table.view)]`
- kwargs:
- where: `table.model == Null`
- code:
'table.update(
[table.model],
[view.select(view.model, where=view.id == table.view)],
where=table.model == Null)'
- **after_super** `select`
- object: `view`
- files:
- `ui/view.py`
- args: `view.model`
- kwargs:
- where: `view.id == table.view`
- code:
'view.select(view.model, where=view.id == table.view)'
## Tabelle ir_ui_view_search
### 5.8
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `ui/view.py`
- args: `'user', 'remove'`
- code:
'table_h.not_null_action('user', 'remove')'
### 6.2
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `ui/view.py`
- args: `'user', 'remove'`
- code:
'table_h.not_null_action('user', 'remove')'
### 6.6
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `ui/view.py`
- args: `'user', 'remove'`
- code:
'table_h.not_null_action('user', 'remove')'
### 7.0
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `ui/view.py`
- args: `'user', 'remove'`
- code:
'table_h.not_null_action('user', 'remove')'
### 7.4
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `ui/view.py`
- args: `'user', 'remove'`
- code:
'table_h.not_null_action('user', 'remove')'
## Tabelle ir_ui_view_tree_optional
### 6.4
- **after_super** `index_action`
- object: `table_h`
- files:
- `ui/view.py`
- args: `['view_id', 'user'], 'add'`
- code:
'table_h.index_action(['view_id', 'user'], 'add')'
### 7.4
- **before_super** `column_rename`
- object: `table_h`
- files:
- `ui/view.py`
- args: `'view_id', 'view'`
- code:
'table_h.column_rename('view_id', 'view')'
- **after_super** `execute`
- object: `cursor`
- files:
- `ui/view.py`
- args: `*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)`
- code:
'(Transaction().connection.cursor()).execute(*table.update(
[table.model],
[view.select(view.model, where=view.id == table.view)],
where=table.model == Null))'
- **after_super** `update`
- object: `table`
- files:
- `ui/view.py`
- args: `[table.model], [view.select(view.model, where=view.id == table.view)]`
- kwargs:
- where: `table.model == Null`
- code:
'table.update(
[table.model],
[view.select(view.model, where=view.id == table.view)],
where=table.model == Null)'
### 7.8
- **before_super** `column_rename`
- object: `table_h`
- files:
- `ui/view.py`
- args: `'view_id', 'view'`
- code:
'table_h.column_rename('view_id', 'view')'
- **after_super** `execute`
- object: `cursor`
- files:
- `ui/view.py`
- args: `*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)`
- code:
'(Transaction().connection.cursor()).execute(*table.update(
[table.model],
[view.select(view.model, where=view.id == table.view)],
where=table.model == Null))'
- **after_super** `update`
- object: `table`
- files:
- `ui/view.py`
- args: `[table.model], [view.select(view.model, where=view.id == table.view)]`
- kwargs:
- where: `table.model == Null`
- code:
'table.update(
[table.model],
[view.select(view.model, where=view.id == table.view)],
where=table.model == Null)'
## Tabelle ir_ui_view_tree_state
### 5.0
- **after_super** `index_action`
- object: `table`
- files:
- `ui/view.py`
- args: `['model', 'domain', 'user', 'child_name'], 'add'`
- code:
'table.index_action(['model', 'domain', 'user', 'child_name'], 'add')'
### 5.4
- **after_super** `index_action`
- object: `table`
- files:
- `ui/view.py`
- args: `['model', 'domain', 'user', 'child_name'], 'add'`
- code:
'table.index_action(['model', 'domain', 'user', 'child_name'], 'add')'
### 5.8
- **after_super** `index_action`
- object: `table`
- files:
- `ui/view.py`
- args: `['model', 'domain', 'user', 'child_name'], 'add'`
- code:
'table.index_action(['model', 'domain', 'user', 'child_name'], 'add')'
### 6.2
- **after_super** `index_action`
- object: `table`
- files:
- `ui/view.py`
- args: `['model', 'domain', 'user', 'child_name'], 'add'`
- code:
'table.index_action(['model', 'domain', 'user', 'child_name'], 'add')'
## Tabelle ir_ui_view_tree_width
### 8.0
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `ui/view.py`
2026-08-08 01:29:43 +02:00
- args: `'width', 'remove'`
2026-08-20 13:27:23 +02:00
- code:
'table_h.not_null_action('width', 'remove')'
## Tabelle unknown
### 5.0
- **before_super** `get`
- object: `backend`
- files:
- `party.py`
- args: `'TableHandler'`
- code:
'backend.get('(backend.get('TableHandler'))')'
- **before_super** `table_exist`
- object: `TableHandler`
- files:
- `party.py`
- args: `cls._table`
- code:
'(backend.get('TableHandler')).table_exist(cls._table)'
- **before_super** `column_exist`
- condition: `exist`
- object: `table`
- files:
- `party.py`
- args: `'company'`
- code:
'table.column_exist('company')'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `party.py`
- args: `'party.configuration', cls._configuration_value_field, cls, cls._configuration_value_field`
- kwargs:
- fields: `['company']`
- code:
'migrate_property(
'party.configuration', cls._configuration_value_field,
cls, cls._configuration_value_field, fields=['company'])'
- **after_super** `_migrate_property`
- condition: `not exist`
- object: `super(PartyLang, cls)`
- files:
- `party.py`
- args: `field_names, value_names, fields`
- code:
'super(PartyLang, cls)._migrate_property(
field_names, value_names, fields)'
- **after_super** `super`
- condition: `not exist`
- files:
- `party.py`
- args: `PartyLang, cls`
- code:
'super(PartyLang, cls)'
- **after_super** `Transaction`
- files:
- `action.py`
- code:
'Transaction()'
- **after_super** `cursor`
- object: `transaction.connection`
- files:
- `action.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **before_super** `cursor`
- object: `Transaction().connection`
- files:
- `action.py`
- code:
'Transaction().connection.(Transaction().connection.cursor())()'
- **before_super** `Transaction`
- files:
- `action.py`
- code:
'Transaction()'
- **after_super** `Concat`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- files:
- `attachment.py`
- args: `Concat(attachment.digest, '-'), attachment.collision`
- code:
'Concat(Concat(attachment.digest, '-'),
attachment.collision)'
- **after_super** `Concat`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- files:
- `attachment.py`
- args: `attachment.digest, '-'`
- code:
'Concat(attachment.digest, '-')'
- **before_super** `Pool`
- files:
- `module.py`
- code:
'Pool()'
- **before_super** `table_rename`
- condition: `TableHandler.table_exist(old_table)`
- object: `TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'(backend.get('TableHandler')).table_rename(old_table, cls._table)'
- **after_super** `in_`
- object: `model_data_sql_table.fs_id`
- files:
- `module.py`
- args: `button_fs_ids`
- code:
'model_data_sql_table.fs_id.in_(button_fs_ids)'
- **before_super** `cursor`
- object: `transaction.connection`
- files:
- `translation.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **after_super** `timedelta`
- condition: `table.column_exist('minimum_delay')`
- object: `datetime`
- files:
- `trigger.py`
- kwargs:
- hours: `delay`
- code:
'datetime.timedelta(hours=(datetime.timedelta(hours=delay)))'
### 5.4
- **before_super** `get`
- object: `backend`
- files:
- `party.py`
- args: `'TableHandler'`
- code:
'backend.get('(backend.get('TableHandler'))')'
- **before_super** `table_exist`
- object: `TableHandler`
- files:
- `party.py`
- args: `cls._table`
- code:
'(backend.get('TableHandler')).table_exist(cls._table)'
- **before_super** `column_exist`
- condition: `exist`
- object: `table`
- files:
- `party.py`
- args: `'company'`
- code:
'table.column_exist('company')'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `party.py`
- args: `'party.configuration', cls._configuration_value_field, cls, cls._configuration_value_field`
- kwargs:
- fields: `['company']`
- code:
'migrate_property(
'party.configuration', cls._configuration_value_field,
cls, cls._configuration_value_field, fields=['company'])'
- **after_super** `_migrate_property`
- condition: `not exist`
- object: `super(PartyLang, cls)`
- files:
- `party.py`
- args: `field_names, value_names, fields`
- code:
'super(PartyLang, cls)._migrate_property(
field_names, value_names, fields)'
- **after_super** `super`
- condition: `not exist`
- files:
- `party.py`
- args: `PartyLang, cls`
- code:
'super(PartyLang, cls)'
- **before_super** `Pool`
- files:
- `country.py`
- code:
'Pool()'
- **before_super** `cursor`
- object: `Transaction().connection`
- files:
- `country.py`
- code:
'Transaction().connection.(Transaction().connection.cursor())()'
- **before_super** `Transaction`
- files:
- `country.py`
- code:
'Transaction()'
- **after_super** `Transaction`
- files:
- `action.py`
- code:
'Transaction()'
- **after_super** `cursor`
- object: `transaction.connection`
- files:
- `action.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **after_super** `Concat`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- files:
- `attachment.py`
- args: `Concat(attachment.digest, '-'), attachment.collision`
- code:
'Concat(Concat(attachment.digest, '-'),
attachment.collision)'
- **after_super** `Concat`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- files:
- `attachment.py`
- args: `attachment.digest, '-'`
- code:
'Concat(attachment.digest, '-')'
- **before_super** `table_rename`
- condition: `TableHandler.table_exist(old_table)`
- object: `TableHandler`
- files:
- `module.py`
- args: `old_table, cls._table`
- code:
'(backend.get('TableHandler')).table_rename(old_table, cls._table)'
- **after_super** `in_`
- object: `model_data_sql_table.fs_id`
- files:
- `module.py`
- args: `button_fs_ids`
- code:
'model_data_sql_table.fs_id.in_(button_fs_ids)'
- **before_super** `cursor`
- object: `transaction.connection`
- files:
- `translation.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **after_super** `timedelta`
- condition: `table.column_exist('minimum_delay')`
- object: `datetime`
- files:
- `trigger.py`
- kwargs:
- hours: `delay`
- code:
'datetime.timedelta(hours=(datetime.timedelta(hours=delay)))'
### 5.6
- **after_super** `Pool`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- code:
'Pool()'
- **after_super** `Concat`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- args: `action_model, Concat('|', sql_table.action_function)`
- code:
'Concat((model.select(
model.model, where=model.id == sql_table.action_model)), Concat(
'|', sql_table.action_function))'
- **after_super** `Concat`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- args: `'|', sql_table.action_function`
- code:
'Concat(
'|', sql_table.action_function)'
### 5.8
- **before_super** `column_exist`
- condition: `exist`
- object: `table`
- files:
- `party.py`
- args: `'company'`
- code:
'table.column_exist('company')'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `party.py`
- args: `'party.configuration', cls._configuration_value_field, cls, cls._configuration_value_field`
- kwargs:
- fields: `['company']`
- code:
'migrate_property(
'party.configuration', cls._configuration_value_field,
cls, cls._configuration_value_field, fields=['company'])'
- **after_super** `_migrate_property`
- condition: `not exist`
- object: `super(PartyLang, cls)`
- files:
- `party.py`
- args: `field_names, value_names, fields`
- code:
'super(PartyLang, cls)._migrate_property(
field_names, value_names, fields)'
- **after_super** `super`
- condition: `not exist`
- files:
- `party.py`
- args: `PartyLang, cls`
- code:
'super(PartyLang, cls)'
- **before_super** `Pool`
- files:
- `country.py`
- code:
'Pool()'
- **before_super** `cursor`
- object: `Transaction().connection`
- files:
- `country.py`
- code:
'Transaction().connection.(Transaction().connection.cursor())()'
- **before_super** `Transaction`
- files:
- `country.py`
- code:
'Transaction()'
- **after_super** `Transaction`
- files:
- `action.py`
- code:
'Transaction()'
- **after_super** `cursor`
- object: `transaction.connection`
- files:
- `action.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **after_super** `Concat`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- files:
- `attachment.py`
- args: `Concat(attachment.digest, '-'), attachment.collision`
- code:
'Concat(Concat(attachment.digest, '-'),
attachment.collision)'
- **after_super** `Concat`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- files:
- `attachment.py`
- args: `attachment.digest, '-'`
- code:
'Concat(attachment.digest, '-')'
- **after_super** `in_`
- object: `model_data_sql_table.fs_id`
- files:
- `module.py`
- args: `button_fs_ids`
- code:
'model_data_sql_table.fs_id.in_(button_fs_ids)'
- **before_super** `cursor`
- object: `transaction.connection`
- files:
- `translation.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **after_super** `timedelta`
- condition: `table.column_exist('minimum_delay')`
- object: `datetime`
- files:
- `trigger.py`
- kwargs:
- hours: `delay`
- code:
'datetime.timedelta(hours=(datetime.timedelta(hours=delay)))'
### 6.0
- **before_super** `Pool`
- files:
- `res.py`
- code:
'Pool()'
- **before_super** `Transaction`
- files:
- `res.py`
- code:
'Transaction()'
- **after_super** `cursor`
- object: `transaction.connection`
- files:
- `res.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **after_super** `Pool`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- code:
'Pool()'
- **after_super** `Concat`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- args: `action_model, Concat('|', sql_table.action_function)`
- code:
'Concat((model.select(
model.model, where=model.id == sql_table.action_model)), Concat(
'|', sql_table.action_function))'
- **after_super** `Concat`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- args: `'|', sql_table.action_function`
- code:
'Concat(
'|', sql_table.action_function)'
### 6.2
- **before_super** `column_exist`
- condition: `exist`
- object: `table`
- files:
- `party.py`
- args: `'company'`
- code:
'table.column_exist('company')'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `party.py`
- args: `'party.configuration', cls._configuration_value_field, cls, cls._configuration_value_field`
- kwargs:
- fields: `['company']`
- code:
'migrate_property(
'party.configuration', cls._configuration_value_field,
cls, cls._configuration_value_field, fields=['company'])'
- **after_super** `_migrate_property`
- condition: `not exist`
- object: `super(PartyLang, cls)`
- files:
- `party.py`
- args: `field_names, value_names, fields`
- code:
'super(PartyLang, cls)._migrate_property(
field_names, value_names, fields)'
- **after_super** `super`
- condition: `not exist`
- files:
- `party.py`
- args: `PartyLang, cls`
- code:
'super(PartyLang, cls)'
- **before_super** `cursor`
- object: `Transaction().connection`
- files:
- `country.py`
- code:
'Transaction().connection.(Transaction().connection.cursor())()'
- **after_super** `Transaction`
- files:
- `action.py`
- code:
'Transaction()'
- **after_super** `Concat`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- files:
- `attachment.py`
- args: `Concat(attachment.digest, '-'), attachment.collision`
- code:
'Concat(Concat(attachment.digest, '-'),
attachment.collision)'
- **after_super** `Concat`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- files:
- `attachment.py`
- args: `attachment.digest, '-'`
- code:
'Concat(attachment.digest, '-')'
- **after_super** `in_`
- object: `model_data_sql_table.fs_id`
- files:
- `module.py`
- args: `button_fs_ids`
- code:
'model_data_sql_table.fs_id.in_(button_fs_ids)'
- **before_super** `cursor`
- object: `transaction.connection`
- files:
- `translation.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **after_super** `timedelta`
- condition: `table.column_exist('minimum_delay')`
- object: `datetime`
- files:
- `trigger.py`
- kwargs:
- hours: `delay`
- code:
'datetime.timedelta(hours=(datetime.timedelta(hours=delay)))'
### 6.4
- **before_super** `Pool`
- files:
- `res.py`
- code:
'Pool()'
- **before_super** `Transaction`
- files:
- `res.py`
- code:
'Transaction()'
- **after_super** `cursor`
- object: `transaction.connection`
- files:
- `res.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **after_super** `Pool`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- code:
'Pool()'
- **after_super** `Concat`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- args: `action_model, Concat('|', sql_table.action_function)`
- code:
'Concat((model.select(
model.model, where=model.id == sql_table.action_model)), Concat(
'|', sql_table.action_function))'
- **after_super** `Concat`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- args: `'|', sql_table.action_function`
- code:
'Concat(
'|', sql_table.action_function)'
### 6.6
- **before_super** `column_exist`
- condition: `exist`
- object: `table`
- files:
- `party.py`
- args: `'company'`
- code:
'table.column_exist('company')'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `party.py`
- args: `'party.configuration', cls._configuration_value_field, cls, cls._configuration_value_field`
- kwargs:
- fields: `['company']`
- code:
'migrate_property(
'party.configuration', cls._configuration_value_field,
cls, cls._configuration_value_field, fields=['company'])'
- **after_super** `_migrate_property`
- condition: `not exist`
- object: `super(PartyLang, cls)`
- files:
- `party.py`
- args: `field_names, value_names, fields`
- code:
'super(PartyLang, cls)._migrate_property(
field_names, value_names, fields)'
- **after_super** `super`
- condition: `not exist`
- files:
- `party.py`
- args: `PartyLang, cls`
- code:
'super(PartyLang, cls)'
- **before_super** `cursor`
- object: `Transaction().connection`
- files:
- `country.py`
- code:
'Transaction().connection.(Transaction().connection.cursor())()'
- **after_super** `Transaction`
- files:
- `action.py`
- code:
'Transaction()'
- **after_super** `Concat`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- files:
- `attachment.py`
- args: `Concat(attachment.digest, '-'), attachment.collision`
- code:
'Concat(Concat(attachment.digest, '-'),
attachment.collision)'
- **after_super** `Concat`
- condition: `table.column_exist('digest') and table.column_exist('collision')`
- files:
- `attachment.py`
- args: `attachment.digest, '-'`
- code:
'Concat(attachment.digest, '-')'
- **after_super** `in_`
- object: `model_data_sql_table.fs_id`
- files:
- `module.py`
- args: `button_fs_ids`
- code:
'model_data_sql_table.fs_id.in_(button_fs_ids)'
- **before_super** `cursor`
- object: `transaction.connection`
- files:
- `translation.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **after_super** `timedelta`
- condition: `table.column_exist('minimum_delay')`
- object: `datetime`
- files:
- `trigger.py`
- kwargs:
- hours: `delay`
- code:
'datetime.timedelta(hours=(datetime.timedelta(hours=delay)))'
### 6.8
- **before_super** `Pool`
- files:
- `res.py`
- code:
'Pool()'
- **before_super** `Transaction`
- files:
- `res.py`
- code:
'Transaction()'
- **after_super** `cursor`
- object: `transaction.connection`
- files:
- `res.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **after_super** `Pool`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- code:
'Pool()'
- **after_super** `Concat`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- args: `action_model, Concat('|', sql_table.action_function)`
- code:
'Concat((model.select(
model.model, where=model.id == sql_table.action_model)), Concat(
'|', sql_table.action_function))'
- **after_super** `Concat`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- args: `'|', sql_table.action_function`
- code:
'Concat(
'|', sql_table.action_function)'
### 7.0
- **before_super** `cursor`
- object: `Transaction().connection`
- files:
- `country.py`
- code:
'Transaction().connection.(Transaction().connection.cursor())()'
- **before_super** `column_exist`
- object: `table_h`
- files:
- `export.py`
- args: `'user'`
- code:
'table_h.column_exist('user')'
- **after_super** `cursor`
- object: `Transaction().connection`
- files:
- `trigger.py`
- code:
'Transaction().connection.(Transaction().connection.cursor())()'
- **after_super** `Transaction`
- files:
- `trigger.py`
- code:
'Transaction()'
### 7.2
- **before_super** `Pool`
- files:
- `res.py`
- code:
'Pool()'
- **before_super** `Transaction`
- files:
- `res.py`
- code:
'Transaction()'
- **after_super** `cursor`
- object: `transaction.connection`
- files:
- `res.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **before_super** `cursor`
- object: `transaction.connection`
- files:
- `model.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
- **after_super** `Pool`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- code:
'Pool()'
- **after_super** `Concat`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- args: `action_model, Concat('|', sql_table.action_function)`
- code:
'Concat((model.select(
model.model, where=model.id == sql_table.action_model)), Concat(
'|', sql_table.action_function))'
- **after_super** `Concat`
- condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')`
- files:
- `trigger.py`
- args: `'|', sql_table.action_function`
- code:
'Concat(
'|', sql_table.action_function)'
### 7.4
- **before_super** `cursor`
- object: `Transaction().connection`
- files:
- `country.py`
- code:
'Transaction().connection.(Transaction().connection.cursor())()'
- **before_super** `column_exist`
- object: `table_h`
- files:
- `export.py`
- args: `'user'`
- code:
'table_h.column_exist('user')'
- **after_super** `cursor`
- object: `Transaction().connection`
- files:
- `trigger.py`
- code:
'Transaction().connection.(Transaction().connection.cursor())()'
- **after_super** `Transaction`
- files:
- `trigger.py`
- code:
'Transaction()'
### 7.6
- **before_super** `Transaction`
- files:
- `export.py`
- code:
'Transaction()'
- **before_super** `Pool`
- files:
- `model.py`
- code:
'Pool()'
- **before_super** `cursor`
- object: `transaction.connection`
- files:
- `model.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
### 7.8
- **before_super** `cursor`
- object: `Transaction().connection`
- files:
- `export.py`
- code:
'Transaction().connection.(Transaction().connection.cursor())()'
- **before_super** `column_exist`
- object: `table_h`
- files:
- `export.py`
- args: `'user'`
- code:
'table_h.column_exist('user')'
### 8.0
- **before_super** `Transaction`
- files:
- `export.py`
- code:
'Transaction()'
- **before_super** `Pool`
- files:
- `model.py`
- code:
'Pool()'
- **before_super** `cursor`
- object: `transaction.connection`
- files:
- `model.py`
- code:
'transaction.connection.(transaction.connection.cursor())()'
2026-08-08 01:29:43 +02:00