Public Access
extract gets and saves most tables worked on
some cases still need some work...
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_action_keyword"
|
||||
],
|
||||
"line": 170,
|
||||
"args": [
|
||||
"['keyword', 'model']",
|
||||
@@ -31,6 +34,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_action_report"
|
||||
],
|
||||
"line": 574,
|
||||
"args": [
|
||||
"'report_name_module_uniq'"
|
||||
@@ -42,6 +48,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_action_report"
|
||||
],
|
||||
"line": 577,
|
||||
"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": 577,
|
||||
"args": [
|
||||
"[action_report.extension]",
|
||||
@@ -75,6 +87,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_action_act_window"
|
||||
],
|
||||
"line": 773,
|
||||
"args": [
|
||||
"'auto_refresh'"
|
||||
@@ -86,6 +101,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_action_act_window"
|
||||
],
|
||||
"line": 776,
|
||||
"args": [
|
||||
"'window_name'"
|
||||
@@ -97,6 +115,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_action_act_window"
|
||||
],
|
||||
"line": 779,
|
||||
"args": [
|
||||
"'limit'",
|
||||
@@ -109,6 +130,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_action_act_window"
|
||||
],
|
||||
"line": 780,
|
||||
"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": 780,
|
||||
"args": [
|
||||
"[act_window.limit]",
|
||||
@@ -142,6 +169,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_action_act_window_view"
|
||||
],
|
||||
"line": 967,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -162,6 +192,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_action_act_window_domain"
|
||||
],
|
||||
"line": 1006,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -182,6 +215,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_attachment"
|
||||
],
|
||||
"line": 69,
|
||||
"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": 69,
|
||||
"args": [
|
||||
"[attachment.file_id]",
|
||||
@@ -209,6 +248,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_attachment"
|
||||
],
|
||||
"line": 74,
|
||||
"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": 74,
|
||||
"args": [
|
||||
"[attachment.file_id]",
|
||||
@@ -236,6 +281,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_attachment"
|
||||
],
|
||||
"line": 80,
|
||||
"args": [
|
||||
"'digest'"
|
||||
@@ -248,6 +296,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_attachment"
|
||||
],
|
||||
"line": 81,
|
||||
"args": [
|
||||
"'collision'"
|
||||
@@ -260,6 +311,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_attachment"
|
||||
],
|
||||
"line": 84,
|
||||
"args": [
|
||||
"'resource_name'"
|
||||
@@ -279,6 +333,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_cron"
|
||||
],
|
||||
"line": 98,
|
||||
"args": [
|
||||
"'next_call'",
|
||||
@@ -299,6 +356,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 895,
|
||||
"args": [
|
||||
"'name_model_uniq'"
|
||||
@@ -318,6 +378,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 1237,
|
||||
"args": [
|
||||
"*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))"
|
||||
@@ -329,6 +392,9 @@
|
||||
{
|
||||
"object": "model_data",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 1237,
|
||||
"args": [
|
||||
"[model_data.module]",
|
||||
@@ -343,6 +409,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 1243,
|
||||
"args": [
|
||||
"'db_id'"
|
||||
@@ -361,9 +430,29 @@
|
||||
"method": "__register__",
|
||||
"line": 96,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_rename",
|
||||
"tables": [
|
||||
"ir_module_module",
|
||||
"ir_module"
|
||||
],
|
||||
"line": 106,
|
||||
"args": [
|
||||
"old_table",
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_rename(old_table, cls._table)",
|
||||
"phase": "before_super",
|
||||
"condition": "backend.TableHandler.table_exist(old_table)"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_module"
|
||||
],
|
||||
"line": 111,
|
||||
"args": [
|
||||
"*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')"
|
||||
@@ -375,6 +464,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_module"
|
||||
],
|
||||
"line": 111,
|
||||
"args": [
|
||||
"[sql_table.state]",
|
||||
@@ -389,6 +481,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_module"
|
||||
],
|
||||
"line": 114,
|
||||
"args": [
|
||||
"*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')"
|
||||
@@ -400,6 +495,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_module"
|
||||
],
|
||||
"line": 114,
|
||||
"args": [
|
||||
"[sql_table.state]",
|
||||
@@ -414,6 +512,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 127,
|
||||
"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))"
|
||||
@@ -425,6 +526,9 @@
|
||||
{
|
||||
"object": "model_data_sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 127,
|
||||
"args": [
|
||||
"[model_data_sql_table.module]",
|
||||
@@ -438,15 +542,60 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/trytond/trytond/ir/module.py",
|
||||
"class": "ModuleDependency",
|
||||
"method": "__register__",
|
||||
"line": 355,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_rename",
|
||||
"tables": [
|
||||
"ir_module_module_dependency",
|
||||
"ir_module_dependency"
|
||||
],
|
||||
"line": 359,
|
||||
"args": [
|
||||
"old_table",
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_rename(old_table, cls._table)",
|
||||
"phase": "before_super",
|
||||
"condition": "backend.TableHandler.table_exist(old_table)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/trytond/trytond/ir/module.py",
|
||||
"class": "ModuleConfigWizardItem",
|
||||
"method": "__register__",
|
||||
"line": 386,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_rename",
|
||||
"tables": [
|
||||
"ir_module_module_config_wizard_item",
|
||||
"ir_module_config_wizard_item"
|
||||
],
|
||||
"line": 395,
|
||||
"args": [
|
||||
"old_table",
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_rename(old_table, cls._table)",
|
||||
"phase": "before_super",
|
||||
"condition": "backend.TableHandler.table_exist(old_table)"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 396,
|
||||
"args": [
|
||||
"*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')"
|
||||
@@ -458,6 +607,9 @@
|
||||
{
|
||||
"object": "model_data",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 396,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -471,6 +623,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_module_config_wizard_item"
|
||||
],
|
||||
"line": 407,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -491,6 +646,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_queue"
|
||||
],
|
||||
"line": 43,
|
||||
"args": [
|
||||
"[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]"
|
||||
@@ -512,6 +670,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_sequence_type"
|
||||
],
|
||||
"line": 47,
|
||||
"args": [
|
||||
"'code'"
|
||||
@@ -533,6 +694,10 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_sequence",
|
||||
"ir_sequence_type"
|
||||
],
|
||||
"line": 130,
|
||||
"args": [
|
||||
"*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))"
|
||||
@@ -545,6 +710,10 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_sequence",
|
||||
"ir_sequence_type"
|
||||
],
|
||||
"line": 130,
|
||||
"args": [
|
||||
"[table.sequence_type]",
|
||||
@@ -558,6 +727,9 @@
|
||||
{
|
||||
"object": "sequence_type",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_sequence_type"
|
||||
],
|
||||
"line": 132,
|
||||
"args": [
|
||||
"sequence_type.id"
|
||||
@@ -572,6 +744,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_sequence"
|
||||
],
|
||||
"line": 135,
|
||||
"args": [
|
||||
"'code'"
|
||||
@@ -592,6 +767,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_session"
|
||||
],
|
||||
"line": 28,
|
||||
"args": [
|
||||
"'create_uid'",
|
||||
@@ -612,6 +790,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 87,
|
||||
"args": [
|
||||
"'translation_md5_uniq'"
|
||||
@@ -624,6 +805,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 88,
|
||||
"args": [
|
||||
"'src_md5'"
|
||||
@@ -636,6 +820,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 93,
|
||||
"args": [
|
||||
"*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')"
|
||||
@@ -647,6 +834,9 @@
|
||||
{
|
||||
"object": "ir_translation",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 93,
|
||||
"args": [
|
||||
"[ir_translation.type]",
|
||||
@@ -661,6 +851,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 99,
|
||||
"args": [
|
||||
"['lang', 'type', 'name']",
|
||||
@@ -681,6 +874,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 85,
|
||||
"args": [
|
||||
"*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)"
|
||||
@@ -693,6 +889,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 85,
|
||||
"args": [
|
||||
"sql_table.id",
|
||||
@@ -708,6 +907,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 94,
|
||||
"args": [
|
||||
"'minimum_delay'"
|
||||
@@ -720,6 +922,9 @@
|
||||
{
|
||||
"object": "model",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_model"
|
||||
],
|
||||
"line": 102,
|
||||
"args": [
|
||||
"model.model"
|
||||
@@ -734,6 +939,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 104,
|
||||
"args": [
|
||||
"*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])"
|
||||
@@ -746,6 +954,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 104,
|
||||
"args": [
|
||||
"[sql_table.action]",
|
||||
@@ -759,6 +970,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 108,
|
||||
"args": [
|
||||
"'action_model'"
|
||||
@@ -771,6 +985,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 109,
|
||||
"args": [
|
||||
"'action_function'"
|
||||
@@ -791,6 +1008,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_trigger_log"
|
||||
],
|
||||
"line": 333,
|
||||
"args": [
|
||||
"['trigger', 'record_id']",
|
||||
@@ -811,6 +1031,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_ui_icon"
|
||||
],
|
||||
"line": 35,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -831,6 +1054,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_ui_view_tree_optional"
|
||||
],
|
||||
"line": 448,
|
||||
"args": [
|
||||
"['view_id', 'user']",
|
||||
@@ -851,6 +1077,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_ui_view_tree_state"
|
||||
],
|
||||
"line": 512,
|
||||
"args": [
|
||||
"['model', 'domain', 'user', 'child_name']",
|
||||
@@ -871,6 +1100,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_ui_view_search"
|
||||
],
|
||||
"line": 585,
|
||||
"args": [
|
||||
"'user'",
|
||||
|
||||
Reference in New Issue
Block a user