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": "8.0",
"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": 283,
"args": [
"'check_currency_rate'"
+119
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": 88,
"args": [
"'name'",
@@ -57,6 +66,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model"
],
"line": 89,
"args": [
"'model'",
@@ -70,6 +82,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"ir_model"
],
"line": 90,
"args": [
"'model_uniq'"
@@ -89,6 +104,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model_field"
],
"line": 337,
"args": [
"'model'",
@@ -102,6 +120,9 @@
{
"object": "table_h",
"operation": "add_column",
"tables": [
"ir_model_field"
],
"line": 338,
"args": [
"'model'",
@@ -115,6 +136,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_field"
],
"line": 339,
"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": 339,
"args": [
"[table.model]",
@@ -143,6 +170,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_model_field"
],
"line": 343,
"args": [
"'_temp_model'"
@@ -155,6 +185,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model_field"
],
"line": 346,
"args": [
"'field_description'",
@@ -175,6 +208,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model_access"
],
"line": 551,
"args": [
"'model'",
@@ -188,6 +224,9 @@
{
"object": "table_h",
"operation": "add_column",
"tables": [
"ir_model_access"
],
"line": 552,
"args": [
"'model'",
@@ -201,6 +240,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_access"
],
"line": 553,
"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": 553,
"args": [
"[table.model]",
@@ -229,6 +274,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_model_access"
],
"line": 557,
"args": [
"'_temp_model'"
@@ -249,6 +297,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model_field_access"
],
"line": 784,
"args": [
"'field'",
@@ -262,6 +313,9 @@
{
"object": "table_h",
"operation": "add_column",
"tables": [
"ir_model_field_access"
],
"line": 785,
"args": [
"'model'",
@@ -275,6 +329,9 @@
{
"object": "table_h",
"operation": "add_column",
"tables": [
"ir_model_field_access"
],
"line": 786,
"args": [
"'field'",
@@ -288,6 +345,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_field_access"
],
"line": 787,
"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": 787,
"args": [
"[table.model, table.field]",
@@ -316,6 +379,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_model_field_access"
],
"line": 792,
"args": [
"'_temp_field'"
@@ -336,6 +402,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_model_button"
],
"line": 961,
"args": [
"'model'",
@@ -349,6 +418,9 @@
{
"object": "table_h",
"operation": "add_column",
"tables": [
"ir_model_button"
],
"line": 962,
"args": [
"'model'",
@@ -362,6 +434,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_button"
],
"line": 963,
"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": 963,
"args": [
"[table.model]",
@@ -390,6 +468,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_model_button"
],
"line": 967,
"args": [
"'_temp_model'"
@@ -402,6 +483,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"ir_model_button"
],
"line": 972,
"args": [
"'name_model_uniq'"
@@ -421,6 +505,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"ir_model_data"
],
"line": 1307,
"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": "not_null_action",
"tables": [
"ir_ui_view_tree_width"
],
"line": 517,
"args": [
"'width'",
@@ -534,6 +639,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"ir_ui_view_tree_optional"
],
"line": 699,
"args": [
"'view_id'",
@@ -546,6 +654,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_ui_view_tree_optional",
"ir_ui_view"
],
"line": 704,
"args": [
"*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)"
@@ -557,6 +669,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_ui_view_tree_optional",
"ir_ui_view"
],
"line": 704,
"args": [
"[table.model]",
@@ -571,6 +687,9 @@
{
"object": "view",
"operation": "select",
"tables": [
"ir_ui_view"
],
"line": 706,
"args": [
"view.model"
+60
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "column_rename",
"tables": [
"party_address"
],
"line": 166,
"args": [
"'street'",
@@ -23,6 +26,9 @@
{
"object": "table",
"operation": "column_rename",
"tables": [
"party_address"
],
"line": 167,
"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": 467,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"party_category_rel",
"party_party-party_category"
],
"line": 469,
"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": 878,
"args": [
"*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')"
@@ -87,6 +126,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 878,
"args": [
"[table.type]",
@@ -101,6 +143,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 882,
"args": [
"*table.update([table.type], ['co_nit'], where=table.type == 'co_rut')"
@@ -112,6 +157,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 882,
"args": [
"[table.type]",
@@ -126,6 +174,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 887,
"args": [
"*table.update([table.code_compact], [table.code])"
@@ -138,6 +189,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 887,
"args": [
"[table.code_compact]",
@@ -151,6 +205,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 890,
"args": [
"*table.update([table.type], ['si_maticna'], where=table.type == 'si_businessid')"
@@ -162,6 +219,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 890,
"args": [
"[table.type]",
+18
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production_bom_input"
],
"line": 214,
"args": [
"'uom'",
@@ -24,6 +27,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"production_bom_input"
],
"line": 220,
"args": [
"'product_bom_uniq'"
@@ -35,6 +41,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"production_bom_input"
],
"line": 222,
"args": [
"'product'",
@@ -55,6 +64,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')"
@@ -66,6 +78,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_cron"
],
"line": 26,
"args": [
"[table.method]",
@@ -88,6 +103,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
"line": 282,
"args": [
"'uom'",
+3
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"res_user"
],
"line": 203,
"args": [
"'menu'",