Public Access
177 lines
4.9 KiB
JSON
177 lines
4.9 KiB
JSON
{
|
|
"version": "7.8",
|
|
"module": "party",
|
|
"files": [
|
|
{
|
|
"file": "/home/uha4/tmp/tryton/modules/party/address.py",
|
|
"class": "Address",
|
|
"method": "__register__",
|
|
"line": 160,
|
|
"operations": [
|
|
{
|
|
"object": "table",
|
|
"operation": "column_rename",
|
|
"tables": [
|
|
"party_address"
|
|
],
|
|
"line": 165,
|
|
"args": [
|
|
"'street'",
|
|
"'street_unstructured'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table.column_rename('street', 'street_unstructured')",
|
|
"phase": "before_super"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "column_rename",
|
|
"tables": [
|
|
"party_address"
|
|
],
|
|
"line": 166,
|
|
"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",
|
|
"tables": [
|
|
"party_configuration"
|
|
],
|
|
"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)]))",
|
|
"phase": "after_super",
|
|
"condition": "configuration.identifier_types != identifier_types"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "update",
|
|
"tables": [
|
|
"party_configuration"
|
|
],
|
|
"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)])",
|
|
"phase": "after_super",
|
|
"condition": "configuration.identifier_types != identifier_types"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
|
|
"class": "PartyCategory",
|
|
"method": "__register__",
|
|
"line": 465,
|
|
"operations": [
|
|
{
|
|
"object": "backend.TableHandler",
|
|
"operation": "table_rename",
|
|
"tables": [
|
|
"party_category_rel",
|
|
"party_party-party_category"
|
|
],
|
|
"line": 467,
|
|
"args": [
|
|
"'party_category_rel'",
|
|
"cls._table"
|
|
],
|
|
"kwargs": {},
|
|
"code": "backend.TableHandler.table_rename('party_category_rel', cls._table)",
|
|
"phase": "before_super"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
|
|
"class": "Identifier",
|
|
"method": "__register__",
|
|
"line": 844,
|
|
"operations": [
|
|
{
|
|
"object": "cursor",
|
|
"operation": "execute",
|
|
"tables": [
|
|
"party_identifier"
|
|
],
|
|
"line": 858,
|
|
"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",
|
|
"tables": [
|
|
"party_identifier"
|
|
],
|
|
"line": 858,
|
|
"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",
|
|
"tables": [
|
|
"party_identifier"
|
|
],
|
|
"line": 862,
|
|
"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",
|
|
"tables": [
|
|
"party_identifier"
|
|
],
|
|
"line": 862,
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |