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
+26 -1
View File
@@ -1,5 +1,30 @@
{
"version": "7.6",
"module": "company",
"files": []
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/company/ir.py",
"class": "CronCompany",
"method": "__register__",
"line": 106,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"cron_company_rel",
"ir_cron-company_company"
],
"line": 108,
"args": [
"'cron_company_rel'",
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_rename('cron_company_rel', cls._table)",
"phase": "before_super"
}
]
}
]
}
+6
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"country_subdivision"
],
"line": 407,
"args": [
"'type'"
@@ -24,6 +27,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"country_subdivision"
],
"line": 410,
"args": [
"'code'"
+6
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 83,
"args": [
"'symbol'",
@@ -31,6 +34,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"currency_currency_rate"
],
"line": 294,
"args": [
"'check_currency_rate'"
+116
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_export"
],
"line": 79,
"args": [
"*table.update([table.user], [table.create_uid])"
@@ -23,6 +26,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_export"
],
"line": 79,
"args": [
"[table.user]",
@@ -44,6 +50,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model"
],
"line": 89,
"args": [
"'name'",
@@ -57,6 +66,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model"
],
"line": 90,
"args": [
"'model'",
@@ -70,6 +82,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"ir_model"
],
"line": 91,
"args": [
"'model_uniq'"
@@ -89,6 +104,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model_field"
],
"line": 332,
"args": [
"'model'",
@@ -102,6 +120,9 @@
{
"object": "table_h",
"operation": "add_column",
"tables": [
"ir_model_field"
],
"line": 333,
"args": [
"'model'",
@@ -115,6 +136,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_field"
],
"line": 334,
"args": [
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
@@ -127,6 +151,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_model_field"
],
"line": 334,
"args": [
"[table.model]",
@@ -143,6 +170,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_model_field"
],
"line": 338,
"args": [
"'_temp_model'"
@@ -155,6 +185,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model_field"
],
"line": 341,
"args": [
"'field_description'",
@@ -175,6 +208,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model_access"
],
"line": 563,
"args": [
"'model'",
@@ -188,6 +224,9 @@
{
"object": "table_h",
"operation": "add_column",
"tables": [
"ir_model_access"
],
"line": 564,
"args": [
"'model'",
@@ -201,6 +240,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_access"
],
"line": 565,
"args": [
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
@@ -213,6 +255,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_model_access"
],
"line": 565,
"args": [
"[table.model]",
@@ -229,6 +274,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_model_access"
],
"line": 569,
"args": [
"'_temp_model'"
@@ -249,6 +297,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model_field_access"
],
"line": 801,
"args": [
"'field'",
@@ -262,6 +313,9 @@
{
"object": "table_h",
"operation": "add_column",
"tables": [
"ir_model_field_access"
],
"line": 802,
"args": [
"'model'",
@@ -275,6 +329,9 @@
{
"object": "table_h",
"operation": "add_column",
"tables": [
"ir_model_field_access"
],
"line": 803,
"args": [
"'field'",
@@ -288,6 +345,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_field_access"
],
"line": 804,
"args": [
"*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)"
@@ -300,6 +360,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_model_field_access"
],
"line": 804,
"args": [
"[table.model, table.field]",
@@ -316,6 +379,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_model_field_access"
],
"line": 809,
"args": [
"'_temp_field'"
@@ -336,6 +402,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model_button"
],
"line": 989,
"args": [
"'model'",
@@ -349,6 +418,9 @@
{
"object": "table_h",
"operation": "add_column",
"tables": [
"ir_model_button"
],
"line": 990,
"args": [
"'model'",
@@ -362,6 +434,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_button"
],
"line": 991,
"args": [
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
@@ -374,6 +449,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_model_button"
],
"line": 991,
"args": [
"[table.model]",
@@ -390,6 +468,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_model_button"
],
"line": 995,
"args": [
"'_temp_model'"
@@ -402,6 +483,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"ir_model_button"
],
"line": 1000,
"args": [
"'name_model_uniq'"
@@ -421,6 +505,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"ir_model_data"
],
"line": 1340,
"args": [
"'fs_id_module_model_uniq'"
@@ -440,6 +527,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_rule_group"
],
"line": 112,
"args": [
"'model'",
@@ -453,6 +543,9 @@
{
"object": "table_h",
"operation": "add_column",
"tables": [
"ir_rule_group"
],
"line": 113,
"args": [
"'model'",
@@ -466,6 +559,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_rule_group"
],
"line": 114,
"args": [
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
@@ -478,6 +574,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_rule_group"
],
"line": 114,
"args": [
"[table.model]",
@@ -494,6 +593,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_rule_group"
],
"line": 118,
"args": [
"'_temp_model'"
@@ -514,6 +616,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_ui_view_tree_optional"
],
"line": 637,
"args": [
"'view_id'",
@@ -526,6 +631,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_ui_view_tree_optional",
"ir_ui_view"
],
"line": 642,
"args": [
"*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)"
@@ -537,6 +646,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_ui_view_tree_optional",
"ir_ui_view"
],
"line": 642,
"args": [
"[table.model]",
@@ -551,6 +664,9 @@
{
"object": "view",
"operation": "select",
"tables": [
"ir_ui_view"
],
"line": 644,
"args": [
"view.model"
+48
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "column_rename",
"tables": [
"party_address"
],
"line": 165,
"args": [
"'street'",
@@ -23,6 +26,9 @@
{
"object": "table",
"operation": "column_rename",
"tables": [
"party_address"
],
"line": 166,
"args": [
"'name'",
@@ -43,6 +49,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_configuration"
],
"line": 44,
"args": [
"*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])"
@@ -55,6 +64,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_configuration"
],
"line": 44,
"args": [
"[table.identifier_types]",
@@ -67,6 +79,30 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
"class": "PartyCategory",
"method": "__register__",
"line": 448,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"party_category_rel",
"party_party-party_category"
],
"line": 450,
"args": [
"'party_category_rel'",
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_rename('party_category_rel', cls._table)",
"phase": "before_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
"class": "Identifier",
@@ -76,6 +112,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 839,
"args": [
"*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')"
@@ -87,6 +126,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 839,
"args": [
"[table.type]",
@@ -101,6 +143,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 843,
"args": [
"*table.update([table.type], ['co_nit'], where=table.type == 'co_rut')"
@@ -112,6 +157,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 843,
"args": [
"[table.type]",
+15
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production_bom_input"
],
"line": 148,
"args": [
"'uom'",
@@ -24,6 +27,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"production_bom_input"
],
"line": 154,
"args": [
"'product_bom_uniq'"
@@ -43,6 +49,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_cron"
],
"line": 26,
"args": [
"*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')"
@@ -54,6 +63,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_cron"
],
"line": 26,
"args": [
"[table.method]",
@@ -76,6 +88,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
"line": 273,
"args": [
"'uom'",
+3
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"res_user"
],
"line": 200,
"args": [
"'menu'",