2026-08-07 22:27:49 +02:00
|
|
|
{
|
2026-08-08 01:29:43 +02:00
|
|
|
"version": "6.2",
|
2026-08-07 22:27:49 +02:00
|
|
|
"module": "company",
|
|
|
|
|
"files": [
|
2026-08-08 22:32:31 +02:00
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/company/party.py",
|
|
|
|
|
"class": "ConfigurationLang",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 21,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "backend.TableHandler",
|
|
|
|
|
"operation": "table_exist",
|
|
|
|
|
"tables": [
|
|
|
|
|
"party_configuration_party_lang"
|
|
|
|
|
],
|
|
|
|
|
"line": 22,
|
|
|
|
|
"args": [
|
|
|
|
|
"cls._table"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "backend.TableHandler.table_exist(cls._table)",
|
|
|
|
|
"phase": "before_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/company/party.py",
|
|
|
|
|
"class": "PartyLang",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 51,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "backend.TableHandler",
|
|
|
|
|
"operation": "table_exist",
|
|
|
|
|
"tables": [
|
|
|
|
|
"party_party_lang"
|
|
|
|
|
],
|
|
|
|
|
"line": 52,
|
|
|
|
|
"args": [
|
|
|
|
|
"cls._table"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "backend.TableHandler.table_exist(cls._table)",
|
|
|
|
|
"phase": "before_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2026-08-07 22:27:49 +02:00
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/company/res.py",
|
|
|
|
|
"class": "User",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 72,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user-company_company",
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 86,
|
|
|
|
|
"args": [
|
|
|
|
|
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "(transaction.connection.cursor()).execute(*user_company.insert(\n [user_company.user, user_company.company],\n table.select(\n table.id, table.main_company,\n where=table.main_company != Null)))",
|
2026-08-07 22:27:49 +02:00
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('main_company')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "user_company",
|
|
|
|
|
"operation": "insert",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user-company_company",
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 86,
|
|
|
|
|
"args": [
|
|
|
|
|
"[user_company.user, user_company.company]",
|
|
|
|
|
"table.select(table.id, table.main_company, where=table.main_company != Null)"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "user_company.insert(\n [user_company.user, user_company.company],\n table.select(\n table.id, table.main_company,\n where=table.main_company != Null))",
|
2026-08-07 22:27:49 +02:00
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('main_company')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "select",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 88,
|
|
|
|
|
"args": [
|
|
|
|
|
"table.id",
|
|
|
|
|
"table.main_company"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"where": "table.main_company != Null"
|
|
|
|
|
},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "table.select(\n table.id, table.main_company,\n where=table.main_company != Null)",
|
2026-08-07 22:27:49 +02:00
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('main_company')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user-company_company",
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 91,
|
|
|
|
|
"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": {},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "(transaction.connection.cursor()).execute(*user_company.insert(\n [user_company.user, user_company.company],\n table.select(\n table.id, table.company,\n where=(table.company != Null)\n & (table.company != table.main_company))))",
|
2026-08-07 22:27:49 +02:00
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('main_company')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "user_company",
|
|
|
|
|
"operation": "insert",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user-company_company",
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 91,
|
|
|
|
|
"args": [
|
|
|
|
|
"[user_company.user, user_company.company]",
|
|
|
|
|
"table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "user_company.insert(\n [user_company.user, user_company.company],\n table.select(\n table.id, table.company,\n where=(table.company != Null)\n & (table.company != table.main_company)))",
|
2026-08-07 22:27:49 +02:00
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('main_company')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "select",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 93,
|
|
|
|
|
"args": [
|
|
|
|
|
"table.id",
|
|
|
|
|
"table.company"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"where": "(table.company != Null) & (table.company != table.main_company)"
|
|
|
|
|
},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "table.select(\n table.id, table.company,\n where=(table.company != Null)\n & (table.company != table.main_company))",
|
2026-08-07 22:27:49 +02:00
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('main_company')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table_h",
|
|
|
|
|
"operation": "drop_column",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"res_user"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 97,
|
|
|
|
|
"args": [
|
|
|
|
|
"'main_company'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table_h.drop_column('main_company')",
|
|
|
|
|
"phase": "after_super",
|
|
|
|
|
"condition": "table_h.column_exist('main_company')"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|