Public Access
- systemmodule ir und res aufgenommen - Version auf Major.Minor reduziert - reihenfolge der Module fixiert
227 lines
6.8 KiB
JSON
227 lines
6.8 KiB
JSON
{
|
|
"version": "7.4",
|
|
"module": "party",
|
|
"files": [
|
|
{
|
|
"file": "/home/uha4/tmp/tryton/modules/party/address.py",
|
|
"class": "Address",
|
|
"method": "__register__",
|
|
"line": 84,
|
|
"operations": [
|
|
{
|
|
"object": "table",
|
|
"operation": "column_rename",
|
|
"line": 88,
|
|
"args": [
|
|
"'zip'",
|
|
"'postal_code'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table.column_rename('zip', 'postal_code')",
|
|
"phase": "before_super"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"file": "/home/uha4/tmp/tryton/modules/party/address.py",
|
|
"class": "AddressFormat",
|
|
"method": "__register__",
|
|
"line": 303,
|
|
"operations": [
|
|
{
|
|
"object": "table",
|
|
"operation": "update",
|
|
"line": 318,
|
|
"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": 320,
|
|
"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": 323,
|
|
"args": [
|
|
"*query"
|
|
],
|
|
"kwargs": {},
|
|
"code": "cursor.execute(*query)",
|
|
"phase": "after_super",
|
|
"condition": "table_h.column_exist('country')"
|
|
},
|
|
{
|
|
"object": "table_h",
|
|
"operation": "drop_column",
|
|
"line": 324,
|
|
"args": [
|
|
"'country'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table_h.drop_column('country')",
|
|
"phase": "after_super",
|
|
"condition": "table_h.column_exist('country')"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "update",
|
|
"line": 328,
|
|
"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": 330,
|
|
"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": 333,
|
|
"args": [
|
|
"*query"
|
|
],
|
|
"kwargs": {},
|
|
"code": "cursor.execute(*query)",
|
|
"phase": "after_super",
|
|
"condition": "table_h.column_exist('language')"
|
|
},
|
|
{
|
|
"object": "table_h",
|
|
"operation": "drop_column",
|
|
"line": 334,
|
|
"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/configuration.py",
|
|
"class": "Configuration",
|
|
"method": "__register__",
|
|
"line": 34,
|
|
"operations": [
|
|
{
|
|
"object": "cursor",
|
|
"operation": "execute",
|
|
"line": 45,
|
|
"args": [
|
|
"*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])"
|
|
],
|
|
"kwargs": {},
|
|
"code": "cursor.execute(*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]))",
|
|
"phase": "after_super",
|
|
"condition": "configuration.identifier_types != identifier_types"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "update",
|
|
"line": 45,
|
|
"args": [
|
|
"[table.identifier_types]",
|
|
"[cls.identifier_types.sql_format(identifier_types)]"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])",
|
|
"phase": "after_super",
|
|
"condition": "configuration.identifier_types != identifier_types"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
|
|
"class": "Identifier",
|
|
"method": "__register__",
|
|
"line": 823,
|
|
"operations": [
|
|
{
|
|
"object": "cursor",
|
|
"operation": "execute",
|
|
"line": 830,
|
|
"args": [
|
|
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
|
|
],
|
|
"kwargs": {},
|
|
"code": "cursor.execute(*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit'))",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "update",
|
|
"line": 830,
|
|
"args": [
|
|
"[table.type]",
|
|
"['cn_ric']"
|
|
],
|
|
"kwargs": {
|
|
"where": "table.type == 'cn_rit'"
|
|
},
|
|
"code": "table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "cursor",
|
|
"operation": "execute",
|
|
"line": 841,
|
|
"args": [
|
|
"*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')"
|
|
],
|
|
"kwargs": {},
|
|
"code": "cursor.execute(*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc'))",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "update",
|
|
"line": 841,
|
|
"args": [
|
|
"[table.type]",
|
|
"['uy_rut']"
|
|
],
|
|
"kwargs": {
|
|
"where": "table.type == 'uy_ruc'"
|
|
},
|
|
"code": "table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')",
|
|
"phase": "after_super"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |