9.5 KiB
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])
- condition:
- after_super
update- condition:
table.column_exist('streetbis') - object:
sql_table - args:
[sql_table.street], [value]
- condition:
- after_super
drop_column- condition:
table.column_exist('streetbis') - object:
table - args:
'streetbis'
- condition:
6.0
file: /home/uha4/tmp/tryton/modules/party/address.py : 67
- before_super
column_rename- object:
table - args:
'zip', 'postal_code'
- object:
- after_super
execute- condition:
table.column_exist('streetbis') - object:
cursor - args:
*sql_table.update([sql_table.street], [value])
- condition:
- after_super
update- condition:
table.column_exist('streetbis') - object:
sql_table - args:
[sql_table.street], [value]
- condition:
- after_super
drop_column- condition:
table.column_exist('streetbis') - object:
table - args:
'streetbis'
- condition:
7.0
file: /home/uha4/tmp/tryton/modules/party/address.py : 84
- before_super
column_rename- object:
table - args:
'zip', 'postal_code'
- object:
7.6
file: /home/uha4/tmp/tryton/modules/party/address.py : 160
- before_super
column_rename- object:
table - args:
'street', 'street_unstructured'
- object:
- before_super
column_rename- object:
table - args:
'name', 'building_name'
- object:
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)
- condition:
- after_super
select- condition:
table_h.column_exist('country') - object:
country - args:
country.code - kwargs:
- where:
country.id == table.country
- where:
- condition:
- after_super
execute- condition:
table_h.column_exist('country') - object:
cursor - args:
*query
- condition:
- after_super
drop_column- condition:
table_h.column_exist('country') - object:
table_h - args:
'country'
- condition:
- 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)
- condition:
- after_super
select- condition:
table_h.column_exist('language') - object:
language - args:
Substring(language.code, 0, 2) - kwargs:
- where:
language.id == table.language
- where:
- condition:
- after_super
execute- condition:
table_h.column_exist('language') - object:
cursor - args:
*query
- condition:
- after_super
drop_column- condition:
table_h.column_exist('language') - object:
table_h - args:
'language'
- condition:
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'
- object:
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)])
- condition:
- after_super
update- condition:
configuration.identifier_types != identifier_types - object:
table - args:
[table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]
- condition:
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))
- condition:
- 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)
- where:
- condition:
- after_super
drop_column- condition:
party_h.column_exist('vat_number') and party_h.column_exist('vat_country') - object:
party_h - args:
'vat_number'
- condition:
- after_super
drop_column- condition:
party_h.column_exist('vat_number') and party_h.column_exist('vat_country') - object:
party_h - args:
'vat_country'
- condition:
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')
- object:
- after_super
update- object:
table - args:
[table.type], ['cn_ric'] - kwargs:
- where:
table.type == 'cn_rit'
- where:
- object:
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')
- object:
- after_super
update- object:
table - args:
[table.type], ['cn_ric'] - kwargs:
- where:
table.type == 'cn_rit'
- where:
- object:
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')
- object:
- after_super
update- object:
table - args:
[table.type], ['uy_rut'] - kwargs:
- where:
table.type == 'uy_ruc'
- where:
- object:
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')
- object:
- after_super
update- object:
table - args:
[table.type], ['uy_rut'] - kwargs:
- where:
table.type == 'uy_ruc'
- where:
- object:
- after_super
execute- object:
cursor - args:
*table.update([table.type], ['co_nit'], where=table.type == 'co_rut')
- object:
- after_super
update- object:
table - args:
[table.type], ['co_nit'] - kwargs:
- where:
table.type == 'co_rut'
- where:
- object:
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])
- condition:
- after_super
update- condition:
fill_code_compact - object:
table - args:
[table.code_compact], [table.code]
- condition:
- after_super
execute- object:
cursor - args:
*table.update([table.type], ['si_maticna'], where=table.type == 'si_businessid')
- object:
- after_super
update- object:
table - args:
[table.type], ['si_maticna'] - kwargs:
- where:
table.type == 'si_businessid'
- where:
- object:
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'
- object:
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
- object:
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))
- condition:
- 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)
- where:
- condition:
- after_super
drop_column- condition:
party_h.column_exist('vat_number') and party_h.column_exist('vat_country') - object:
party_h - args:
'vat_number'
- condition:
- after_super
drop_column- condition:
party_h.column_exist('vat_number') and party_h.column_exist('vat_country') - object:
party_h - args:
'vat_country'
- condition:
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)
- condition:
- after_super
select- condition:
party_h.column_exist('lang') - object:
party - args:
party.id, party.lang
- condition:
- after_super
execute- condition:
party_h.column_exist('lang') - object:
cursor - args:
*query
- condition:
- after_super
drop_column- condition:
party_h.column_exist('lang') - object:
party_h - args:
'lang'
- condition:
5.6
file: /home/uha4/tmp/tryton/modules/party/party.py : 268
- before_super
table_exist- object:
backend.TableHandler - args:
cls._table
- object:
- after_super
insert- condition:
party_h.column_exist('lang') - object:
table - args:
[table.party, table.lang], party.select(party.id, party.lang)
- condition:
- after_super
select- condition:
party_h.column_exist('lang') - object:
party - args:
party.id, party.lang
- condition:
- after_super
execute- condition:
party_h.column_exist('lang') - object:
cursor - args:
*query
- condition:
- after_super
drop_column- condition:
party_h.column_exist('lang') - object:
party_h - args:
'lang'
- condition:
Klasse _ConfigurationValue
5.6
file: /home/uha4/tmp/tryton/modules/party/configuration.py : 40
- before_super
table_exist- object:
backend.TableHandler - args:
cls._table
- object: