2026-08-07 22:27:49 +02:00
|
|
|
{
|
2026-08-08 01:29:43 +02:00
|
|
|
"version": "6.4",
|
2026-08-07 22:27:49 +02:00
|
|
|
"module": "country",
|
|
|
|
|
"files": [
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
|
|
|
|
|
"class": "Country",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 31,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "drop_constraint",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"country_country"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 42,
|
|
|
|
|
"args": [
|
|
|
|
|
"'name_uniq'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table.drop_constraint('name_uniq')",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "drop_constraint",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"country_country"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 43,
|
|
|
|
|
"args": [
|
|
|
|
|
"'code_uniq'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table.drop_constraint('code_uniq')",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "not_null_action",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"country_country"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 46,
|
|
|
|
|
"args": [
|
|
|
|
|
"'code'",
|
|
|
|
|
"'remove'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table.not_null_action('code', 'remove')",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"ir_model_data"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 49,
|
|
|
|
|
"args": [
|
|
|
|
|
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "cursor.execute(*data.delete(where=(data.module == 'country') & (data.model == cls.__name__)))",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "data",
|
|
|
|
|
"operation": "delete",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"ir_model_data"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 49,
|
|
|
|
|
"args": [],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"where": "(data.module == 'country') & (data.model == cls.__name__)"
|
|
|
|
|
},
|
|
|
|
|
"code": "data.delete(where=(data.module == 'country') & (data.model == cls.__name__))",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
|
|
|
|
|
"class": "Subdivision",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 256,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"ir_model_data"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 267,
|
|
|
|
|
"args": [
|
|
|
|
|
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "cursor.execute(*data.delete(where=(data.module == 'country') & (data.model == cls.__name__)))",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "data",
|
|
|
|
|
"operation": "delete",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"ir_model_data"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 267,
|
|
|
|
|
"args": [],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"where": "(data.module == 'country') & (data.model == cls.__name__)"
|
|
|
|
|
},
|
|
|
|
|
"code": "data.delete(where=(data.module == 'country') & (data.model == cls.__name__))",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table_h",
|
|
|
|
|
"operation": "not_null_action",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"country_subdivision"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 271,
|
|
|
|
|
"args": [
|
|
|
|
|
"'type'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"action": "'remove'"
|
|
|
|
|
},
|
|
|
|
|
"code": "table_h.not_null_action('type', action='remove')",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
|
|
|
|
|
"class": "PostalCode",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 328,
|
|
|
|
|
"operations": [
|
2026-08-08 22:32:31 +02:00
|
|
|
{
|
|
|
|
|
"object": "backend.TableHandler",
|
|
|
|
|
"operation": "table_rename",
|
|
|
|
|
"tables": [
|
|
|
|
|
"country_zip",
|
|
|
|
|
"country_postal_code"
|
|
|
|
|
],
|
|
|
|
|
"line": 330,
|
|
|
|
|
"args": [
|
|
|
|
|
"'country_zip'",
|
|
|
|
|
"cls._table"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "backend.TableHandler.table_rename('country_zip', cls._table)",
|
|
|
|
|
"phase": "before_super"
|
|
|
|
|
},
|
2026-08-07 22:27:49 +02:00
|
|
|
{
|
|
|
|
|
"object": "table_h",
|
|
|
|
|
"operation": "column_rename",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"country_postal_code"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 332,
|
|
|
|
|
"args": [
|
|
|
|
|
"'zip'",
|
|
|
|
|
"'postal_code'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table_h.column_rename('zip', 'postal_code')",
|
|
|
|
|
"phase": "before_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|