Public Access
extract gets and saves most tables worked on
some cases still need some work...
This commit is contained in:
+46
-1
@@ -1,5 +1,50 @@
|
||||
{
|
||||
"version": "5.6",
|
||||
"module": "company",
|
||||
"files": []
|
||||
"files": [
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/company/party.py",
|
||||
"class": "ConfigurationLang",
|
||||
"method": "__register__",
|
||||
"line": 20,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"party_configuration_party_lang"
|
||||
],
|
||||
"line": 21,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/company/party.py",
|
||||
"class": "PartyLang",
|
||||
"method": "__register__",
|
||||
"line": 43,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"party_party_lang"
|
||||
],
|
||||
"line": 44,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"country_country"
|
||||
],
|
||||
"line": 41,
|
||||
"args": [
|
||||
"'name_uniq'"
|
||||
@@ -22,6 +25,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"country_country"
|
||||
],
|
||||
"line": 42,
|
||||
"args": [
|
||||
"'code_uniq'"
|
||||
@@ -33,6 +39,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"country_country"
|
||||
],
|
||||
"line": 45,
|
||||
"args": [
|
||||
"'code'",
|
||||
@@ -45,6 +54,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 48,
|
||||
"args": [
|
||||
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
|
||||
@@ -56,6 +68,9 @@
|
||||
{
|
||||
"object": "data",
|
||||
"operation": "delete",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 48,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -75,6 +90,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 223,
|
||||
"args": [
|
||||
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
|
||||
@@ -86,6 +104,9 @@
|
||||
{
|
||||
"object": "data",
|
||||
"operation": "delete",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 223,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 68,
|
||||
"args": [
|
||||
"*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))"
|
||||
@@ -22,6 +25,9 @@
|
||||
{
|
||||
"object": "data",
|
||||
"operation": "delete",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 68,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_action_keyword"
|
||||
],
|
||||
"line": 156,
|
||||
"args": [
|
||||
"['keyword', 'model']",
|
||||
@@ -31,6 +34,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_action_report"
|
||||
],
|
||||
"line": 554,
|
||||
"args": [
|
||||
"'report_name_module_uniq'"
|
||||
@@ -42,6 +48,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_action_report"
|
||||
],
|
||||
"line": 557,
|
||||
"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": 557,
|
||||
"args": [
|
||||
"[action_report.extension]",
|
||||
@@ -75,6 +87,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_action_act_window"
|
||||
],
|
||||
"line": 753,
|
||||
"args": [
|
||||
"'auto_refresh'"
|
||||
@@ -86,6 +101,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_action_act_window"
|
||||
],
|
||||
"line": 756,
|
||||
"args": [
|
||||
"'window_name'"
|
||||
@@ -97,6 +115,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_action_act_window"
|
||||
],
|
||||
"line": 759,
|
||||
"args": [
|
||||
"'limit'",
|
||||
@@ -109,6 +130,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_action_act_window"
|
||||
],
|
||||
"line": 760,
|
||||
"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": 760,
|
||||
"args": [
|
||||
"[act_window.limit]",
|
||||
@@ -142,6 +169,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_action_act_window_view"
|
||||
],
|
||||
"line": 939,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -162,6 +192,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_action_act_window_domain"
|
||||
],
|
||||
"line": 978,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -182,6 +215,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_attachment"
|
||||
],
|
||||
"line": 73,
|
||||
"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": 73,
|
||||
"args": [
|
||||
"[attachment.file_id]",
|
||||
@@ -209,6 +248,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_attachment"
|
||||
],
|
||||
"line": 78,
|
||||
"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": 78,
|
||||
"args": [
|
||||
"[attachment.file_id]",
|
||||
@@ -236,6 +281,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_attachment"
|
||||
],
|
||||
"line": 84,
|
||||
"args": [
|
||||
"'digest'"
|
||||
@@ -248,6 +296,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_attachment"
|
||||
],
|
||||
"line": 85,
|
||||
"args": [
|
||||
"'collision'"
|
||||
@@ -260,6 +311,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_attachment"
|
||||
],
|
||||
"line": 88,
|
||||
"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": 1166,
|
||||
"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": 1166,
|
||||
"args": [
|
||||
"[model_data.module]",
|
||||
@@ -324,6 +387,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 1172,
|
||||
"args": [
|
||||
"'db_id'"
|
||||
@@ -342,9 +408,29 @@
|
||||
"method": "__register__",
|
||||
"line": 103,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_rename",
|
||||
"tables": [
|
||||
"ir_module_module",
|
||||
"ir_module"
|
||||
],
|
||||
"line": 113,
|
||||
"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": 118,
|
||||
"args": [
|
||||
"*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')"
|
||||
@@ -356,6 +442,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_module"
|
||||
],
|
||||
"line": 118,
|
||||
"args": [
|
||||
"[sql_table.state]",
|
||||
@@ -370,6 +459,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_module"
|
||||
],
|
||||
"line": 121,
|
||||
"args": [
|
||||
"*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')"
|
||||
@@ -381,6 +473,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_module"
|
||||
],
|
||||
"line": 121,
|
||||
"args": [
|
||||
"[sql_table.state]",
|
||||
@@ -395,6 +490,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 134,
|
||||
"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 +504,9 @@
|
||||
{
|
||||
"object": "model_data_sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 134,
|
||||
"args": [
|
||||
"[model_data_sql_table.module]",
|
||||
@@ -419,15 +520,60 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/trytond/trytond/ir/module.py",
|
||||
"class": "ModuleDependency",
|
||||
"method": "__register__",
|
||||
"line": 362,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_rename",
|
||||
"tables": [
|
||||
"ir_module_module_dependency",
|
||||
"ir_module_dependency"
|
||||
],
|
||||
"line": 366,
|
||||
"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": 393,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_rename",
|
||||
"tables": [
|
||||
"ir_module_module_config_wizard_item",
|
||||
"ir_module_config_wizard_item"
|
||||
],
|
||||
"line": 402,
|
||||
"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": 403,
|
||||
"args": [
|
||||
"*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')"
|
||||
@@ -439,6 +585,9 @@
|
||||
{
|
||||
"object": "model_data",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 403,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -452,6 +601,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_module_config_wizard_item"
|
||||
],
|
||||
"line": 414,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -472,6 +624,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 +648,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_session"
|
||||
],
|
||||
"line": 40,
|
||||
"args": [
|
||||
"'create_uid'",
|
||||
@@ -513,6 +671,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 94,
|
||||
"args": [
|
||||
"'translation_md5_uniq'"
|
||||
@@ -525,6 +686,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 95,
|
||||
"args": [
|
||||
"'src_md5'"
|
||||
@@ -537,6 +701,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 +715,9 @@
|
||||
{
|
||||
"object": "ir_translation",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 100,
|
||||
"args": [
|
||||
"[ir_translation.type]",
|
||||
@@ -562,6 +732,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 106,
|
||||
"args": [
|
||||
"['lang', 'type', 'name']",
|
||||
@@ -582,6 +755,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 89,
|
||||
"args": [
|
||||
"*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)"
|
||||
@@ -594,6 +770,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 89,
|
||||
"args": [
|
||||
"sql_table.id",
|
||||
@@ -609,6 +788,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 98,
|
||||
"args": [
|
||||
"'minimum_delay'"
|
||||
@@ -621,6 +803,9 @@
|
||||
{
|
||||
"object": "model",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_model"
|
||||
],
|
||||
"line": 106,
|
||||
"args": [
|
||||
"model.model"
|
||||
@@ -635,6 +820,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 108,
|
||||
"args": [
|
||||
"*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])"
|
||||
@@ -647,6 +835,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 108,
|
||||
"args": [
|
||||
"[sql_table.action]",
|
||||
@@ -660,6 +851,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 112,
|
||||
"args": [
|
||||
"'action_model'"
|
||||
@@ -672,6 +866,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 113,
|
||||
"args": [
|
||||
"'action_function'"
|
||||
@@ -692,6 +889,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_trigger_log"
|
||||
],
|
||||
"line": 334,
|
||||
"args": [
|
||||
"['trigger', 'record_id']",
|
||||
@@ -712,6 +912,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_ui_icon"
|
||||
],
|
||||
"line": 39,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -732,6 +935,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "index_action",
|
||||
"tables": [
|
||||
"ir_ui_view_tree_state"
|
||||
],
|
||||
"line": 327,
|
||||
"args": [
|
||||
"['model', 'domain', 'user', 'child_name']",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"party_address"
|
||||
],
|
||||
"line": 80,
|
||||
"args": [
|
||||
"*sql_table.update([sql_table.street], [value])"
|
||||
@@ -23,6 +26,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_address"
|
||||
],
|
||||
"line": 80,
|
||||
"args": [
|
||||
"[sql_table.street]",
|
||||
@@ -36,6 +42,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_address"
|
||||
],
|
||||
"line": 83,
|
||||
"args": [
|
||||
"'streetbis'"
|
||||
@@ -56,6 +65,10 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_address_format",
|
||||
"country_country"
|
||||
],
|
||||
"line": 280,
|
||||
"args": [
|
||||
"[table.country_code]",
|
||||
@@ -69,6 +82,9 @@
|
||||
{
|
||||
"object": "country",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"country_country"
|
||||
],
|
||||
"line": 282,
|
||||
"args": [
|
||||
"country.code"
|
||||
@@ -83,6 +99,7 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [],
|
||||
"line": 285,
|
||||
"args": [
|
||||
"*query"
|
||||
@@ -95,6 +112,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_address_format"
|
||||
],
|
||||
"line": 286,
|
||||
"args": [
|
||||
"'country'"
|
||||
@@ -107,6 +127,10 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_address_format",
|
||||
"ir_lang"
|
||||
],
|
||||
"line": 290,
|
||||
"args": [
|
||||
"[table.language_code]",
|
||||
@@ -120,6 +144,9 @@
|
||||
{
|
||||
"object": "language",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_lang"
|
||||
],
|
||||
"line": 292,
|
||||
"args": [
|
||||
"Substring(language.code, 0, 2)"
|
||||
@@ -134,6 +161,7 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [],
|
||||
"line": 295,
|
||||
"args": [
|
||||
"*query"
|
||||
@@ -146,6 +174,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_address_format"
|
||||
],
|
||||
"line": 296,
|
||||
"args": [
|
||||
"'language'"
|
||||
@@ -166,6 +197,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"party_category"
|
||||
],
|
||||
"line": 41,
|
||||
"args": [
|
||||
"'name_parent_uniq'"
|
||||
@@ -176,6 +210,26 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/party/configuration.py",
|
||||
"class": "_ConfigurationValue",
|
||||
"method": "__register__",
|
||||
"line": 40,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [],
|
||||
"line": 41,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
|
||||
"class": "Party",
|
||||
@@ -185,6 +239,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 87,
|
||||
"args": [
|
||||
"'name'",
|
||||
@@ -202,9 +259,27 @@
|
||||
"method": "__register__",
|
||||
"line": 268,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"party_party_lang"
|
||||
],
|
||||
"line": 272,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "insert",
|
||||
"tables": [
|
||||
"party_party_lang",
|
||||
"party_party"
|
||||
],
|
||||
"line": 281,
|
||||
"args": [
|
||||
"[table.party, table.lang]",
|
||||
@@ -218,6 +293,9 @@
|
||||
{
|
||||
"object": "party",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 283,
|
||||
"args": [
|
||||
"party.id",
|
||||
@@ -231,6 +309,7 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [],
|
||||
"line": 284,
|
||||
"args": [
|
||||
"*query"
|
||||
@@ -243,6 +322,9 @@
|
||||
{
|
||||
"object": "party_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 285,
|
||||
"args": [
|
||||
"'lang'"
|
||||
@@ -263,6 +345,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 440,
|
||||
"args": [
|
||||
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
|
||||
@@ -275,6 +360,9 @@
|
||||
{
|
||||
"object": "party",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 440,
|
||||
"args": [
|
||||
"party.id",
|
||||
@@ -291,6 +379,9 @@
|
||||
{
|
||||
"object": "party_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 457,
|
||||
"args": [
|
||||
"'vat_number'"
|
||||
@@ -303,6 +394,9 @@
|
||||
{
|
||||
"object": "party_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 458,
|
||||
"args": [
|
||||
"'vat_country'"
|
||||
|
||||
@@ -2,6 +2,28 @@
|
||||
"version": "5.6",
|
||||
"module": "product",
|
||||
"files": [
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/product/configuration.py",
|
||||
"class": "ConfigurationDefaultCostPriceMethod",
|
||||
"method": "__register__",
|
||||
"line": 48,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"product_configuration_default_cost_price_method"
|
||||
],
|
||||
"line": 49,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
|
||||
"class": "Product",
|
||||
@@ -11,6 +33,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"product_product"
|
||||
],
|
||||
"line": 371,
|
||||
"args": [
|
||||
"*table.update([table.suffix_code], [table.code])"
|
||||
@@ -23,6 +48,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"product_product"
|
||||
],
|
||||
"line": 371,
|
||||
"args": [
|
||||
"[table.suffix_code]",
|
||||
@@ -35,15 +63,67 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
|
||||
"class": "ProductListPrice",
|
||||
"method": "__register__",
|
||||
"line": 551,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"product_list_price"
|
||||
],
|
||||
"line": 552,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
|
||||
"class": "ProductCostPriceMethod",
|
||||
"method": "__register__",
|
||||
"line": 578,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"product_cost_price_method"
|
||||
],
|
||||
"line": 585,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [],
|
||||
"line": 586,
|
||||
"args": [
|
||||
"ProductCostPrice._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(ProductCostPrice._table)",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"product_cost_price_method",
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 601,
|
||||
"args": [
|
||||
"*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))"
|
||||
@@ -56,6 +136,10 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "insert",
|
||||
"tables": [
|
||||
"product_cost_price_method",
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 601,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -69,6 +153,9 @@
|
||||
{
|
||||
"object": "cost_price",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 603,
|
||||
"args": [
|
||||
"*[Column(cost_price, c) for c in columns]"
|
||||
@@ -86,9 +173,26 @@
|
||||
"method": "__register__",
|
||||
"line": 634,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 641,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 648,
|
||||
"args": [
|
||||
"'template'",
|
||||
@@ -102,6 +206,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 655,
|
||||
"args": [
|
||||
"*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))"
|
||||
@@ -114,6 +221,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "insert",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 655,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -127,6 +237,7 @@
|
||||
{
|
||||
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
|
||||
"operation": "select",
|
||||
"tables": [],
|
||||
"line": 658,
|
||||
"args": [
|
||||
"*[Column(sql_table, c) for c in columns] + [product.id]"
|
||||
@@ -141,6 +252,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 665,
|
||||
"args": [
|
||||
"*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))"
|
||||
@@ -153,6 +267,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "delete",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 665,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -165,6 +282,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 668,
|
||||
"args": [
|
||||
"'template'"
|
||||
|
||||
@@ -2,6 +2,28 @@
|
||||
"version": "5.6",
|
||||
"module": "production",
|
||||
"files": [
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/production/configuration.py",
|
||||
"class": "ConfigurationProductionSequence",
|
||||
"method": "__register__",
|
||||
"line": 43,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"production_configuration_production_sequence"
|
||||
],
|
||||
"line": 44,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/production/production.py",
|
||||
"class": "Production",
|
||||
@@ -11,6 +33,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"production"
|
||||
],
|
||||
"line": 255,
|
||||
"args": [
|
||||
"'code'",
|
||||
@@ -24,6 +49,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"production"
|
||||
],
|
||||
"line": 261,
|
||||
"args": [
|
||||
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
|
||||
@@ -35,6 +63,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"production"
|
||||
],
|
||||
"line": 261,
|
||||
"args": [
|
||||
"[table.planned_start_date]",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 205,
|
||||
"args": [
|
||||
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
|
||||
@@ -23,6 +26,9 @@
|
||||
{
|
||||
"object": "sqltable",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 205,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -36,6 +42,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 208,
|
||||
"args": [
|
||||
"'password'"
|
||||
@@ -48,6 +57,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 209,
|
||||
"args": [
|
||||
"'salt'"
|
||||
@@ -60,6 +72,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 212,
|
||||
"args": [
|
||||
"'name'"
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
{
|
||||
"object": "cursor_select",
|
||||
"operation": "execute",
|
||||
"tables": [],
|
||||
"line": 51,
|
||||
"args": [
|
||||
"*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)"
|
||||
@@ -23,6 +24,7 @@
|
||||
{
|
||||
"object": "template_lot_type",
|
||||
"operation": "select",
|
||||
"tables": [],
|
||||
"line": 51,
|
||||
"args": [
|
||||
"template_lot_type.template"
|
||||
|
||||
Reference in New Issue
Block a user