2026-08-07 22:27:49 +02:00
|
|
|
{
|
2026-08-08 01:29:43 +02:00
|
|
|
"version": "5.4",
|
2026-08-07 22:27:49 +02:00
|
|
|
"module": "party",
|
|
|
|
|
"files": [
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/party/address.py",
|
|
|
|
|
"class": "Address",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 73,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
|
|
|
|
"line": 86,
|
|
|
|
|
"args": [
|
|
|
|
|
"*sql_table.update([sql_table.street], [value])"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "cursor.execute(*sql_table.update([sql_table.street], [value]))",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table.column_exist('streetbis')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "sql_table",
|
|
|
|
|
"operation": "update",
|
|
|
|
|
"line": 86,
|
|
|
|
|
"args": [
|
|
|
|
|
"[sql_table.street]",
|
|
|
|
|
"[value]"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "sql_table.update([sql_table.street], [value])",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table.column_exist('streetbis')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "drop_column",
|
|
|
|
|
"line": 89,
|
|
|
|
|
"args": [
|
|
|
|
|
"'streetbis'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table.drop_column('streetbis')",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table.column_exist('streetbis')"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/party/address.py",
|
|
|
|
|
"class": "AddressFormat",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 271,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "update",
|
|
|
|
|
"line": 286,
|
|
|
|
|
"args": [
|
|
|
|
|
"[table.country_code]",
|
|
|
|
|
"country.select(country.code, where=country.id == table.country)"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table.update([table.country_code], country.select(country.code, where=country.id == table.country))",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('country')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "country",
|
|
|
|
|
"operation": "select",
|
|
|
|
|
"line": 288,
|
|
|
|
|
"args": [
|
|
|
|
|
"country.code"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"where": "country.id == table.country"
|
|
|
|
|
},
|
|
|
|
|
"code": "country.select(country.code, where=country.id == table.country)",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('country')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
|
|
|
|
"line": 291,
|
|
|
|
|
"args": [
|
|
|
|
|
"*query"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "cursor.execute(*query)",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('country')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table_h",
|
|
|
|
|
"operation": "drop_column",
|
|
|
|
|
"line": 292,
|
|
|
|
|
"args": [
|
|
|
|
|
"'country'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table_h.drop_column('country')",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('country')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "update",
|
|
|
|
|
"line": 296,
|
|
|
|
|
"args": [
|
|
|
|
|
"[table.language_code]",
|
|
|
|
|
"language.select(Substring(language.code, 0, 2), where=language.id == table.language)"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table.update([table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language))",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('language')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "language",
|
|
|
|
|
"operation": "select",
|
|
|
|
|
"line": 298,
|
|
|
|
|
"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)",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('language')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
|
|
|
|
"line": 301,
|
|
|
|
|
"args": [
|
|
|
|
|
"*query"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "cursor.execute(*query)",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('language')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table_h",
|
|
|
|
|
"operation": "drop_column",
|
|
|
|
|
"line": 302,
|
|
|
|
|
"args": [
|
|
|
|
|
"'language'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table_h.drop_column('language')",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('language')"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/party/category.py",
|
|
|
|
|
"class": "Category",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 43,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "table_h",
|
|
|
|
|
"operation": "drop_constraint",
|
|
|
|
|
"line": 49,
|
|
|
|
|
"args": [
|
|
|
|
|
"'name_parent_uniq'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table_h.drop_constraint('name_parent_uniq')",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
|
|
|
|
|
"class": "Party",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 91,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "table_h",
|
|
|
|
|
"operation": "not_null_action",
|
|
|
|
|
"line": 97,
|
|
|
|
|
"args": [
|
|
|
|
|
"'name'",
|
|
|
|
|
"'remove'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table_h.not_null_action('name', 'remove')",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
|
|
|
|
|
"class": "PartyLang",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 278,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "insert",
|
|
|
|
|
"line": 292,
|
|
|
|
|
"args": [
|
|
|
|
|
"[table.party, table.lang]",
|
|
|
|
|
"party.select(party.id, party.lang)"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table.insert([table.party, table.lang], party.select(party.id, party.lang))",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "party_h.column_exist('lang')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "party",
|
|
|
|
|
"operation": "select",
|
|
|
|
|
"line": 294,
|
|
|
|
|
"args": [
|
|
|
|
|
"party.id",
|
|
|
|
|
"party.lang"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "party.select(party.id, party.lang)",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "party_h.column_exist('lang')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
|
|
|
|
"line": 295,
|
|
|
|
|
"args": [
|
|
|
|
|
"*query"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "cursor.execute(*query)",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "party_h.column_exist('lang')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "party_h",
|
|
|
|
|
"operation": "drop_column",
|
|
|
|
|
"line": 296,
|
|
|
|
|
"args": [
|
|
|
|
|
"'lang'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "party_h.drop_column('lang')",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "party_h.column_exist('lang')"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
|
|
|
|
|
"class": "PartyIdentifier",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 439,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
|
|
|
|
"line": 451,
|
|
|
|
|
"args": [
|
|
|
|
|
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "cursor.execute(*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null)))",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "party",
|
|
|
|
|
"operation": "select",
|
|
|
|
|
"line": 451,
|
|
|
|
|
"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))",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "party_h",
|
|
|
|
|
"operation": "drop_column",
|
|
|
|
|
"line": 468,
|
|
|
|
|
"args": [
|
|
|
|
|
"'vat_number'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "party_h.drop_column('vat_number')",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "party_h",
|
|
|
|
|
"operation": "drop_column",
|
|
|
|
|
"line": 469,
|
|
|
|
|
"args": [
|
|
|
|
|
"'vat_country'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "party_h.drop_column('vat_country')",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|