Public Access
155 lines
5.2 KiB
JSON
155 lines
5.2 KiB
JSON
{
|
|
"version": "7.4",
|
|
"module": "company",
|
|
"files": [
|
|
{
|
|
"file": "/home/uha4/tmp/tryton/modules/company/ir.py",
|
|
"class": "CronCompany",
|
|
"method": "__register__",
|
|
"line": 107,
|
|
"operations": [
|
|
{
|
|
"object": "backend.TableHandler",
|
|
"operation": "table_rename",
|
|
"tables": [
|
|
"cron_company_rel",
|
|
"ir_cron-company_company"
|
|
],
|
|
"line": 109,
|
|
"args": [
|
|
"'cron_company_rel'",
|
|
"cls._table"
|
|
],
|
|
"kwargs": {},
|
|
"code": "backend.TableHandler.table_rename('cron_company_rel', cls._table)",
|
|
"phase": "before_super"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"file": "/home/uha4/tmp/tryton/modules/company/res.py",
|
|
"class": "User",
|
|
"method": "__register__",
|
|
"line": 125,
|
|
"operations": [
|
|
{
|
|
"object": "cursor",
|
|
"operation": "execute",
|
|
"tables": [
|
|
"res_user-company_company",
|
|
"res_user"
|
|
],
|
|
"line": 139,
|
|
"args": [
|
|
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))"
|
|
],
|
|
"kwargs": {},
|
|
"code": "cursor.execute(*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)))",
|
|
"phase": "after_super",
|
|
"condition": "table_h.column_exist('main_company')"
|
|
},
|
|
{
|
|
"object": "user_company",
|
|
"operation": "insert",
|
|
"tables": [
|
|
"res_user-company_company",
|
|
"res_user"
|
|
],
|
|
"line": 139,
|
|
"args": [
|
|
"[user_company.user, user_company.company]",
|
|
"table.select(table.id, table.main_company, where=table.main_company != Null)"
|
|
],
|
|
"kwargs": {},
|
|
"code": "user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))",
|
|
"phase": "after_super",
|
|
"condition": "table_h.column_exist('main_company')"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "select",
|
|
"tables": [
|
|
"res_user"
|
|
],
|
|
"line": 141,
|
|
"args": [
|
|
"table.id",
|
|
"table.main_company"
|
|
],
|
|
"kwargs": {
|
|
"where": "table.main_company != Null"
|
|
},
|
|
"code": "table.select(table.id, table.main_company, where=table.main_company != Null)",
|
|
"phase": "after_super",
|
|
"condition": "table_h.column_exist('main_company')"
|
|
},
|
|
{
|
|
"object": "cursor",
|
|
"operation": "execute",
|
|
"tables": [
|
|
"res_user-company_company",
|
|
"res_user"
|
|
],
|
|
"line": 144,
|
|
"args": [
|
|
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))"
|
|
],
|
|
"kwargs": {},
|
|
"code": "cursor.execute(*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))))",
|
|
"phase": "after_super",
|
|
"condition": "table_h.column_exist('main_company')"
|
|
},
|
|
{
|
|
"object": "user_company",
|
|
"operation": "insert",
|
|
"tables": [
|
|
"res_user-company_company",
|
|
"res_user"
|
|
],
|
|
"line": 144,
|
|
"args": [
|
|
"[user_company.user, user_company.company]",
|
|
"table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))"
|
|
],
|
|
"kwargs": {},
|
|
"code": "user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))",
|
|
"phase": "after_super",
|
|
"condition": "table_h.column_exist('main_company')"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "select",
|
|
"tables": [
|
|
"res_user"
|
|
],
|
|
"line": 146,
|
|
"args": [
|
|
"table.id",
|
|
"table.company"
|
|
],
|
|
"kwargs": {
|
|
"where": "(table.company != Null) & (table.company != table.main_company)"
|
|
},
|
|
"code": "table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))",
|
|
"phase": "after_super",
|
|
"condition": "table_h.column_exist('main_company')"
|
|
},
|
|
{
|
|
"object": "table_h",
|
|
"operation": "drop_column",
|
|
"tables": [
|
|
"res_user"
|
|
],
|
|
"line": 150,
|
|
"args": [
|
|
"'main_company'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table_h.drop_column('main_company')",
|
|
"phase": "after_super",
|
|
"condition": "table_h.column_exist('main_company')"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |