{ "version": "7.4", "module": "party", "files": [ { "module": "party", "file": "address.py", "class": "Address", "method": "__register__", "line": 84, "operations": [ { "object": "table", "operation": "column_rename", "tables": [ "party_address" ], "line": 88, "args": [ "'zip'", "'postal_code'" ], "kwargs": {}, "code": "table.column_rename('zip', 'postal_code')", "phase": "before_super" } ] }, { "module": "party", "file": "address.py", "class": "AddressFormat", "method": "__register__", "line": 303, "operations": [ { "object": "", "operation": "Pool", "tables": [], "line": 304, "args": [], "kwargs": {}, "code": "Pool()", "unresolved": true, "phase": "before_super" }, { "object": "Transaction().connection", "operation": "cursor", "tables": [], "line": 310, "args": [], "kwargs": {}, "code": "Transaction().connection.(Transaction().connection.cursor())()", "unresolved": true, "phase": "before_super" }, { "object": "", "operation": "Transaction", "tables": [], "line": 310, "args": [], "kwargs": {}, "code": "Transaction()", "unresolved": true, "phase": "before_super" }, { "object": "table", "operation": "update", "tables": [ "party_address_format", "country_country" ], "line": 318, "args": [ "[table.country_code]", "country.select(country.code, where=country.id == table.country)" ], "kwargs": {}, "code": "table.update(\n [table.country_code],\n country.select(\n country.code,\n where=country.id == table.country))", "phase": "after_super", "condition": "table_h.column_exist('country')" }, { "object": "country", "operation": "select", "tables": [ "country_country" ], "line": 320, "args": [ "country.code" ], "kwargs": { "where": "country.id == table.country" }, "code": "country.select(\n country.code,\n where=country.id == table.country)", "phase": "after_super", "condition": "table_h.column_exist('country')" }, { "object": "cursor", "operation": "execute", "tables": [], "line": 323, "args": [ "*query" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*(table.update(\n [table.language_code],\n language.select(\n Substring(language.code, 0, 2),\n where=language.id == table.language))))", "phase": "after_super", "condition": "table_h.column_exist('country')" }, { "object": "table_h", "operation": "drop_column", "tables": [ "party_address_format" ], "line": 324, "args": [ "'country'" ], "kwargs": {}, "code": "table_h.drop_column('country')", "phase": "after_super", "condition": "table_h.column_exist('country')" }, { "object": "table", "operation": "update", "tables": [ "party_address_format", "ir_lang" ], "line": 328, "args": [ "[table.language_code]", "language.select(Substring(language.code, 0, 2), where=language.id == table.language)" ], "kwargs": {}, "code": "table.update(\n [table.language_code],\n language.select(\n Substring(language.code, 0, 2),\n where=language.id == table.language))", "phase": "after_super", "condition": "table_h.column_exist('language')" }, { "object": "language", "operation": "select", "tables": [ "ir_lang" ], "line": 330, "args": [ "Substring(language.code, 0, 2)" ], "kwargs": { "where": "language.id == table.language" }, "code": "language.select(\n Substring(language.code, 0, 2),\n where=language.id == table.language)", "phase": "after_super", "condition": "table_h.column_exist('language')" }, { "object": "", "operation": "Substring", "tables": [], "line": 331, "args": [ "language.code", "0", "2" ], "kwargs": {}, "code": "Substring(language.code, 0, 2)", "unresolved": true, "phase": "after_super", "condition": "table_h.column_exist('language')" }, { "object": "cursor", "operation": "execute", "tables": [], "line": 333, "args": [ "*query" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*(table.update(\n [table.language_code],\n language.select(\n Substring(language.code, 0, 2),\n where=language.id == table.language))))", "phase": "after_super", "condition": "table_h.column_exist('language')" }, { "object": "table_h", "operation": "drop_column", "tables": [ "party_address_format" ], "line": 334, "args": [ "'language'" ], "kwargs": {}, "code": "table_h.drop_column('language')", "phase": "after_super", "condition": "table_h.column_exist('language')" } ] }, { "module": "party", "file": "configuration.py", "class": "Configuration", "method": "__register__", "line": 34, "operations": [ { "object": "Transaction().connection", "operation": "cursor", "tables": [], "line": 35, "args": [], "kwargs": {}, "code": "Transaction().connection.(Transaction().connection.cursor())()", "unresolved": true, "phase": "before_super" }, { "object": "", "operation": "Transaction", "tables": [], "line": 35, "args": [], "kwargs": {}, "code": "Transaction()", "unresolved": true, "phase": "before_super" }, { "object": "", "operation": "cls", "tables": [], "line": 39, "args": [ "1" ], "kwargs": {}, "code": "cls(1)", "unresolved": true, "phase": "after_super" }, { "object": "", "operation": "tuple", "tables": [], "line": 41, "args": [ "map(replace_vat, configuration.identifier_types)" ], "kwargs": {}, "code": "tuple(map(\n replace_vat, configuration.identifier_types))", "unresolved": true, "phase": "after_super", "condition": "configuration.identifier_types" }, { "object": "", "operation": "map", "tables": [], "line": 41, "args": [ "replace_vat", "configuration.identifier_types" ], "kwargs": {}, "code": "map(\n replace_vat, configuration.identifier_types)", "unresolved": true, "phase": "after_super", "condition": "configuration.identifier_types" }, { "object": "cursor", "operation": "execute", "tables": [ "party_configuration" ], "line": 45, "args": [ "*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.identifier_types],\n [cls.identifier_types.sql_format(identifier_types)]\n ))", "phase": "after_super", "condition": "configuration.identifier_types != identifier_types" }, { "object": "table", "operation": "update", "tables": [ "party_configuration" ], "line": 45, "args": [ "[table.identifier_types]", "[cls.identifier_types.sql_format(identifier_types)]" ], "kwargs": {}, "code": "table.update(\n [table.identifier_types],\n [cls.identifier_types.sql_format(identifier_types)]\n )", "phase": "after_super", "condition": "configuration.identifier_types != identifier_types" }, { "object": "cls.identifier_types", "operation": "sql_format", "tables": [], "line": 47, "args": [ "identifier_types" ], "kwargs": {}, "code": "cls.identifier_types.sql_format(identifier_types)", "unresolved": true, "phase": "after_super", "condition": "configuration.identifier_types != identifier_types" } ] }, { "module": "party", "file": "party.py", "class": "PartyCategory", "method": "__register__", "line": 452, "operations": [ { "object": "backend.TableHandler", "operation": "table_rename", "tables": [ "party_category_rel", "party_party-party_category" ], "line": 454, "args": [ "'party_category_rel'", "cls._table" ], "kwargs": {}, "code": "backend.TableHandler.table_rename('party_category_rel', cls._table)", "phase": "before_super" } ] }, { "module": "party", "file": "party.py", "class": "Identifier", "method": "__register__", "line": 823, "operations": [ { "object": "Transaction().connection", "operation": "cursor", "tables": [], "line": 824, "args": [], "kwargs": {}, "code": "Transaction().connection.(Transaction().connection.cursor())()", "unresolved": true, "phase": "before_super" }, { "object": "", "operation": "Transaction", "tables": [], "line": 824, "args": [], "kwargs": {}, "code": "Transaction()", "unresolved": true, "phase": "before_super" }, { "object": "cursor", "operation": "execute", "tables": [ "party_identifier" ], "line": 830, "args": [ "*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*table.update([table.type], ['cn_ric'],\n where=(table.type == 'cn_rit')))", "phase": "after_super" }, { "object": "table", "operation": "update", "tables": [ "party_identifier" ], "line": 830, "args": [ "[table.type]", "['cn_ric']" ], "kwargs": { "where": "table.type == 'cn_rit'" }, "code": "table.update([table.type], ['cn_ric'],\n where=(table.type == 'cn_rit'))", "phase": "after_super" }, { "object": "", "operation": "replace_vat", "tables": [], "line": 835, "args": [ "old" ], "kwargs": {}, "code": "replace_vat(old)", "unresolved": true, "phase": "after_super" }, { "object": "cursor", "operation": "execute", "tables": [ "party_identifier" ], "line": 836, "args": [ "*table.update([table.type], [new], where=table.type == old)" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.type], [new],\n where=table.type == old))", "phase": "after_super" }, { "object": "table", "operation": "update", "tables": [ "party_identifier" ], "line": 836, "args": [ "[table.type]", "[new]" ], "kwargs": { "where": "table.type == old" }, "code": "table.update(\n [table.type], [new],\n where=table.type == old)", "phase": "after_super" }, { "object": "cursor", "operation": "execute", "tables": [ "party_identifier" ], "line": 841, "args": [ "*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*table.update([table.type], ['uy_rut'],\n where=(table.type == 'uy_ruc')))", "phase": "after_super" }, { "object": "table", "operation": "update", "tables": [ "party_identifier" ], "line": 841, "args": [ "[table.type]", "['uy_rut']" ], "kwargs": { "where": "table.type == 'uy_ruc'" }, "code": "table.update([table.type], ['uy_rut'],\n where=(table.type == 'uy_ruc'))", "phase": "after_super" } ] } ] }