Public Access
- systemmodule ir und res aufgenommen - Version auf Major.Minor reduziert - reihenfolge der Module fixiert
146 lines
4.0 KiB
JSON
146 lines
4.0 KiB
JSON
{
|
|
"version": "6.6",
|
|
"module": "country",
|
|
"files": [
|
|
{
|
|
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
|
|
"class": "Country",
|
|
"method": "__register__",
|
|
"line": 178,
|
|
"operations": [
|
|
{
|
|
"object": "table",
|
|
"operation": "drop_constraint",
|
|
"line": 189,
|
|
"args": [
|
|
"'name_uniq'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table.drop_constraint('name_uniq')",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "drop_constraint",
|
|
"line": 190,
|
|
"args": [
|
|
"'code_uniq'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table.drop_constraint('code_uniq')",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "not_null_action",
|
|
"line": 193,
|
|
"args": [
|
|
"'code'",
|
|
"'remove'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table.not_null_action('code', 'remove')",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "cursor",
|
|
"operation": "execute",
|
|
"line": 196,
|
|
"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",
|
|
"line": 196,
|
|
"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": 433,
|
|
"operations": [
|
|
{
|
|
"object": "cursor",
|
|
"operation": "execute",
|
|
"line": 444,
|
|
"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",
|
|
"line": 444,
|
|
"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",
|
|
"line": 448,
|
|
"args": [
|
|
"'type'"
|
|
],
|
|
"kwargs": {
|
|
"action": "'remove'"
|
|
},
|
|
"code": "table_h.not_null_action('type', action='remove')",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "table_h",
|
|
"operation": "not_null_action",
|
|
"line": 451,
|
|
"args": [
|
|
"'code'"
|
|
],
|
|
"kwargs": {
|
|
"action": "'remove'"
|
|
},
|
|
"code": "table_h.not_null_action('code', action='remove')",
|
|
"phase": "after_super"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
|
|
"class": "PostalCode",
|
|
"method": "__register__",
|
|
"line": 516,
|
|
"operations": [
|
|
{
|
|
"object": "table_h",
|
|
"operation": "column_rename",
|
|
"line": 520,
|
|
"args": [
|
|
"'zip'",
|
|
"'postal_code'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table_h.column_rename('zip', 'postal_code')",
|
|
"phase": "before_super"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |