{ "version": "5.6", "module": "country", "files": [ { "file": "/home/uha4/tmp/tryton/modules/country/country.py", "class": "Country", "method": "__register__", "line": 30, "operations": [ { "object": "table", "operation": "drop_constraint", "tables": [ "country_country" ], "line": 41, "args": [ "'name_uniq'" ], "kwargs": {}, "code": "table.drop_constraint('name_uniq')", "phase": "after_super" }, { "object": "table", "operation": "drop_constraint", "tables": [ "country_country" ], "line": 42, "args": [ "'code_uniq'" ], "kwargs": {}, "code": "table.drop_constraint('code_uniq')", "phase": "after_super" }, { "object": "table", "operation": "not_null_action", "tables": [ "country_country" ], "line": 45, "args": [ "'code'", "'remove'" ], "kwargs": {}, "code": "table.not_null_action('code', 'remove')", "phase": "after_super" }, { "object": "cursor", "operation": "execute", "tables": [ "ir_model_data" ], "line": 48, "args": [ "*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'country')\n & (data.model == cls.__name__)))", "phase": "after_super" }, { "object": "data", "operation": "delete", "tables": [ "ir_model_data" ], "line": 48, "args": [], "kwargs": { "where": "(data.module == 'country') & (data.model == cls.__name__)" }, "code": "data.delete(where=(data.module == 'country')\n & (data.model == cls.__name__))", "phase": "after_super" } ] }, { "file": "/home/uha4/tmp/tryton/modules/country/country.py", "class": "Subdivision", "method": "__register__", "line": 214, "operations": [ { "object": "cursor", "operation": "execute", "tables": [ "ir_model_data" ], "line": 223, "args": [ "*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))" ], "kwargs": {}, "code": "(Transaction().connection.cursor()).execute(*data.delete(where=(data.module == 'country')\n & (data.model == cls.__name__)))", "phase": "after_super" }, { "object": "data", "operation": "delete", "tables": [ "ir_model_data" ], "line": 223, "args": [], "kwargs": { "where": "(data.module == 'country') & (data.model == cls.__name__)" }, "code": "data.delete(where=(data.module == 'country')\n & (data.model == cls.__name__))", "phase": "after_super" } ] } ] }