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

482 lines
9.0 KiB
Markdown
Raw Normal View History

# party
2026-08-08 00:58:56 +02:00
## Klasse Address
2026-08-08 00:58:56 +02:00
### 5.0
2026-08-08 00:58:56 +02:00
file: /home/uha4/tmp/tryton/modules/party/address.py : 61
- **after_super** `execute`
- condition: `table.column_exist('streetbis')`
- object: `cursor`
- args: `*sql_table.update([sql_table.street], [value])`
- **after_super** `update`
- condition: `table.column_exist('streetbis')`
- object: `sql_table`
- args: `[sql_table.street], [value]`
- **after_super** `drop_column`
- condition: `table.column_exist('streetbis')`
- object: `table`
- args: `'streetbis'`
2026-08-08 00:58:56 +02:00
### 5.2
2026-08-08 00:58:56 +02:00
### 5.4
2026-08-08 00:58:56 +02:00
### 5.6
2026-08-08 00:58:56 +02:00
### 5.8
2026-08-08 00:58:56 +02:00
### 6.0
2026-08-08 00:58:56 +02:00
file: /home/uha4/tmp/tryton/modules/party/address.py : 67
- **before_super** `column_rename`
- object: `table`
- args: `'zip', 'postal_code'`
- **after_super** `execute`
- condition: `table.column_exist('streetbis')`
- object: `cursor`
- args: `*sql_table.update([sql_table.street], [value])`
- **after_super** `update`
- condition: `table.column_exist('streetbis')`
- object: `sql_table`
- args: `[sql_table.street], [value]`
- **after_super** `drop_column`
- condition: `table.column_exist('streetbis')`
- object: `table`
- args: `'streetbis'`
2026-08-08 00:58:56 +02:00
### 6.2
2026-08-08 00:58:56 +02:00
### 6.4
### 6.6
### 6.8
### 7.0
file: /home/uha4/tmp/tryton/modules/party/address.py : 84
- **before_super** `column_rename`
- object: `table`
- args: `'zip', 'postal_code'`
### 7.2
### 7.4
### 7.6
file: /home/uha4/tmp/tryton/modules/party/address.py : 160
- **before_super** `column_rename`
- object: `table`
- args: `'street', 'street_unstructured'`
- **before_super** `column_rename`
- object: `table`
- args: `'name', 'building_name'`
### 7.8
### 8.0
## Klasse AddressFormat
### 5.4
file: /home/uha4/tmp/tryton/modules/party/address.py : 271
- **after_super** `update`
- condition: `table_h.column_exist('country')`
- object: `table`
- args: `[table.country_code], country.select(country.code, where=country.id == table.country)`
- **after_super** `select`
- condition: `table_h.column_exist('country')`
- object: `country`
- args: `country.code`
- kwargs:
- where: `country.id == table.country`
- **after_super** `execute`
- condition: `table_h.column_exist('country')`
- object: `cursor`
- args: `*query`
- **after_super** `drop_column`
- condition: `table_h.column_exist('country')`
- object: `table_h`
- args: `'country'`
- **after_super** `update`
- condition: `table_h.column_exist('language')`
- object: `table`
- args: `[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`
- args: `Substring(language.code, 0, 2)`
- kwargs:
- where: `language.id == table.language`
- **after_super** `execute`
- condition: `table_h.column_exist('language')`
- object: `cursor`
- args: `*query`
- **after_super** `drop_column`
- condition: `table_h.column_exist('language')`
- object: `table_h`
- args: `'language'`
2026-08-08 00:58:56 +02:00
### 5.6
2026-08-08 00:58:56 +02:00
### 5.8
### 6.0
### 6.2
### 6.4
### 6.6
### 6.8
### 7.0
### 7.2
### 7.4
2026-08-08 01:29:43 +02:00
## Klasse Category
### 5.0
file: /home/uha4/tmp/tryton/modules/party/category.py : 43
- **after_super** `drop_constraint`
- object: `table_h`
- args: `'name_parent_uniq'`
### 5.2
### 5.4
### 5.6
### 5.8
### 6.0
### 6.2
### 6.4
### 6.6
### 6.8
## Klasse Configuration
### 7.0
file: /home/uha4/tmp/tryton/modules/party/configuration.py : 34
- **after_super** `execute`
- condition: `configuration.identifier_types != identifier_types`
- object: `cursor`
- args: `*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])`
- **after_super** `update`
- condition: `configuration.identifier_types != identifier_types`
- object: `table`
- args: `[table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]`
### 7.2
### 7.4
### 7.6
### 7.8
### 8.0
2026-08-08 00:58:56 +02:00
## Klasse Identifier
### 5.6
file: /home/uha4/tmp/tryton/modules/party/party.py : 428
- **after_super** `execute`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `cursor`
- args: `*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`
- args: `party.id, party.vat_number, party.vat_country`
- kwargs:
- 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`
2026-08-08 00:58:56 +02:00
- args: `'vat_number'`
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- args: `'vat_country'`
2026-08-08 00:58:56 +02:00
### 5.8
2026-08-08 00:58:56 +02:00
### 6.0
file: /home/uha4/tmp/tryton/modules/party/party.py : 515
- **after_super** `execute`
- object: `cursor`
- args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')`
- **after_super** `update`
- object: `table`
- args: `[table.type], ['cn_ric']`
- kwargs:
- where: `table.type == 'cn_rit'`
2026-08-08 00:58:56 +02:00
### 6.2
2026-08-08 00:58:56 +02:00
### 6.4
2026-08-08 00:58:56 +02:00
### 6.6
2026-08-08 00:58:56 +02:00
### 6.8
2026-08-08 00:58:56 +02:00
### 7.0
2026-08-08 00:58:56 +02:00
file: /home/uha4/tmp/tryton/modules/party/party.py : 780
- **after_super** `execute`
- object: `cursor`
- args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')`
- **after_super** `update`
- object: `table`
- args: `[table.type], ['cn_ric']`
- kwargs:
- where: `table.type == 'cn_rit'`
2026-08-08 00:58:56 +02:00
### 7.2
2026-08-08 00:58:56 +02:00
### 7.4
2026-08-08 00:58:56 +02:00
file: /home/uha4/tmp/tryton/modules/party/party.py : 823
- **after_super** `execute`
- object: `cursor`
- args: `*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')`
- **after_super** `update`
- object: `table`
- args: `[table.type], ['uy_rut']`
- kwargs:
- where: `table.type == 'uy_ruc'`
2026-08-08 00:58:56 +02:00
### 7.6
2026-08-08 00:58:56 +02:00
file: /home/uha4/tmp/tryton/modules/party/party.py : 825
- **after_super** `execute`
- object: `cursor`
- args: `*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')`
- **after_super** `update`
- object: `table`
- args: `[table.type], ['uy_rut']`
- kwargs:
- where: `table.type == 'uy_ruc'`
- **after_super** `execute`
- object: `cursor`
- args: `*table.update([table.type], ['co_nit'], where=table.type == 'co_rut')`
- **after_super** `update`
- object: `table`
- args: `[table.type], ['co_nit']`
- kwargs:
- where: `table.type == 'co_rut'`
2026-08-08 00:58:56 +02:00
### 7.8
2026-08-08 00:58:56 +02:00
### 8.0
2026-08-08 00:58:56 +02:00
file: /home/uha4/tmp/tryton/modules/party/party.py : 859
- **after_super** `execute`
- condition: `fill_code_compact`
- object: `cursor`
- args: `*table.update([table.code_compact], [table.code])`
- **after_super** `update`
- condition: `fill_code_compact`
- object: `table`
- args: `[table.code_compact], [table.code]`
- **after_super** `execute`
- object: `cursor`
- args: `*table.update([table.type], ['si_maticna'], where=table.type == 'si_businessid')`
- **after_super** `update`
- object: `table`
- args: `[table.type], ['si_maticna']`
- kwargs:
- where: `table.type == 'si_businessid'`
2026-08-08 01:29:43 +02:00
## Klasse Party
2026-08-08 00:58:56 +02:00
2026-08-08 01:29:43 +02:00
### 5.0
2026-08-08 00:58:56 +02:00
2026-08-08 01:29:43 +02:00
file: /home/uha4/tmp/tryton/modules/party/party.py : 89
- **after_super** `not_null_action`
- object: `table_h`
- args: `'name', 'remove'`
### 5.2
### 5.4
### 5.6
### 5.8
### 6.0
### 6.2
### 6.4
### 6.6
### 6.8
## Klasse PartyIdentifier
### 5.0
file: /home/uha4/tmp/tryton/modules/party/party.py : 329
2026-08-08 00:58:56 +02:00
- **after_super** `execute`
2026-08-08 01:29:43 +02:00
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
2026-08-08 00:58:56 +02:00
- object: `cursor`
2026-08-08 01:29:43 +02:00
- args: `*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`
- args: `party.id, party.vat_number, party.vat_country`
- kwargs:
- 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`
- args: `'vat_number'`
- **after_super** `drop_column`
- condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')`
- object: `party_h`
- args: `'vat_country'`
2026-08-08 00:58:56 +02:00
2026-08-08 01:29:43 +02:00
### 5.2
2026-08-08 00:58:56 +02:00
2026-08-08 01:29:43 +02:00
### 5.4
2026-08-08 00:58:56 +02:00
2026-08-08 01:29:43 +02:00
## Klasse PartyLang
### 5.0
file: /home/uha4/tmp/tryton/modules/party/party.py : 265
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
2026-08-08 00:58:56 +02:00
- object: `table`
2026-08-08 01:29:43 +02:00
- args: `[table.party, table.lang], party.select(party.id, party.lang)`
- **after_super** `select`
- condition: `party_h.column_exist('lang')`
- object: `party`
- args: `party.id, party.lang`
2026-08-08 00:58:56 +02:00
- **after_super** `execute`
2026-08-08 01:29:43 +02:00
- condition: `party_h.column_exist('lang')`
2026-08-08 00:58:56 +02:00
- object: `cursor`
2026-08-08 01:29:43 +02:00
- args: `*query`
- **after_super** `drop_column`
- condition: `party_h.column_exist('lang')`
- object: `party_h`
- args: `'lang'`
### 5.2
### 5.4
### 5.6
### 5.8
### 6.0
### 6.2
### 6.4
### 6.6
### 6.8
2026-08-08 00:58:56 +02:00