- create_dataset.py, compare_snapshots.py, rst_to_dataset.py: Proteus- Testdatensatz anlegen/vergleichen bzw. aus *.rst-Szenarien extrahieren - create_dataset.py: Feld-Alias-Fallback (FIELD_RENAMES) für bekannte Umbenennungen wie stock.move.uom -> unit, bidirektional - merge_dedup_rsts.py: Extrahierte YAMLs pro Version zusammenführen, versionsinterne Duplikate entfernen, abhängigkeitskorrekt sortieren - extract_model_tree.py: Modellbaum (Modelle/Felder) statisch aus dem Tryton-Quellcode ziehen, für 5.0 und 8.0 - model_diff.py, model_coverage.py: 5.0<->8.0-Modelländerungen finden und gegen die aktuelle Testdatenabdeckung abgleichen, priorisiert nach tatsächlicher Änderung - reports/*_merged.yaml: Extraktionsergebnisse für die aktiven Module (rohe *.rst-Quellen bewusst nicht mitversioniert) - Ordner doc ergänzt
1040 lines
32 KiB
Markdown
1040 lines
32 KiB
Markdown
# company
|
|
|
|
|
|
## Klasse cron_company_rel
|
|
|
|
### 7.2
|
|
|
|
# 7.2
|
|
|
|
- **before_super** `table_rename`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `ir.py`
|
|
- args: `'cron_company_rel', cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_rename('cron_company_rel', cls._table)'
|
|
|
|
|
|
### 7.6
|
|
|
|
- **before_super** `table_rename`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `ir.py`
|
|
- args: `'cron_company_rel', cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_rename('cron_company_rel', cls._table)'
|
|
|
|
|
|
### 8.0
|
|
|
|
- **before_super** `table_rename`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `ir.py`
|
|
- args: `'cron_company_rel', cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_rename('cron_company_rel', cls._table)'
|
|
|
|
|
|
## Tabelle ir_cron-company_company
|
|
|
|
### 7.2
|
|
|
|
- **before_super** `table_rename`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `ir.py`
|
|
- args: `'cron_company_rel', cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_rename('cron_company_rel', cls._table)'
|
|
|
|
|
|
### 7.6
|
|
|
|
- **before_super** `table_rename`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `ir.py`
|
|
- args: `'cron_company_rel', cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_rename('cron_company_rel', cls._table)'
|
|
|
|
|
|
### 8.0
|
|
|
|
- **before_super** `table_rename`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `ir.py`
|
|
- args: `'cron_company_rel', cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_rename('cron_company_rel', cls._table)'
|
|
|
|
|
|
## Tabelle party_configuration_party_lang
|
|
|
|
### 5.6
|
|
|
|
- **before_super** `table_exist`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `party.py`
|
|
- args: `cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_exist(cls._table)'
|
|
|
|
|
|
### 6.0
|
|
|
|
- **before_super** `table_exist`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `party.py`
|
|
- args: `cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_exist(cls._table)'
|
|
|
|
|
|
### 6.4
|
|
|
|
- **before_super** `table_exist`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `party.py`
|
|
- args: `cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_exist(cls._table)'
|
|
|
|
|
|
### 6.8
|
|
|
|
- **before_super** `table_exist`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `party.py`
|
|
- args: `cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_exist(cls._table)'
|
|
|
|
|
|
## Tabelle party_party_lang
|
|
|
|
### 5.6
|
|
|
|
- **before_super** `table_exist`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `party.py`
|
|
- args: `cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_exist(cls._table)'
|
|
|
|
|
|
### 6.0
|
|
|
|
- **before_super** `table_exist`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `party.py`
|
|
- args: `cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_exist(cls._table)'
|
|
|
|
|
|
### 6.4
|
|
|
|
- **before_super** `table_exist`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `party.py`
|
|
- args: `cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_exist(cls._table)'
|
|
|
|
|
|
### 6.8
|
|
|
|
- **before_super** `table_exist`
|
|
- object: `backend.TableHandler`
|
|
- files:
|
|
- `party.py`
|
|
- args: `cls._table`
|
|
- code:
|
|
'backend.TableHandler.table_exist(cls._table)'
|
|
|
|
|
|
## Tabelle res_user
|
|
|
|
### 6.0
|
|
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null))'
|
|
- **after_super** `select`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table`
|
|
- files:
|
|
- `res.py`
|
|
- args: `table.id, table.main_company`
|
|
- kwargs:
|
|
- where: `table.main_company != Null`
|
|
- code:
|
|
'table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)'
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company)))'
|
|
- **after_super** `select`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table`
|
|
- files:
|
|
- `res.py`
|
|
- args: `table.id, table.company`
|
|
- kwargs:
|
|
- where: `(table.company != Null) & (table.company != table.main_company)`
|
|
- code:
|
|
'table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))'
|
|
- **after_super** `drop_column`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table_h`
|
|
- files:
|
|
- `res.py`
|
|
- args: `'main_company'`
|
|
- code:
|
|
'table_h.drop_column('main_company')'
|
|
|
|
|
|
### 6.4
|
|
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null))'
|
|
- **after_super** `select`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table`
|
|
- files:
|
|
- `res.py`
|
|
- args: `table.id, table.main_company`
|
|
- kwargs:
|
|
- where: `table.main_company != Null`
|
|
- code:
|
|
'table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)'
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company)))'
|
|
- **after_super** `select`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table`
|
|
- files:
|
|
- `res.py`
|
|
- args: `table.id, table.company`
|
|
- kwargs:
|
|
- where: `(table.company != Null) & (table.company != table.main_company)`
|
|
- code:
|
|
'table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))'
|
|
- **after_super** `drop_column`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table_h`
|
|
- files:
|
|
- `res.py`
|
|
- args: `'main_company'`
|
|
- code:
|
|
'table_h.drop_column('main_company')'
|
|
|
|
|
|
### 6.8
|
|
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null))'
|
|
- **after_super** `select`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table`
|
|
- files:
|
|
- `res.py`
|
|
- args: `table.id, table.main_company`
|
|
- kwargs:
|
|
- where: `table.main_company != Null`
|
|
- code:
|
|
'table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)'
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company)))'
|
|
- **after_super** `select`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table`
|
|
- files:
|
|
- `res.py`
|
|
- args: `table.id, table.company`
|
|
- kwargs:
|
|
- where: `(table.company != Null) & (table.company != table.main_company)`
|
|
- code:
|
|
'table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))'
|
|
- **after_super** `drop_column`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table_h`
|
|
- files:
|
|
- `res.py`
|
|
- args: `'main_company'`
|
|
- code:
|
|
'table_h.drop_column('main_company')'
|
|
|
|
|
|
### 7.2
|
|
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null))'
|
|
- **after_super** `select`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table`
|
|
- files:
|
|
- `res.py`
|
|
- args: `table.id, table.main_company`
|
|
- kwargs:
|
|
- where: `table.main_company != Null`
|
|
- code:
|
|
'table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)'
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company)))'
|
|
- **after_super** `select`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table`
|
|
- files:
|
|
- `res.py`
|
|
- args: `table.id, table.company`
|
|
- kwargs:
|
|
- where: `(table.company != Null) & (table.company != table.main_company)`
|
|
- code:
|
|
'table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))'
|
|
- **after_super** `drop_column`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `table_h`
|
|
- files:
|
|
- `res.py`
|
|
- args: `'main_company'`
|
|
- code:
|
|
'table_h.drop_column('main_company')'
|
|
|
|
|
|
## Tabelle res_user-company_company
|
|
|
|
### 6.0
|
|
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null))'
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company)))'
|
|
|
|
|
|
### 6.4
|
|
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null))'
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company)))'
|
|
|
|
|
|
### 6.8
|
|
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null))'
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company)))'
|
|
|
|
|
|
### 7.2
|
|
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null)))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.main_company,
|
|
where=table.main_company != Null))'
|
|
- **after_super** `execute`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `cursor`
|
|
- files:
|
|
- `res.py`
|
|
- args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))`
|
|
- code:
|
|
'(transaction.connection.cursor()).execute(*user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company))))'
|
|
- **after_super** `insert`
|
|
- condition: `table_h.column_exist('main_company')`
|
|
- object: `user_company`
|
|
- files:
|
|
- `res.py`
|
|
- args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))`
|
|
- code:
|
|
'user_company.insert(
|
|
[user_company.user, user_company.company],
|
|
table.select(
|
|
table.id, table.company,
|
|
where=(table.company != Null)
|
|
& (table.company != table.main_company)))'
|
|
|
|
|
|
## 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)'
|
|
|
|
|
|
### 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)'
|
|
|
|
|
|
### 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)'
|
|
|
|
|
|
### 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())()'
|
|
|
|
|
|
### 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)'
|
|
|
|
|
|
### 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())()'
|
|
|
|
|
|
### 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)'
|
|
|
|
|
|
### 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())()'
|
|
|
|
|
|
### 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())()'
|
|
|