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
+132
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_action_keyword"
],
"line": 151,
"args": [
"['keyword', 'model']",
@@ -31,6 +34,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_action_report"
],
"line": 538,
"args": [
"'report_name_module_uniq'"
@@ -42,6 +48,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_report"
],
"line": 541,
"args": [
"*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')"
@@ -53,6 +62,9 @@
{
"object": "action_report",
"operation": "update",
"tables": [
"ir_action_report"
],
"line": 541,
"args": [
"[action_report.extension]",
@@ -75,6 +87,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 737,
"args": [
"'auto_refresh'"
@@ -86,6 +101,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 740,
"args": [
"'window_name'"
@@ -97,6 +115,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window"
],
"line": 743,
"args": [
"'limit'",
@@ -109,6 +130,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_act_window"
],
"line": 744,
"args": [
"*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)"
@@ -120,6 +144,9 @@
{
"object": "act_window",
"operation": "update",
"tables": [
"ir_action_act_window"
],
"line": 744,
"args": [
"[act_window.limit]",
@@ -142,6 +169,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_view"
],
"line": 915,
"args": [
"'sequence'",
@@ -162,6 +192,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_domain"
],
"line": 954,
"args": [
"'sequence'",
@@ -182,6 +215,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_attachment"
],
"line": 70,
"args": [
"*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))"
@@ -194,6 +230,9 @@
{
"object": "attachment",
"operation": "update",
"tables": [
"ir_attachment"
],
"line": 70,
"args": [
"[attachment.file_id]",
@@ -209,6 +248,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_attachment"
],
"line": 75,
"args": [
"*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))"
@@ -221,6 +263,9 @@
{
"object": "attachment",
"operation": "update",
"tables": [
"ir_attachment"
],
"line": 75,
"args": [
"[attachment.file_id]",
@@ -236,6 +281,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 81,
"args": [
"'digest'"
@@ -248,6 +296,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 82,
"args": [
"'collision'"
@@ -260,6 +311,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_attachment"
],
"line": 85,
"args": [
"'resource_name'"
@@ -279,6 +333,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_cron"
],
"line": 80,
"args": [
"'next_call'",
@@ -299,6 +356,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 1144,
"args": [
"*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))"
@@ -310,6 +370,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 1144,
"args": [
"[model_data.module]",
@@ -324,6 +387,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_model_data"
],
"line": 1150,
"args": [
"'db_id'"
@@ -345,6 +411,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_module"
],
"line": 119,
"args": [
"*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')"
@@ -356,6 +425,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
"line": 119,
"args": [
"[sql_table.state]",
@@ -370,6 +442,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_module"
],
"line": 122,
"args": [
"*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')"
@@ -381,6 +456,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
"line": 122,
"args": [
"[sql_table.state]",
@@ -395,6 +473,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 135,
"args": [
"*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))"
@@ -406,6 +487,9 @@
{
"object": "model_data_sql_table",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 135,
"args": [
"[model_data_sql_table.module]",
@@ -428,6 +512,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 407,
"args": [
"*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')"
@@ -439,6 +526,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 407,
"args": [],
"kwargs": {
@@ -452,6 +542,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_module_config_wizard_item"
],
"line": 418,
"args": [
"'sequence'",
@@ -472,6 +565,9 @@
{
"object": "table_h",
"operation": "index_action",
"tables": [
"ir_queue"
],
"line": 41,
"args": [
"[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]"
@@ -493,6 +589,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_session"
],
"line": 40,
"args": [
"'create_uid'",
@@ -513,6 +612,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_translation"
],
"line": 94,
"args": [
"'translation_md5_uniq'"
@@ -525,6 +627,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_translation"
],
"line": 95,
"args": [
"'src_md5'"
@@ -537,6 +642,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_translation"
],
"line": 100,
"args": [
"*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')"
@@ -548,6 +656,9 @@
{
"object": "ir_translation",
"operation": "update",
"tables": [
"ir_translation"
],
"line": 100,
"args": [
"[ir_translation.type]",
@@ -562,6 +673,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_translation"
],
"line": 106,
"args": [
"['lang', 'type', 'name']",
@@ -582,6 +696,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 86,
"args": [
"*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)"
@@ -594,6 +711,9 @@
{
"object": "sql_table",
"operation": "select",
"tables": [
"ir_trigger"
],
"line": 86,
"args": [
"sql_table.id",
@@ -609,6 +729,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 95,
"args": [
"'minimum_delay'"
@@ -629,6 +752,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_trigger_log"
],
"line": 307,
"args": [
"['trigger', 'record_id']",
@@ -649,6 +775,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_ui_icon"
],
"line": 39,
"args": [
"'sequence'",
@@ -669,6 +798,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_ui_view_tree_state"
],
"line": 327,
"args": [
"['model', 'domain', 'user', 'child_name']",