Files
tryton-db-migration/data/8.0.8/party.json
T

179 lines
5.3 KiB
JSON
Raw Normal View History

2026-08-07 21:06:43 +02:00
{
"version": "8.0.8",
"module": "party",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/party/address.py",
"class": "Address",
"method": "__register__",
"line": 161,
"operations": [
{
"object": "table",
"operation": "column_rename",
"line": 166,
"args": [
"'street'",
"'street_unstructured'"
],
"kwargs": {},
"code": "table.column_rename('street', 'street_unstructured')",
"phase": "before_super"
},
{
"object": "table",
"operation": "column_rename",
"line": 167,
"args": [
"'name'",
"'building_name'"
],
"kwargs": {},
"code": "table.column_rename('name', 'building_name')",
"phase": "before_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/configuration.py",
"class": "Configuration",
"method": "__register__",
"line": 33,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 44,
"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)]))",
2026-08-07 21:48:46 +02:00
"phase": "after_super",
"condition": "configuration.identifier_types != identifier_types"
2026-08-07 21:06:43 +02:00
},
{
"object": "table",
"operation": "update",
"line": 44,
"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)])",
2026-08-07 21:48:46 +02:00
"phase": "after_super",
"condition": "configuration.identifier_types != identifier_types"
2026-08-07 21:06:43 +02:00
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
"class": "Identifier",
"method": "__register__",
"line": 859,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 878,
"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": 878,
"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"
},
{
"object": "cursor",
"operation": "execute",
"line": 882,
"args": [
"*table.update([table.type], ['co_nit'], where=table.type == 'co_rut')"
],
"kwargs": {},
"code": "cursor.execute(*table.update([table.type], ['co_nit'], where=table.type == 'co_rut'))",
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"line": 882,
"args": [
"[table.type]",
"['co_nit']"
],
"kwargs": {
"where": "table.type == 'co_rut'"
},
"code": "table.update([table.type], ['co_nit'], where=table.type == 'co_rut')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
"line": 887,
"args": [
"*table.update([table.code_compact], [table.code])"
],
"kwargs": {},
"code": "cursor.execute(*table.update([table.code_compact], [table.code]))",
2026-08-07 21:48:46 +02:00
"phase": "after_super",
"condition": "fill_code_compact"
2026-08-07 21:06:43 +02:00
},
{
"object": "table",
"operation": "update",
"line": 887,
"args": [
"[table.code_compact]",
"[table.code]"
],
"kwargs": {},
"code": "table.update([table.code_compact], [table.code])",
2026-08-07 21:48:46 +02:00
"phase": "after_super",
"condition": "fill_code_compact"
2026-08-07 21:06:43 +02:00
},
{
"object": "cursor",
"operation": "execute",
"line": 890,
"args": [
"*table.update([table.type], ['si_maticna'], where=table.type == 'si_businessid')"
],
"kwargs": {},
"code": "cursor.execute(*table.update([table.type], ['si_maticna'], where=table.type == 'si_businessid'))",
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"line": 890,
"args": [
"[table.type]",
"['si_maticna']"
],
"kwargs": {
"where": "table.type == 'si_businessid'"
},
"code": "table.update([table.type], ['si_maticna'], where=table.type == 'si_businessid')",
"phase": "after_super"
}
]
}
]
}