Files
uha4 24caf23986 extract gets and saves most tables worked on
some cases still need some work...
2026-08-08 22:32:31 +02:00

337 lines
9.5 KiB
Markdown

# party
## Klasse Address
### 5.0
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'`
### 6.0
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'`
### 7.0
file: /home/uha4/tmp/tryton/modules/party/address.py : 84
- **before_super** `column_rename`
- object: `table`
- args: `'zip', 'postal_code'`
### 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'`
## 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'`
## 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'`
## 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)]`
## 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`
- 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'`
### 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'`
### 7.0
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'`
### 7.4
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'`
### 7.6
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'`
### 8.0
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'`
## Klasse Party
### 5.0
file: /home/uha4/tmp/tryton/modules/party/party.py : 89
- **after_super** `not_null_action`
- object: `table_h`
- args: `'name', 'remove'`
## Klasse PartyCategory
### 7.2
file: /home/uha4/tmp/tryton/modules/party/party.py : 448
- **before_super** `table_rename`
- object: `backend.TableHandler`
- args: `'party_category_rel', cls._table`
## Klasse PartyIdentifier
### 5.0
file: /home/uha4/tmp/tryton/modules/party/party.py : 329
- **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`
- 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'`
## Klasse PartyLang
### 5.0
file: /home/uha4/tmp/tryton/modules/party/party.py : 265
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- 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`
- **after_super** `execute`
- condition: `party_h.column_exist('lang')`
- object: `cursor`
- args: `*query`
- **after_super** `drop_column`
- condition: `party_h.column_exist('lang')`
- object: `party_h`
- args: `'lang'`
### 5.6
file: /home/uha4/tmp/tryton/modules/party/party.py : 268
- **before_super** `table_exist`
- object: `backend.TableHandler`
- args: `cls._table`
- **after_super** `insert`
- condition: `party_h.column_exist('lang')`
- object: `table`
- 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`
- **after_super** `execute`
- condition: `party_h.column_exist('lang')`
- object: `cursor`
- args: `*query`
- **after_super** `drop_column`
- condition: `party_h.column_exist('lang')`
- object: `party_h`
- args: `'lang'`
## Klasse _ConfigurationValue
### 5.6
file: /home/uha4/tmp/tryton/modules/party/configuration.py : 40
- **before_super** `table_exist`
- object: `backend.TableHandler`
- args: `cls._table`