Files
tryton-db-migration/reports/updateChanges/party.md
T
uha4 c0dd24b6c5 Proteus-Zweig: dataset.yaml-Pipeline und 5.0/8.0-Modellbaumvergleich
- 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
2026-08-22 10:52:13 +02:00

3541 lines
95 KiB
Markdown

# modul party
## Tabelle country_country
### 5.0
- **after_super** `drop_constraint`
- object: `table`
- files:
- `country.py`
- args: `'name_uniq'`
- code:
'table.drop_constraint('name_uniq')'
- **after_super** `drop_constraint`
- object: `table`
- files:
- `country.py`
- args: `'code_uniq'`
- code:
'table.drop_constraint('code_uniq')'
- **after_super** `not_null_action`
- object: `table`
- files:
- `country.py`
- args: `'code', 'remove'`
- code:
'table.not_null_action('code', 'remove')'
### 5.4
- **after_super** `drop_constraint`
- object: `table`
- files:
- `country.py`
- args: `'name_uniq'`
- code:
'table.drop_constraint('name_uniq')'
- **after_super** `drop_constraint`
- object: `table`
- files:
- `country.py`
- args: `'code_uniq'`
- code:
'table.drop_constraint('code_uniq')'
- **after_super** `not_null_action`
- object: `table`
- files:
- `country.py`
- args: `'code', 'remove'`
- code:
'table.not_null_action('code', 'remove')'
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `select`
- condition: `table_h.column_exist('country')`
- object: `country`
- files:
- `address.py`
- args: `country.code`
- kwargs:
- where: `country.id == table.country`
- code:
'country.select(
country.code,
where=country.id == table.country)'
### 5.8
- **after_super** `drop_constraint`
- object: `table`
- files:
- `country.py`
- args: `'name_uniq'`
- code:
'table.drop_constraint('name_uniq')'
- **after_super** `drop_constraint`
- object: `table`
- files:
- `country.py`
- args: `'code_uniq'`
- code:
'table.drop_constraint('code_uniq')'
- **after_super** `not_null_action`
- object: `table`
- files:
- `country.py`
- args: `'code', 'remove'`
- code:
'table.not_null_action('code', 'remove')'
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `select`
- condition: `table_h.column_exist('country')`
- object: `country`
- files:
- `address.py`
- args: `country.code`
- kwargs:
- where: `country.id == table.country`
- code:
'country.select(
country.code,
where=country.id == table.country)'
### 6.2
- **after_super** `drop_constraint`
- object: `table`
- files:
- `country.py`
- args: `'name_uniq'`
- code:
'table.drop_constraint('name_uniq')'
- **after_super** `drop_constraint`
- object: `table`
- files:
- `country.py`
- args: `'code_uniq'`
- code:
'table.drop_constraint('code_uniq')'
- **after_super** `not_null_action`
- object: `table`
- files:
- `country.py`
- args: `'code', 'remove'`
- code:
'table.not_null_action('code', 'remove')'
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `select`
- condition: `table_h.column_exist('country')`
- object: `country`
- files:
- `address.py`
- args: `country.code`
- kwargs:
- where: `country.id == table.country`
- code:
'country.select(
country.code,
where=country.id == table.country)'
### 6.6
- **after_super** `drop_constraint`
- object: `table`
- files:
- `country.py`
- args: `'name_uniq'`
- code:
'table.drop_constraint('name_uniq')'
- **after_super** `drop_constraint`
- object: `table`
- files:
- `country.py`
- args: `'code_uniq'`
- code:
'table.drop_constraint('code_uniq')'
- **after_super** `not_null_action`
- object: `table`
- files:
- `country.py`
- args: `'code', 'remove'`
- code:
'table.not_null_action('code', 'remove')'
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `select`
- condition: `table_h.column_exist('country')`
- object: `country`
- files:
- `address.py`
- args: `country.code`
- kwargs:
- where: `country.id == table.country`
- code:
'country.select(
country.code,
where=country.id == table.country)'
### 7.0
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `select`
- condition: `table_h.column_exist('country')`
- object: `country`
- files:
- `address.py`
- args: `country.code`
- kwargs:
- where: `country.id == table.country`
- code:
'country.select(
country.code,
where=country.id == table.country)'
### 7.4
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `select`
- condition: `table_h.column_exist('country')`
- object: `country`
- files:
- `address.py`
- args: `country.code`
- kwargs:
- where: `country.id == table.country`
- code:
'country.select(
country.code,
where=country.id == table.country)'
## Tabelle ir_lang
### 5.4
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `select`
- condition: `table_h.column_exist('language')`
- object: `language`
- files:
- `address.py`
- args: `Substring(language.code, 0, 2)`
- kwargs:
- where: `language.id == table.language`
- code:
'language.select(
Substring(language.code, 0, 2),
where=language.id == table.language)'
### 5.8
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `select`
- condition: `table_h.column_exist('language')`
- object: `language`
- files:
- `address.py`
- args: `Substring(language.code, 0, 2)`
- kwargs:
- where: `language.id == table.language`
- code:
'language.select(
Substring(language.code, 0, 2),
where=language.id == table.language)'
### 6.2
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `select`
- condition: `table_h.column_exist('language')`
- object: `language`
- files:
- `address.py`
- args: `Substring(language.code, 0, 2)`
- kwargs:
- where: `language.id == table.language`
- code:
'language.select(
Substring(language.code, 0, 2),
where=language.id == table.language)'
### 6.6
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `select`
- condition: `table_h.column_exist('language')`
- object: `language`
- files:
- `address.py`
- args: `Substring(language.code, 0, 2)`
- kwargs:
- where: `language.id == table.language`
- code:
'language.select(
Substring(language.code, 0, 2),
where=language.id == table.language)'
### 7.0
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `select`
- condition: `table_h.column_exist('language')`
- object: `language`
- files:
- `address.py`
- args: `Substring(language.code, 0, 2)`
- kwargs:
- where: `language.id == table.language`
- code:
'language.select(
Substring(language.code, 0, 2),
where=language.id == table.language)'
### 7.4
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `select`
- condition: `table_h.column_exist('language')`
- object: `language`
- files:
- `address.py`
- args: `Substring(language.code, 0, 2)`
- kwargs:
- where: `language.id == table.language`
- code:
'language.select(
Substring(language.code, 0, 2),
where=language.id == table.language)'
## Tabelle party_address
### 5.0
- **after_super** `execute`
- condition: `table.column_exist('streetbis')`
- object: `cursor`
- files:
- `address.py`
- args: `*sql_table.update([sql_table.street], [value])`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.street],
[value]))'
- **after_super** `update`
- condition: `table.column_exist('streetbis')`
- object: `sql_table`
- files:
- `address.py`
- args: `[sql_table.street], [value]`
- code:
'sql_table.update(
[sql_table.street],
[value])'
- **after_super** `drop_column`
- condition: `table.column_exist('streetbis')`
- object: `table`
- files:
- `address.py`
- args: `'streetbis'`
- code:
'table.drop_column('streetbis')'
### 5.4
- **after_super** `execute`
- condition: `table.column_exist('streetbis')`
- object: `cursor`
- files:
- `address.py`
- args: `*sql_table.update([sql_table.street], [value])`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.street],
[value]))'
- **after_super** `update`
- condition: `table.column_exist('streetbis')`
- object: `sql_table`
- files:
- `address.py`
- args: `[sql_table.street], [value]`
- code:
'sql_table.update(
[sql_table.street],
[value])'
- **after_super** `drop_column`
- condition: `table.column_exist('streetbis')`
- object: `table`
- files:
- `address.py`
- args: `'streetbis'`
- code:
'table.drop_column('streetbis')'
### 5.8
- **after_super** `execute`
- condition: `table.column_exist('streetbis')`
- object: `cursor`
- files:
- `address.py`
- args: `*sql_table.update([sql_table.street], [value])`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.street],
[value]))'
- **after_super** `update`
- condition: `table.column_exist('streetbis')`
- object: `sql_table`
- files:
- `address.py`
- args: `[sql_table.street], [value]`
- code:
'sql_table.update(
[sql_table.street],
[value])'
- **after_super** `drop_column`
- condition: `table.column_exist('streetbis')`
- object: `table`
- files:
- `address.py`
- args: `'streetbis'`
- code:
'table.drop_column('streetbis')'
### 6.0
- **before_super** `column_rename`
- object: `table`
- files:
- `address.py`
- args: `'zip', 'postal_code'`
- code:
'table.column_rename('zip', 'postal_code')'
### 6.2
- **after_super** `execute`
- condition: `table.column_exist('streetbis')`
- object: `cursor`
- files:
- `address.py`
- args: `*sql_table.update([sql_table.street], [value])`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.street],
[value]))'
- **after_super** `update`
- condition: `table.column_exist('streetbis')`
- object: `sql_table`
- files:
- `address.py`
- args: `[sql_table.street], [value]`
- code:
'sql_table.update(
[sql_table.street],
[value])'
- **after_super** `drop_column`
- condition: `table.column_exist('streetbis')`
- object: `table`
- files:
- `address.py`
- args: `'streetbis'`
- code:
'table.drop_column('streetbis')'
### 6.4
- **before_super** `column_rename`
- object: `table`
- files:
- `address.py`
- args: `'zip', 'postal_code'`
- code:
'table.column_rename('zip', 'postal_code')'
### 6.6
- **after_super** `execute`
- condition: `table.column_exist('streetbis')`
- object: `cursor`
- files:
- `address.py`
- args: `*sql_table.update([sql_table.street], [value])`
- code:
'(Transaction().connection.cursor()).execute(*sql_table.update(
[sql_table.street],
[value]))'
- **after_super** `update`
- condition: `table.column_exist('streetbis')`
- object: `sql_table`
- files:
- `address.py`
- args: `[sql_table.street], [value]`
- code:
'sql_table.update(
[sql_table.street],
[value])'
- **after_super** `drop_column`
- condition: `table.column_exist('streetbis')`
- object: `table`
- files:
- `address.py`
- args: `'streetbis'`
- code:
'table.drop_column('streetbis')'
### 6.8
- **before_super** `column_rename`
- object: `table`
- files:
- `address.py`
- args: `'zip', 'postal_code'`
- code:
'table.column_rename('zip', 'postal_code')'
### 7.2
- **before_super** `column_rename`
- object: `table`
- files:
- `address.py`
- args: `'zip', 'postal_code'`
- code:
'table.column_rename('zip', 'postal_code')'
### 7.6
- **before_super** `column_rename`
- object: `table`
- files:
- `address.py`
- args: `'street', 'street_unstructured'`
- code:
'table.column_rename('street', 'street_unstructured')'
- **before_super** `column_rename`
- object: `table`
- files:
- `address.py`
- args: `'name', 'building_name'`
- code:
'table.column_rename('name', 'building_name')'
### 8.0
- **before_super** `column_rename`
- object: `table`
- files:
- `address.py`
- args: `'street', 'street_unstructured'`
- code:
'table.column_rename('street', 'street_unstructured')'
- **before_super** `column_rename`
- object: `table`
- files:
- `address.py`
- args: `'name', 'building_name'`
- code:
'table.column_rename('name', 'building_name')'
## Tabelle party_address_format
### 5.4
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('country')`
- object: `table_h`
- files:
- `address.py`
- args: `'country'`
- code:
'table_h.drop_column('country')'
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('language')`
- object: `table_h`
- files:
- `address.py`
- args: `'language'`
- code:
'table_h.drop_column('language')'
### 5.8
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('country')`
- object: `table_h`
- files:
- `address.py`
- args: `'country'`
- code:
'table_h.drop_column('country')'
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('language')`
- object: `table_h`
- files:
- `address.py`
- args: `'language'`
- code:
'table_h.drop_column('language')'
### 6.2
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('country')`
- object: `table_h`
- files:
- `address.py`
- args: `'country'`
- code:
'table_h.drop_column('country')'
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('language')`
- object: `table_h`
- files:
- `address.py`
- args: `'language'`
- code:
'table_h.drop_column('language')'
### 6.6
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('country')`
- object: `table_h`
- files:
- `address.py`
- args: `'country'`
- code:
'table_h.drop_column('country')'
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('language')`
- object: `table_h`
- files:
- `address.py`
- args: `'language'`
- code:
'table_h.drop_column('language')'
### 7.0
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('country')`
- object: `table_h`
- files:
- `address.py`
- args: `'country'`
- code:
'table_h.drop_column('country')'
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('language')`
- object: `table_h`
- files:
- `address.py`
- args: `'language'`
- code:
'table_h.drop_column('language')'
### 7.4
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- files:
- `address.py`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- code:
'table.update(
[table.country_code],
country.select(
country.code,
where=country.id == table.country))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('country')`
- object: `table_h`
- files:
- `address.py`
- args: `'country'`
- code:
'table_h.drop_column('country')'
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- files:
- `address.py`
- args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)`
- code:
'table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))'
- **after_super** `drop_column`
- condition: `table_h.column_exist('language')`
- object: `table_h`
- files:
- `address.py`
- args: `'language'`
- code:
'table_h.drop_column('language')'
## Tabelle party_category
### 5.0
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `category.py`
- args: `'name_parent_uniq'`
- code:
'table_h.drop_constraint('name_parent_uniq')'
### 5.4
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `category.py`
- args: `'name_parent_uniq'`
- code:
'table_h.drop_constraint('name_parent_uniq')'
### 5.8
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `category.py`
- args: `'name_parent_uniq'`
- code:
'table_h.drop_constraint('name_parent_uniq')'
### 6.2
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `category.py`
- args: `'name_parent_uniq'`
- code:
'table_h.drop_constraint('name_parent_uniq')'
### 6.6
- **after_super** `drop_constraint`
- object: `table_h`
- files:
- `category.py`
- args: `'name_parent_uniq'`
- code:
'table_h.drop_constraint('name_parent_uniq')'
## Tabelle party_category_rel
### 7.2
- **before_super** `table_rename`
- object: `backend.TableHandler`
- files:
- `party.py`
- args: `'party_category_rel', cls._table`
- code:
'backend.TableHandler.table_rename('party_category_rel', cls._table)'
### 7.6
- **before_super** `table_rename`
- object: `backend.TableHandler`
- files:
- `party.py`
- args: `'party_category_rel', cls._table`
- code:
'backend.TableHandler.table_rename('party_category_rel', cls._table)'
### 8.0
- **before_super** `table_rename`
- object: `backend.TableHandler`
- files:
- `party.py`
- args: `'party_category_rel', cls._table`
- code:
'backend.TableHandler.table_rename('party_category_rel', cls._table)'
## Tabelle party_configuration
### 7.0
- **after_super** `execute`
- condition: `configuration.identifier_types != identifier_types`
- object: `cursor`
- files:
- `configuration.py`
- args: `*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])`
- code:
'(Transaction().connection.cursor()).execute(*table.update(
[table.identifier_types],
[cls.identifier_types.sql_format(identifier_types)]
))'
- **after_super** `update`
- condition: `configuration.identifier_types != identifier_types`
- object: `table`
- files:
- `configuration.py`
- args: `[table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]`
- code:
'table.update(
[table.identifier_types],
[cls.identifier_types.sql_format(identifier_types)]
)'
### 7.4
- **after_super** `execute`
- condition: `configuration.identifier_types != identifier_types`
- object: `cursor`
- files:
- `configuration.py`
- args: `*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])`
- code:
'(Transaction().connection.cursor()).execute(*table.update(
[table.identifier_types],
[cls.identifier_types.sql_format(identifier_types)]
))'
- **after_super** `update`
- condition: `configuration.identifier_types != identifier_types`
- object: `table`
- files:
- `configuration.py`
- args: `[table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]`
- code:
'table.update(
[table.identifier_types],
[cls.identifier_types.sql_format(identifier_types)]
)'
### 7.8
- **after_super** `execute`
- condition: `configuration.identifier_types != identifier_types`
- object: `cursor`
- files:
- `configuration.py`
- args: `*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])`
- code:
'(Transaction().connection.cursor()).execute(*table.update(
[table.identifier_types],
[cls.identifier_types.sql_format(identifier_types)]
))'
- **after_super** `update`
- condition: `configuration.identifier_types != identifier_types`
- object: `table`
- files:
- `configuration.py`
- args: `[table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]`
- code:
'table.update(
[table.identifier_types],
[cls.identifier_types.sql_format(identifier_types)]
)'
## Tabelle party_identifier
### 6.0
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.type], ['cn_ric'],
where=(table.type == 'cn_rit')))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], ['cn_ric']`
- kwargs:
- where: `table.type == 'cn_rit'`
- code:
'table.update([table.type], ['cn_ric'],
where=(table.type == 'cn_rit'))'
### 6.4
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.type], ['cn_ric'],
where=(table.type == 'cn_rit')))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], ['cn_ric']`
- kwargs:
- where: `table.type == 'cn_rit'`
- code:
'table.update([table.type], ['cn_ric'],
where=(table.type == 'cn_rit'))'
### 6.8
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.type], ['cn_ric'],
where=(table.type == 'cn_rit')))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], ['cn_ric']`
- kwargs:
- where: `table.type == 'cn_rit'`
- code:
'table.update([table.type], ['cn_ric'],
where=(table.type == 'cn_rit'))'
### 7.0
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], [new], where=table.type == old)`
- code:
'(Transaction().connection.cursor()).execute(*table.update(
[table.type], [new],
where=table.type == old))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], [new]`
- kwargs:
- where: `table.type == old`
- code:
'table.update(
[table.type], [new],
where=table.type == old)'
### 7.2
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.type], ['cn_ric'],
where=(table.type == 'cn_rit')))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], ['cn_ric']`
- kwargs:
- where: `table.type == 'cn_rit'`
- code:
'table.update([table.type], ['cn_ric'],
where=(table.type == 'cn_rit'))'
### 7.4
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], [new], where=table.type == old)`
- code:
'(Transaction().connection.cursor()).execute(*table.update(
[table.type], [new],
where=table.type == old))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], [new]`
- kwargs:
- where: `table.type == old`
- code:
'table.update(
[table.type], [new],
where=table.type == old)'
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.type], ['uy_rut'],
where=(table.type == 'uy_ruc')))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], ['uy_rut']`
- kwargs:
- where: `table.type == 'uy_ruc'`
- code:
'table.update([table.type], ['uy_rut'],
where=(table.type == 'uy_ruc'))'
### 7.6
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], ['co_nit'], where=table.type == 'co_rut')`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.type], ['co_nit'],
where=(table.type == 'co_rut')))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], ['co_nit']`
- kwargs:
- where: `table.type == 'co_rut'`
- code:
'table.update([table.type], ['co_nit'],
where=(table.type == 'co_rut'))'
### 7.8
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], [new], where=table.type == old)`
- code:
'(Transaction().connection.cursor()).execute(*table.update(
[table.type], [new],
where=table.type == old))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], [new]`
- kwargs:
- where: `table.type == old`
- code:
'table.update(
[table.type], [new],
where=table.type == old)'
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.type], ['uy_rut'],
where=(table.type == 'uy_ruc')))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], ['uy_rut']`
- kwargs:
- where: `table.type == 'uy_ruc'`
- code:
'table.update([table.type], ['uy_rut'],
where=(table.type == 'uy_ruc'))'
### 8.0
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], ['co_nit'], where=table.type == 'co_rut')`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.type], ['co_nit'],
where=(table.type == 'co_rut')))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], ['co_nit']`
- kwargs:
- where: `table.type == 'co_rut'`
- code:
'table.update([table.type], ['co_nit'],
where=(table.type == 'co_rut'))'
- **after_super** `execute`
- condition: `fill_code_compact`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.code_compact], [table.code])`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.code_compact], [table.code]))'
- **after_super** `update`
- condition: `fill_code_compact`
- object: `table`
- files:
- `party.py`
- args: `[table.code_compact], [table.code]`
- code:
'table.update([table.code_compact], [table.code])'
- **after_super** `execute`
- object: `cursor`
- files:
- `party.py`
- args: `*table.update([table.type], ['si_maticna'], where=table.type == 'si_businessid')`
- code:
'(Transaction().connection.cursor()).execute(*table.update([table.type], ['si_maticna'],
where=(table.type == 'si_businessid')))'
- **after_super** `update`
- object: `table`
- files:
- `party.py`
- args: `[table.type], ['si_maticna']`
- kwargs:
- where: `table.type == 'si_businessid'`
- code:
'table.update([table.type], ['si_maticna'],
where=(table.type == 'si_businessid'))'
## Tabelle party_party
### 5.0
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `party.py`
- args: `'name', 'remove'`
- code:
'table_h.not_null_action('name', 'remove')'
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- files:
- `party.py`
- args: `[table.party, table.lang], party.select(party.id, party.lang)`
- code:
'table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))'
- **after_super** `select`
- condition: `party_h.column_exist('lang')`
- object: `party`
- files:
- `party.py`
- args: `party.id, party.lang`
- code:
'party.select(party.id, party.lang)'
- **after_super** `drop_column`
- condition: `party_h.column_exist('lang')`
- object: `party_h`
- files:
- `party.py`
- args: `'lang'`
- code:
'party_h.drop_column('lang')'
- **after_super** `execute`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `cursor`
- files:
- `party.py`
- args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))`
- code:
'(Transaction().connection.cursor()).execute(*party.select(
party.id, party.vat_number, party.vat_country,
where=(party.vat_number != Null)
| (party.vat_country != Null)))'
- **after_super** `select`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party`
- files:
- `party.py`
- args: `party.id, party.vat_number, party.vat_country`
- kwargs:
- where: `(party.vat_number != Null) | (party.vat_country != Null)`
- code:
'party.select(
party.id, party.vat_number, party.vat_country,
where=(party.vat_number != Null)
| (party.vat_country != Null))'
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- files:
- `party.py`
- args: `'vat_number'`
- code:
'party_h.drop_column('vat_number')'
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- files:
- `party.py`
- args: `'vat_country'`
- code:
'party_h.drop_column('vat_country')'
### 5.4
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `party.py`
- args: `'name', 'remove'`
- code:
'table_h.not_null_action('name', 'remove')'
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- files:
- `party.py`
- args: `[table.party, table.lang], party.select(party.id, party.lang)`
- code:
'table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))'
- **after_super** `select`
- condition: `party_h.column_exist('lang')`
- object: `party`
- files:
- `party.py`
- args: `party.id, party.lang`
- code:
'party.select(party.id, party.lang)'
- **after_super** `drop_column`
- condition: `party_h.column_exist('lang')`
- object: `party_h`
- files:
- `party.py`
- args: `'lang'`
- code:
'party_h.drop_column('lang')'
- **after_super** `execute`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `cursor`
- files:
- `party.py`
- args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))`
- code:
'(Transaction().connection.cursor()).execute(*party.select(
party.id, party.vat_number, party.vat_country,
where=(party.vat_number != Null)
| (party.vat_country != Null)))'
- **after_super** `select`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party`
- files:
- `party.py`
- args: `party.id, party.vat_number, party.vat_country`
- kwargs:
- where: `(party.vat_number != Null) | (party.vat_country != Null)`
- code:
'party.select(
party.id, party.vat_number, party.vat_country,
where=(party.vat_number != Null)
| (party.vat_country != Null))'
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- files:
- `party.py`
- args: `'vat_number'`
- code:
'party_h.drop_column('vat_number')'
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- files:
- `party.py`
- args: `'vat_country'`
- code:
'party_h.drop_column('vat_country')'
### 5.8
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `party.py`
- args: `'name', 'remove'`
- code:
'table_h.not_null_action('name', 'remove')'
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- files:
- `party.py`
- args: `[table.party, table.lang], party.select(party.id, party.lang)`
- code:
'table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))'
- **after_super** `select`
- condition: `party_h.column_exist('lang')`
- object: `party`
- files:
- `party.py`
- args: `party.id, party.lang`
- code:
'party.select(party.id, party.lang)'
- **after_super** `drop_column`
- condition: `party_h.column_exist('lang')`
- object: `party_h`
- files:
- `party.py`
- args: `'lang'`
- code:
'party_h.drop_column('lang')'
- **after_super** `execute`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `cursor`
- files:
- `party.py`
- args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))`
- code:
'(Transaction().connection.cursor()).execute(*party.select(
party.id, party.vat_number, party.vat_country,
where=(party.vat_number != Null)
| (party.vat_country != Null)))'
- **after_super** `select`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party`
- files:
- `party.py`
- args: `party.id, party.vat_number, party.vat_country`
- kwargs:
- where: `(party.vat_number != Null) | (party.vat_country != Null)`
- code:
'party.select(
party.id, party.vat_number, party.vat_country,
where=(party.vat_number != Null)
| (party.vat_country != Null))'
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- files:
- `party.py`
- args: `'vat_number'`
- code:
'party_h.drop_column('vat_number')'
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- files:
- `party.py`
- args: `'vat_country'`
- code:
'party_h.drop_column('vat_country')'
### 6.2
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `party.py`
- args: `'name', 'remove'`
- code:
'table_h.not_null_action('name', 'remove')'
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- files:
- `party.py`
- args: `[table.party, table.lang], party.select(party.id, party.lang)`
- code:
'table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))'
- **after_super** `select`
- condition: `party_h.column_exist('lang')`
- object: `party`
- files:
- `party.py`
- args: `party.id, party.lang`
- code:
'party.select(party.id, party.lang)'
- **after_super** `drop_column`
- condition: `party_h.column_exist('lang')`
- object: `party_h`
- files:
- `party.py`
- args: `'lang'`
- code:
'party_h.drop_column('lang')'
- **after_super** `execute`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `cursor`
- files:
- `party.py`
- args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))`
- code:
'(Transaction().connection.cursor()).execute(*party.select(
party.id, party.vat_number, party.vat_country,
where=(party.vat_number != Null)
| (party.vat_country != Null)))'
- **after_super** `select`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party`
- files:
- `party.py`
- args: `party.id, party.vat_number, party.vat_country`
- kwargs:
- where: `(party.vat_number != Null) | (party.vat_country != Null)`
- code:
'party.select(
party.id, party.vat_number, party.vat_country,
where=(party.vat_number != Null)
| (party.vat_country != Null))'
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- files:
- `party.py`
- args: `'vat_number'`
- code:
'party_h.drop_column('vat_number')'
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- files:
- `party.py`
- args: `'vat_country'`
- code:
'party_h.drop_column('vat_country')'
### 6.6
- **after_super** `not_null_action`
- object: `table_h`
- files:
- `party.py`
- args: `'name', 'remove'`
- code:
'table_h.not_null_action('name', 'remove')'
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- files:
- `party.py`
- args: `[table.party, table.lang], party.select(party.id, party.lang)`
- code:
'table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))'
- **after_super** `select`
- condition: `party_h.column_exist('lang')`
- object: `party`
- files:
- `party.py`
- args: `party.id, party.lang`
- code:
'party.select(party.id, party.lang)'
- **after_super** `drop_column`
- condition: `party_h.column_exist('lang')`
- object: `party_h`
- files:
- `party.py`
- args: `'lang'`
- code:
'party_h.drop_column('lang')'
- **after_super** `execute`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `cursor`
- files:
- `party.py`
- args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))`
- code:
'(Transaction().connection.cursor()).execute(*party.select(
party.id, party.vat_number, party.vat_country,
where=(party.vat_number != Null)
| (party.vat_country != Null)))'
- **after_super** `select`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party`
- files:
- `party.py`
- args: `party.id, party.vat_number, party.vat_country`
- kwargs:
- where: `(party.vat_number != Null) | (party.vat_country != Null)`
- code:
'party.select(
party.id, party.vat_number, party.vat_country,
where=(party.vat_number != Null)
| (party.vat_country != Null))'
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- files:
- `party.py`
- args: `'vat_number'`
- code:
'party_h.drop_column('vat_number')'
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- files:
- `party.py`
- args: `'vat_country'`
- code:
'party_h.drop_column('vat_country')'
## Tabelle party_party-party_category
### 7.2
- **before_super** `table_rename`
- object: `backend.TableHandler`
- files:
- `party.py`
- args: `'party_category_rel', cls._table`
- code:
'backend.TableHandler.table_rename('party_category_rel', cls._table)'
### 7.6
- **before_super** `table_rename`
- object: `backend.TableHandler`
- files:
- `party.py`
- args: `'party_category_rel', cls._table`
- code:
'backend.TableHandler.table_rename('party_category_rel', cls._table)'
### 8.0
- **before_super** `table_rename`
- object: `backend.TableHandler`
- files:
- `party.py`
- args: `'party_category_rel', cls._table`
- code:
'backend.TableHandler.table_rename('party_category_rel', cls._table)'
## Tabelle party_party_lang
### 5.0
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- files:
- `party.py`
- args: `[table.party, table.lang], party.select(party.id, party.lang)`
- code:
'table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))'
### 5.4
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- files:
- `party.py`
- args: `[table.party, table.lang], party.select(party.id, party.lang)`
- code:
'table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))'
### 5.6
- **before_super** `table_exist`
- object: `backend.TableHandler`
- files:
- `party.py`
- args: `cls._table`
- code:
'backend.TableHandler.table_exist(cls._table)'
### 5.8
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- files:
- `party.py`
- args: `[table.party, table.lang], party.select(party.id, party.lang)`
- code:
'table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))'
### 6.0
- **before_super** `table_exist`
- object: `backend.TableHandler`
- files:
- `party.py`
- args: `cls._table`
- code:
'backend.TableHandler.table_exist(cls._table)'
### 6.2
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- files:
- `party.py`
- args: `[table.party, table.lang], party.select(party.id, party.lang)`
- code:
'table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))'
### 6.4
- **before_super** `table_exist`
- object: `backend.TableHandler`
- files:
- `party.py`
- args: `cls._table`
- code:
'backend.TableHandler.table_exist(cls._table)'
### 6.6
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- files:
- `party.py`
- args: `[table.party, table.lang], party.select(party.id, party.lang)`
- code:
'table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))'
### 6.8
- **before_super** `table_exist`
- object: `backend.TableHandler`
- files:
- `party.py`
- args: `cls._table`
- code:
'backend.TableHandler.table_exist(cls._table)'
## 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)))'
- **after_super** `Concat`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `Coalesce(sql_table.street, ''), Concat('\n', Coalesce(sql_table.streetbis, ''))`
- code:
'Concat(
Coalesce(sql_table.street, ''),
Concat('\n', Coalesce(sql_table.streetbis, '')))'
- **after_super** `Coalesce`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `sql_table.street, ''`
- code:
'Coalesce(sql_table.street, '')'
- **after_super** `Concat`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `'\n', Coalesce(sql_table.streetbis, '')`
- code:
'Concat('\n', Coalesce(sql_table.streetbis, ''))'
- **after_super** `Coalesce`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `sql_table.streetbis, ''`
- code:
'Coalesce(sql_table.streetbis, '')'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `configuration.py`
- args: `'party.configuration', field_names, cls, value_names`
- kwargs:
- fields: `fields`
- code:
'migrate_property(
'party.configuration', field_names, cls, value_names,
fields=fields)'
- **after_super** `execute`
- condition: `party_h.column_exist('lang')`
- object: `cursor`
- files:
- `party.py`
- args: `*query`
- code:
'(Transaction().connection.cursor()).execute(*(table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))))'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `party.py`
- args: `'party.party', field_names, cls, value_names`
- kwargs:
- parent: `'party'`
- fields: `fields`
- code:
'migrate_property(
'party.party', field_names, cls, value_names,
parent='party', fields=fields)'
- **after_super** `cls`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- files:
- `party.py`
- kwargs:
- party: `party_id`
- code: `code`
- type: `type`
- code:
'cls(party=party_id, code=code, type=type)'
- **after_super** `save`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `cls`
- files:
- `party.py`
- args: `identifiers`
- code:
'cls.save(identifiers)'
### 5.2
- **after_super** `get_cc_module`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- files:
- `party.py`
- args: `*type.split('_', 1)`
- code:
'get_cc_module(*type.split('_', 1))'
- **after_super** `split`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `type`
- files:
- `party.py`
- args: `'_', 1`
- code:
'type.split('_', 1)'
### 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)))'
- **after_super** `Concat`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `Coalesce(sql_table.street, ''), Concat('\n', Coalesce(sql_table.streetbis, ''))`
- code:
'Concat(
Coalesce(sql_table.street, ''),
Concat('\n', Coalesce(sql_table.streetbis, '')))'
- **after_super** `Coalesce`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `sql_table.street, ''`
- code:
'Coalesce(sql_table.street, '')'
- **after_super** `Concat`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `'\n', Coalesce(sql_table.streetbis, '')`
- code:
'Concat('\n', Coalesce(sql_table.streetbis, ''))'
- **after_super** `Coalesce`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `sql_table.streetbis, ''`
- code:
'Coalesce(sql_table.streetbis, '')'
- **after_super** `execute`
- condition: `table_h.column_exist('country')`
- object: `cursor`
- files:
- `address.py`
- args: `*query`
- code:
'(Transaction().connection.cursor()).execute(*(table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))))'
- **after_super** `Substring`
- condition: `table_h.column_exist('language')`
- files:
- `address.py`
- args: `language.code, 0, 2`
- code:
'Substring(language.code, 0, 2)'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `configuration.py`
- args: `'party.configuration', field_names, cls, value_names`
- kwargs:
- fields: `fields`
- code:
'migrate_property(
'party.configuration', field_names, cls, value_names,
fields=fields)'
- **after_super** `execute`
- condition: `party_h.column_exist('lang')`
- object: `cursor`
- files:
- `party.py`
- args: `*query`
- code:
'(Transaction().connection.cursor()).execute(*(table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))))'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `party.py`
- args: `'party.party', field_names, cls, value_names`
- kwargs:
- parent: `'party'`
- fields: `fields`
- code:
'migrate_property(
'party.party', field_names, cls, value_names,
parent='party', fields=fields)'
- **after_super** `cls`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- files:
- `party.py`
- kwargs:
- party: `party_id`
- code: `code`
- type: `type`
- code:
'cls(party=party_id, code=code, type=type)'
- **after_super** `save`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `cls`
- files:
- `party.py`
- args: `identifiers`
- code:
'cls.save(identifiers)'
### 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)'
- **before_super** `table_exist`
- object: `backend.TableHandler`
- files:
- `configuration.py`
- args: `cls._table`
- code:
'backend.TableHandler.table_exist(cls._table)'
- **after_super** `get_cc_module`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- files:
- `party.py`
- args: `*type.split('_', 1)`
- code:
'get_cc_module(*type.split('_', 1))'
- **after_super** `split`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `type`
- files:
- `party.py`
- args: `'_', 1`
- code:
'type.split('_', 1)'
### 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)))'
- **after_super** `Concat`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `Coalesce(sql_table.street, ''), Concat('\n', Coalesce(sql_table.streetbis, ''))`
- code:
'Concat(
Coalesce(sql_table.street, ''),
Concat('\n', Coalesce(sql_table.streetbis, '')))'
- **after_super** `Coalesce`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `sql_table.street, ''`
- code:
'Coalesce(sql_table.street, '')'
- **after_super** `Concat`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `'\n', Coalesce(sql_table.streetbis, '')`
- code:
'Concat('\n', Coalesce(sql_table.streetbis, ''))'
- **after_super** `Coalesce`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `sql_table.streetbis, ''`
- code:
'Coalesce(sql_table.streetbis, '')'
- **after_super** `execute`
- condition: `table_h.column_exist('country')`
- object: `cursor`
- files:
- `address.py`
- args: `*query`
- code:
'(Transaction().connection.cursor()).execute(*(table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))))'
- **after_super** `Substring`
- condition: `table_h.column_exist('language')`
- files:
- `address.py`
- args: `language.code, 0, 2`
- code:
'Substring(language.code, 0, 2)'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `configuration.py`
- args: `'party.configuration', field_names, cls, value_names`
- kwargs:
- fields: `fields`
- code:
'migrate_property(
'party.configuration', field_names, cls, value_names,
fields=fields)'
- **after_super** `execute`
- condition: `party_h.column_exist('lang')`
- object: `cursor`
- files:
- `party.py`
- args: `*query`
- code:
'(Transaction().connection.cursor()).execute(*(table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))))'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `party.py`
- args: `'party.party', field_names, cls, value_names`
- kwargs:
- parent: `'party'`
- fields: `fields`
- code:
'migrate_property(
'party.party', field_names, cls, value_names,
parent='party', fields=fields)'
- **after_super** `cls`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- files:
- `party.py`
- kwargs:
- party: `party_id`
- code: `code`
- type: `type`
- code:
'cls(party=party_id, code=code, type=type)'
- **after_super** `save`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `cls`
- files:
- `party.py`
- args: `identifiers`
- code:
'cls.save(identifiers)'
### 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)'
- **before_super** `table_exist`
- object: `backend.TableHandler`
- files:
- `configuration.py`
- args: `cls._table`
- code:
'backend.TableHandler.table_exist(cls._table)'
- **after_super** `get_cc_module`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- files:
- `party.py`
- args: `*type.split('_', 1)`
- code:
'get_cc_module(*type.split('_', 1))'
- **after_super** `split`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `type`
- files:
- `party.py`
- args: `'_', 1`
- code:
'type.split('_', 1)'
### 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)))'
- **after_super** `Concat`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `Coalesce(sql_table.street, ''), Concat('\n', Coalesce(sql_table.streetbis, ''))`
- code:
'Concat(
Coalesce(sql_table.street, ''),
Concat('\n', Coalesce(sql_table.streetbis, '')))'
- **after_super** `Coalesce`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `sql_table.street, ''`
- code:
'Coalesce(sql_table.street, '')'
- **after_super** `Concat`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `'\n', Coalesce(sql_table.streetbis, '')`
- code:
'Concat('\n', Coalesce(sql_table.streetbis, ''))'
- **after_super** `Coalesce`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `sql_table.streetbis, ''`
- code:
'Coalesce(sql_table.streetbis, '')'
- **after_super** `execute`
- condition: `table_h.column_exist('country')`
- object: `cursor`
- files:
- `address.py`
- args: `*query`
- code:
'(Transaction().connection.cursor()).execute(*(table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))))'
- **after_super** `Substring`
- condition: `table_h.column_exist('language')`
- files:
- `address.py`
- args: `language.code, 0, 2`
- code:
'Substring(language.code, 0, 2)'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `configuration.py`
- args: `'party.configuration', field_names, cls, value_names`
- kwargs:
- fields: `fields`
- code:
'migrate_property(
'party.configuration', field_names, cls, value_names,
fields=fields)'
- **after_super** `execute`
- condition: `party_h.column_exist('lang')`
- object: `cursor`
- files:
- `party.py`
- args: `*query`
- code:
'(Transaction().connection.cursor()).execute(*(table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))))'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `party.py`
- args: `'party.party', field_names, cls, value_names`
- kwargs:
- parent: `'party'`
- fields: `fields`
- code:
'migrate_property(
'party.party', field_names, cls, value_names,
parent='party', fields=fields)'
- **after_super** `cls`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- files:
- `party.py`
- kwargs:
- party: `party_id`
- code: `code`
- type: `type`
- code:
'cls(party=party_id, code=code, type=type)'
- **after_super** `save`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `cls`
- files:
- `party.py`
- args: `identifiers`
- code:
'cls.save(identifiers)'
### 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)'
- **before_super** `table_exist`
- object: `backend.TableHandler`
- files:
- `configuration.py`
- args: `cls._table`
- code:
'backend.TableHandler.table_exist(cls._table)'
- **after_super** `get_cc_module`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- files:
- `party.py`
- args: `*type.split('_', 1)`
- code:
'get_cc_module(*type.split('_', 1))'
- **after_super** `split`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `type`
- files:
- `party.py`
- args: `'_', 1`
- code:
'type.split('_', 1)'
### 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)))'
- **after_super** `Concat`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `Coalesce(sql_table.street, ''), Concat('\n', Coalesce(sql_table.streetbis, ''))`
- code:
'Concat(
Coalesce(sql_table.street, ''),
Concat('\n', Coalesce(sql_table.streetbis, '')))'
- **after_super** `Coalesce`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `sql_table.street, ''`
- code:
'Coalesce(sql_table.street, '')'
- **after_super** `Concat`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `'\n', Coalesce(sql_table.streetbis, '')`
- code:
'Concat('\n', Coalesce(sql_table.streetbis, ''))'
- **after_super** `Coalesce`
- condition: `table.column_exist('streetbis')`
- files:
- `address.py`
- args: `sql_table.streetbis, ''`
- code:
'Coalesce(sql_table.streetbis, '')'
- **after_super** `execute`
- condition: `table_h.column_exist('country')`
- object: `cursor`
- files:
- `address.py`
- args: `*query`
- code:
'(Transaction().connection.cursor()).execute(*(table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))))'
- **after_super** `Substring`
- condition: `table_h.column_exist('language')`
- files:
- `address.py`
- args: `language.code, 0, 2`
- code:
'Substring(language.code, 0, 2)'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `configuration.py`
- args: `'party.configuration', field_names, cls, value_names`
- kwargs:
- fields: `fields`
- code:
'migrate_property(
'party.configuration', field_names, cls, value_names,
fields=fields)'
- **after_super** `execute`
- condition: `party_h.column_exist('lang')`
- object: `cursor`
- files:
- `party.py`
- args: `*query`
- code:
'(Transaction().connection.cursor()).execute(*(table.insert(
[table.party, table.lang],
party.select(party.id, party.lang))))'
- **after_super** `migrate_property`
- condition: `not exist`
- files:
- `party.py`
- args: `'party.party', field_names, cls, value_names`
- kwargs:
- parent: `'party'`
- fields: `fields`
- code:
'migrate_property(
'party.party', field_names, cls, value_names,
parent='party', fields=fields)'
- **after_super** `cls`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- files:
- `party.py`
- kwargs:
- party: `party_id`
- code: `code`
- type: `type`
- code:
'cls(party=party_id, code=code, type=type)'
- **after_super** `save`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `cls`
- files:
- `party.py`
- args: `identifiers`
- code:
'cls.save(identifiers)'
### 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)'
- **before_super** `table_exist`
- object: `backend.TableHandler`
- files:
- `configuration.py`
- args: `cls._table`
- code:
'backend.TableHandler.table_exist(cls._table)'
- **after_super** `get_cc_module`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- files:
- `party.py`
- args: `*type.split('_', 1)`
- code:
'get_cc_module(*type.split('_', 1))'
- **after_super** `split`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `type`
- files:
- `party.py`
- args: `'_', 1`
- code:
'type.split('_', 1)'
### 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()'
- **after_super** `execute`
- condition: `table_h.column_exist('country')`
- object: `cursor`
- files:
- `address.py`
- args: `*query`
- code:
'(Transaction().connection.cursor()).execute(*(table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))))'
- **after_super** `Substring`
- condition: `table_h.column_exist('language')`
- files:
- `address.py`
- args: `language.code, 0, 2`
- code:
'Substring(language.code, 0, 2)'
- **after_super** `cls`
- files:
- `configuration.py`
- args: `1`
- code:
'cls(1)'
- **after_super** `tuple`
- condition: `configuration.identifier_types`
- files:
- `configuration.py`
- args: `map(replace_vat, configuration.identifier_types)`
- code:
'tuple(map(
replace_vat, configuration.identifier_types))'
- **after_super** `map`
- condition: `configuration.identifier_types`
- files:
- `configuration.py`
- args: `replace_vat, configuration.identifier_types`
- code:
'map(
replace_vat, configuration.identifier_types)'
- **after_super** `sql_format`
- condition: `configuration.identifier_types != identifier_types`
- object: `cls.identifier_types`
- files:
- `configuration.py`
- args: `identifier_types`
- code:
'cls.identifier_types.sql_format(identifier_types)'
- **after_super** `replace_vat`
- files:
- `party.py`
- args: `old`
- code:
'replace_vat(old)'
### 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()'
- **after_super** `execute`
- condition: `table_h.column_exist('country')`
- object: `cursor`
- files:
- `address.py`
- args: `*query`
- code:
'(Transaction().connection.cursor()).execute(*(table.update(
[table.language_code],
language.select(
Substring(language.code, 0, 2),
where=language.id == table.language))))'
- **after_super** `Substring`
- condition: `table_h.column_exist('language')`
- files:
- `address.py`
- args: `language.code, 0, 2`
- code:
'Substring(language.code, 0, 2)'
- **after_super** `cls`
- files:
- `configuration.py`
- args: `1`
- code:
'cls(1)'
- **after_super** `tuple`
- condition: `configuration.identifier_types`
- files:
- `configuration.py`
- args: `map(replace_vat, configuration.identifier_types)`
- code:
'tuple(map(
replace_vat, configuration.identifier_types))'
- **after_super** `map`
- condition: `configuration.identifier_types`
- files:
- `configuration.py`
- args: `replace_vat, configuration.identifier_types`
- code:
'map(
replace_vat, configuration.identifier_types)'
- **after_super** `sql_format`
- condition: `configuration.identifier_types != identifier_types`
- object: `cls.identifier_types`
- files:
- `configuration.py`
- args: `identifier_types`
- code:
'cls.identifier_types.sql_format(identifier_types)'
- **after_super** `replace_vat`
- files:
- `party.py`
- args: `old`
- code:
'replace_vat(old)'
### 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')'
- **after_super** `cls`
- files:
- `configuration.py`
- args: `1`
- code:
'cls(1)'
- **after_super** `tuple`
- condition: `configuration.identifier_types`
- files:
- `configuration.py`
- args: `map(replace_vat, configuration.identifier_types)`
- code:
'tuple(map(
replace_vat, configuration.identifier_types))'
- **after_super** `map`
- condition: `configuration.identifier_types`
- files:
- `configuration.py`
- args: `replace_vat, configuration.identifier_types`
- code:
'map(
replace_vat, configuration.identifier_types)'
- **after_super** `sql_format`
- condition: `configuration.identifier_types != identifier_types`
- object: `cls.identifier_types`
- files:
- `configuration.py`
- args: `identifier_types`
- code:
'cls.identifier_types.sql_format(identifier_types)'
- **after_super** `replace_vat`
- files:
- `party.py`
- args: `old`
- code:
'replace_vat(old)'
### 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())()'
- **before_super** `column_exist`
- object: `table_h`
- files:
- `party.py`
- args: `'code'`
- code:
'table_h.column_exist('code')'
- **before_super** `column_exist`
- object: `table_h`
- files:
- `party.py`
- args: `'code_compact'`
- code:
'table_h.column_exist('code_compact')'