Public Access
100 lines
2.8 KiB
JSON
100 lines
2.8 KiB
JSON
{
|
|||
|
|
"version": "5.8.16",
|
||
|
|
"module": "country",
|
||
|
|
"files": [
|
||
|
|
{
|
||
|
|
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
|
||
|
|
"class": "Country",
|
||
|
|
"method": "__register__",
|
||
|
|
"line": 30,
|
||
|
|
"operations": [
|
||
|
|
{
|
||
|
|
"object": "table",
|
||
|
|
"operation": "drop_constraint",
|
||
|
|
"line": 41,
|
||
|
|
"args": [
|
||
|
|
"'name_uniq'"
|
||
|
|
],
|
||
|
|
"kwargs": {},
|
||
|
|
"code": "table.drop_constraint('name_uniq')",
|
||
|
|
"phase": "after_super"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"object": "table",
|
||
|
|
"operation": "drop_constraint",
|
||
|
|
"line": 42,
|
||
|
|
"args": [
|
||
|
|
"'code_uniq'"
|
||
|
|
],
|
||
|
|
"kwargs": {},
|
||
|
|
"code": "table.drop_constraint('code_uniq')",
|
||
|
|
"phase": "after_super"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"object": "table",
|
||
|
|
"operation": "not_null_action",
|
||
|
|
"line": 45,
|
||
|
|
"args": [
|
||
|
|
"'code'",
|
||
|
|
"'remove'"
|
||
|
|
],
|
||
|
|
"kwargs": {},
|
||
|
|
"code": "table.not_null_action('code', 'remove')",
|
||
|
|
"phase": "after_super"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"object": "cursor",
|
||
|
|
"operation": "execute",
|
||
|
|
"line": 48,
|
||
|
|
"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": 48,
|
||
|
|
"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": 214,
|
||
|
|
"operations": [
|
||
|
|
{
|
||
|
|
"object": "cursor",
|
||
|
|
"operation": "execute",
|
||
|
|
"line": 223,
|
||
|
|
"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": 223,
|
||
|
|
"args": [],
|
||
|
|
"kwargs": {
|
||
|
|
"where": "(data.module == 'country') & (data.model == cls.__name__)"
|
||
|
|
},
|
||
|
|
"code": "data.delete(where=(data.module == 'country') & (data.model == cls.__name__))",
|
||
|
|
"phase": "after_super"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|