extract gets and saves most tables worked on

some cases still need some work...
This commit is contained in:
2026-08-08 22:32:31 +02:00
parent f14f709649
commit 24caf23986
151 changed files with 7017 additions and 1215 deletions
+49
View File
@@ -2,6 +2,30 @@
"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",
@@ -11,6 +35,10 @@
{
"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))"
@@ -23,6 +51,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 139,
"args": [
"[user_company.user, user_company.company]",
@@ -36,6 +68,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 141,
"args": [
"table.id",
@@ -51,6 +86,10 @@
{
"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)))"
@@ -63,6 +102,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 144,
"args": [
"[user_company.user, user_company.company]",
@@ -76,6 +119,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 146,
"args": [
"table.id",
@@ -91,6 +137,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 150,
"args": [
"'main_company'"