Compare commits

...
2 Commits
Author SHA1 Message Date
uha4 24caf23986 extract gets and saves most tables worked on
some cases still need some work...
2026-08-08 22:32:31 +02:00
uha4 f14f709649 Version title is printed only when something changed 2026-08-08 22:27:12 +02:00
152 changed files with 7022 additions and 1218 deletions
+5 -3
View File
@@ -99,7 +99,7 @@ class Module(object):
if last_blocks == None:
last_blocks = len(v) * [None,]
out.write(f"### {k}\n\n")
new_version = k
# iterate all files / occureces
for i, m in enumerate(v):
@@ -115,7 +115,10 @@ class Module(object):
last_blocks[i] = key
if new_version:
out.write("\n")
out.write(f"### {new_version}\n\n")
new_version = None
out.write(f"file: {m['file']} : {m['line']}\n")
for op in m["operations"]:
@@ -150,7 +153,6 @@ class Module(object):
out.write("\n")
out.write("\n")
def main():
+9
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 35,
"args": [
"'name_uniq'"
@@ -22,6 +25,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 36,
"args": [
"'code_uniq'"
@@ -33,6 +39,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"country_country"
],
"line": 39,
"args": [
"'code'",
+108
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_action_keyword"
],
"line": 123,
"args": [
"['keyword', 'model']",
@@ -31,6 +34,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_action_report"
],
"line": 508,
"args": [
"'report_name_module_uniq'"
@@ -42,6 +48,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_report"
],
"line": 511,
"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": 511,
"args": [
"[action_report.extension]",
@@ -75,6 +87,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 702,
"args": [
"'auto_refresh'"
@@ -86,6 +101,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 705,
"args": [
"'window_name'"
@@ -97,6 +115,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window"
],
"line": 708,
"args": [
"'limit'",
@@ -109,6 +130,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_act_window"
],
"line": 709,
"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": 709,
"args": [
"[act_window.limit]",
@@ -142,6 +169,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))"
@@ -154,6 +184,9 @@
{
"object": "attachment",
"operation": "update",
"tables": [
"ir_attachment"
],
"line": 70,
"args": [
"[attachment.file_id]",
@@ -169,6 +202,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))"
@@ -181,6 +217,9 @@
{
"object": "attachment",
"operation": "update",
"tables": [
"ir_attachment"
],
"line": 75,
"args": [
"[attachment.file_id]",
@@ -196,6 +235,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 81,
"args": [
"'digest'"
@@ -208,6 +250,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 82,
"args": [
"'collision'"
@@ -220,6 +265,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_attachment"
],
"line": 85,
"args": [
"'resource_name'"
@@ -239,6 +287,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 1107,
"args": [
"*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))"
@@ -250,6 +301,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 1107,
"args": [
"[model_data.module]",
@@ -272,6 +326,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_module"
],
"line": 118,
"args": [
"*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')"
@@ -283,6 +340,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
"line": 118,
"args": [
"[sql_table.state]",
@@ -297,6 +357,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_module"
],
"line": 121,
"args": [
"*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')"
@@ -308,6 +371,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
"line": 121,
"args": [
"[sql_table.state]",
@@ -322,6 +388,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))"
@@ -333,6 +402,9 @@
{
"object": "model_data_sql_table",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 134,
"args": [
"[model_data_sql_table.module]",
@@ -355,6 +427,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 412,
"args": [
"*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')"
@@ -366,6 +441,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 412,
"args": [],
"kwargs": {
@@ -387,6 +465,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]"
@@ -408,6 +489,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_session"
],
"line": 40,
"args": [
"'create_uid'",
@@ -428,6 +512,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_translation"
],
"line": 108,
"args": [
"*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')"
@@ -439,6 +526,9 @@
{
"object": "ir_translation",
"operation": "update",
"tables": [
"ir_translation"
],
"line": 108,
"args": [
"[ir_translation.type]",
@@ -453,6 +543,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_translation"
],
"line": 114,
"args": [
"['lang', 'type', 'name']",
@@ -473,6 +566,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 84,
"args": [
"*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)"
@@ -485,6 +581,9 @@
{
"object": "sql_table",
"operation": "select",
"tables": [
"ir_trigger"
],
"line": 84,
"args": [
"sql_table.id",
@@ -500,6 +599,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 93,
"args": [
"'minimum_delay'"
@@ -520,6 +622,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_trigger_log"
],
"line": 304,
"args": [
"['trigger', 'record_id']",
@@ -540,6 +645,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_ui_view_tree_state"
],
"line": 317,
"args": [
"['model', 'domain', 'user', 'child_name']",
+38
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_address"
],
"line": 74,
"args": [
"*sql_table.update([sql_table.street], [value])"
@@ -23,6 +26,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"party_address"
],
"line": 74,
"args": [
"[sql_table.street]",
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"party_address"
],
"line": 77,
"args": [
"'streetbis'"
@@ -56,6 +65,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"party_category"
],
"line": 49,
"args": [
"'name_parent_uniq'"
@@ -75,6 +87,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"party_party"
],
"line": 95,
"args": [
"'name'",
@@ -95,6 +110,10 @@
{
"object": "table",
"operation": "insert",
"tables": [
"party_party_lang",
"party_party"
],
"line": 279,
"args": [
"[table.party, table.lang]",
@@ -108,6 +127,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 281,
"args": [
"party.id",
@@ -121,6 +143,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 282,
"args": [
"*query"
@@ -133,6 +156,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 283,
"args": [
"'lang'"
@@ -153,6 +179,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
"line": 341,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
@@ -165,6 +194,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 341,
"args": [
"party.id",
@@ -181,6 +213,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 355,
"args": [
"'vat_number'"
@@ -193,6 +228,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 356,
"args": [
"'vat_country'"
+30
View File
@@ -11,6 +11,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price_method",
"product_cost_price"
],
"line": 396,
"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]))"
@@ -23,6 +27,10 @@
{
"object": "sql_table",
"operation": "insert",
"tables": [
"product_cost_price_method",
"product_cost_price"
],
"line": 396,
"args": [],
"kwargs": {
@@ -36,6 +44,9 @@
{
"object": "cost_price",
"operation": "select",
"tables": [
"product_cost_price"
],
"line": 398,
"args": [
"*[Column(cost_price, c) for c in columns]"
@@ -56,6 +67,9 @@
{
"object": "table",
"operation": "add_column",
"tables": [
"product_cost_price"
],
"line": 444,
"args": [
"'template'",
@@ -69,6 +83,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 451,
"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)))"
@@ -81,6 +98,9 @@
{
"object": "sql_table",
"operation": "insert",
"tables": [
"product_cost_price"
],
"line": 451,
"args": [],
"kwargs": {
@@ -94,6 +114,7 @@
{
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
"operation": "select",
"tables": [],
"line": 454,
"args": [
"*[Column(sql_table, c) for c in columns] + [product.id]"
@@ -108,6 +129,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 461,
"args": [
"*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))"
@@ -120,6 +144,9 @@
{
"object": "sql_table",
"operation": "delete",
"tables": [
"product_cost_price"
],
"line": 461,
"args": [],
"kwargs": {
@@ -132,6 +159,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"product_cost_price"
],
"line": 464,
"args": [
"'template'"
+9
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
"line": 230,
"args": [
"'code'",
@@ -24,6 +27,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 236,
"args": [
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
@@ -35,6 +41,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 236,
"args": [
"[table.planned_start_date]",
+15
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user"
],
"line": 210,
"args": [
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
@@ -23,6 +26,9 @@
{
"object": "sqltable",
"operation": "update",
"tables": [
"res_user"
],
"line": 210,
"args": [],
"kwargs": {
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 213,
"args": [
"'password'"
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 214,
"args": [
"'salt'"
@@ -60,6 +72,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"res_user"
],
"line": 217,
"args": [
"'name'"
+9
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 36,
"args": [
"'name_uniq'"
@@ -22,6 +25,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 37,
"args": [
"'code_uniq'"
@@ -33,6 +39,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"country_country"
],
"line": 40,
"args": [
"'code'",
+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": 77,
"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": 93,
"args": [
"'translation_md5_uniq'"
@@ -525,6 +627,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_translation"
],
"line": 94,
"args": [
"'src_md5'"
@@ -537,6 +642,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_translation"
],
"line": 99,
"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": 99,
"args": [
"[ir_translation.type]",
@@ -562,6 +673,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_translation"
],
"line": 105,
"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": 306,
"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']",
+38
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_address"
],
"line": 79,
"args": [
"*sql_table.update([sql_table.street], [value])"
@@ -23,6 +26,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"party_address"
],
"line": 79,
"args": [
"[sql_table.street]",
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"party_address"
],
"line": 82,
"args": [
"'streetbis'"
@@ -56,6 +65,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"party_category"
],
"line": 49,
"args": [
"'name_parent_uniq'"
@@ -75,6 +87,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"party_party"
],
"line": 97,
"args": [
"'name'",
@@ -95,6 +110,10 @@
{
"object": "table",
"operation": "insert",
"tables": [
"party_party_lang",
"party_party"
],
"line": 292,
"args": [
"[table.party, table.lang]",
@@ -108,6 +127,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 294,
"args": [
"party.id",
@@ -121,6 +143,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 295,
"args": [
"*query"
@@ -133,6 +156,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 296,
"args": [
"'lang'"
@@ -153,6 +179,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
"line": 451,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
@@ -165,6 +194,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 451,
"args": [
"party.id",
@@ -181,6 +213,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 468,
"args": [
"'vat_number'"
@@ -193,6 +228,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 469,
"args": [
"'vat_country'"
+30
View File
@@ -11,6 +11,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price_method",
"product_cost_price"
],
"line": 404,
"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]))"
@@ -23,6 +27,10 @@
{
"object": "sql_table",
"operation": "insert",
"tables": [
"product_cost_price_method",
"product_cost_price"
],
"line": 404,
"args": [],
"kwargs": {
@@ -36,6 +44,9 @@
{
"object": "cost_price",
"operation": "select",
"tables": [
"product_cost_price"
],
"line": 406,
"args": [
"*[Column(cost_price, c) for c in columns]"
@@ -56,6 +67,9 @@
{
"object": "table",
"operation": "add_column",
"tables": [
"product_cost_price"
],
"line": 452,
"args": [
"'template'",
@@ -69,6 +83,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 459,
"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)))"
@@ -81,6 +98,9 @@
{
"object": "sql_table",
"operation": "insert",
"tables": [
"product_cost_price"
],
"line": 459,
"args": [],
"kwargs": {
@@ -94,6 +114,7 @@
{
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
"operation": "select",
"tables": [],
"line": 462,
"args": [
"*[Column(sql_table, c) for c in columns] + [product.id]"
@@ -108,6 +129,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 469,
"args": [
"*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))"
@@ -120,6 +144,9 @@
{
"object": "sql_table",
"operation": "delete",
"tables": [
"product_cost_price"
],
"line": 469,
"args": [],
"kwargs": {
@@ -132,6 +159,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"product_cost_price"
],
"line": 472,
"args": [
"'template'"
+9
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
"line": 228,
"args": [
"'code'",
@@ -24,6 +27,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 234,
"args": [
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
@@ -35,6 +41,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 234,
"args": [
"[table.planned_start_date]",
+15
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user"
],
"line": 204,
"args": [
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
@@ -23,6 +26,9 @@
{
"object": "sqltable",
"operation": "update",
"tables": [
"res_user"
],
"line": 204,
"args": [],
"kwargs": {
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 207,
"args": [
"'password'"
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 208,
"args": [
"'salt'"
@@ -60,6 +72,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"res_user"
],
"line": 211,
"args": [
"'name'"
+21
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 43,
"args": [
"'name_uniq'"
@@ -22,6 +25,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 44,
"args": [
"'code_uniq'"
@@ -33,6 +39,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"country_country"
],
"line": 47,
"args": [
"'code'",
@@ -45,6 +54,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 50,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -56,6 +68,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 50,
"args": [],
"kwargs": {
@@ -75,6 +90,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 225,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -86,6 +104,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 225,
"args": [],
"kwargs": {
+6
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 70,
"args": [
"*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))"
@@ -22,6 +25,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 70,
"args": [],
"kwargs": {
+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']",
+60
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_address"
],
"line": 86,
"args": [
"*sql_table.update([sql_table.street], [value])"
@@ -23,6 +26,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"party_address"
],
"line": 86,
"args": [
"[sql_table.street]",
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"party_address"
],
"line": 89,
"args": [
"'streetbis'"
@@ -56,6 +65,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"country_country"
],
"line": 286,
"args": [
"[table.country_code]",
@@ -69,6 +82,9 @@
{
"object": "country",
"operation": "select",
"tables": [
"country_country"
],
"line": 288,
"args": [
"country.code"
@@ -83,6 +99,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 291,
"args": [
"*query"
@@ -95,6 +112,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 292,
"args": [
"'country'"
@@ -107,6 +127,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"ir_lang"
],
"line": 296,
"args": [
"[table.language_code]",
@@ -120,6 +144,9 @@
{
"object": "language",
"operation": "select",
"tables": [
"ir_lang"
],
"line": 298,
"args": [
"Substring(language.code, 0, 2)"
@@ -134,6 +161,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 301,
"args": [
"*query"
@@ -146,6 +174,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 302,
"args": [
"'language'"
@@ -166,6 +197,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"party_category"
],
"line": 49,
"args": [
"'name_parent_uniq'"
@@ -185,6 +219,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"party_party"
],
"line": 97,
"args": [
"'name'",
@@ -205,6 +242,10 @@
{
"object": "table",
"operation": "insert",
"tables": [
"party_party_lang",
"party_party"
],
"line": 292,
"args": [
"[table.party, table.lang]",
@@ -218,6 +259,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 294,
"args": [
"party.id",
@@ -231,6 +275,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 295,
"args": [
"*query"
@@ -243,6 +288,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 296,
"args": [
"'lang'"
@@ -263,6 +311,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
"line": 451,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
@@ -275,6 +326,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 451,
"args": [
"party.id",
@@ -291,6 +345,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 468,
"args": [
"'vat_number'"
@@ -303,6 +360,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 469,
"args": [
"'vat_country'"
+30
View File
@@ -11,6 +11,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price_method",
"product_cost_price"
],
"line": 461,
"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]))"
@@ -23,6 +27,10 @@
{
"object": "sql_table",
"operation": "insert",
"tables": [
"product_cost_price_method",
"product_cost_price"
],
"line": 461,
"args": [],
"kwargs": {
@@ -36,6 +44,9 @@
{
"object": "cost_price",
"operation": "select",
"tables": [
"product_cost_price"
],
"line": 463,
"args": [
"*[Column(cost_price, c) for c in columns]"
@@ -56,6 +67,9 @@
{
"object": "table",
"operation": "add_column",
"tables": [
"product_cost_price"
],
"line": 509,
"args": [
"'template'",
@@ -69,6 +83,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 516,
"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)))"
@@ -81,6 +98,9 @@
{
"object": "sql_table",
"operation": "insert",
"tables": [
"product_cost_price"
],
"line": 516,
"args": [],
"kwargs": {
@@ -94,6 +114,7 @@
{
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
"operation": "select",
"tables": [],
"line": 519,
"args": [
"*[Column(sql_table, c) for c in columns] + [product.id]"
@@ -108,6 +129,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 526,
"args": [
"*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))"
@@ -120,6 +144,9 @@
{
"object": "sql_table",
"operation": "delete",
"tables": [
"product_cost_price"
],
"line": 526,
"args": [],
"kwargs": {
@@ -132,6 +159,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"product_cost_price"
],
"line": 529,
"args": [
"'template'"
+9
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
"line": 228,
"args": [
"'code'",
@@ -24,6 +27,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 234,
"args": [
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
@@ -35,6 +41,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 234,
"args": [
"[table.planned_start_date]",
+15
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user"
],
"line": 204,
"args": [
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
@@ -23,6 +26,9 @@
{
"object": "sqltable",
"operation": "update",
"tables": [
"res_user"
],
"line": 204,
"args": [],
"kwargs": {
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 207,
"args": [
"'password'"
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 208,
"args": [
"'salt'"
@@ -60,6 +72,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"res_user"
],
"line": 211,
"args": [
"'name'"
+2
View File
@@ -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"
+46 -1
View File
@@ -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"
}
]
}
]
}
+21
View File
@@ -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": {
+6
View File
@@ -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": {
+206
View File
@@ -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']",
+94
View File
@@ -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'"
+120
View File
@@ -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'"
+31
View File
@@ -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]",
+15
View File
@@ -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'"
+2
View File
@@ -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"
+46 -1
View File
@@ -1,5 +1,50 @@
{
"version": "5.8",
"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"
}
]
}
]
}
+21
View File
@@ -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": {
+6
View File
@@ -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": {
+209
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_action_keyword"
],
"line": 153,
"args": [
"['keyword', 'model']",
@@ -31,6 +34,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_action_report"
],
"line": 534,
"args": [
"'report_name_module_uniq'"
@@ -42,6 +48,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_report"
],
"line": 537,
"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": 537,
"args": [
"[action_report.extension]",
@@ -75,6 +87,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 713,
"args": [
"'auto_refresh'"
@@ -86,6 +101,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 716,
"args": [
"'window_name'"
@@ -97,6 +115,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window"
],
"line": 719,
"args": [
"'limit'",
@@ -109,6 +130,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_act_window"
],
"line": 720,
"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": 720,
"args": [
"[act_window.limit]",
@@ -142,6 +169,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_view"
],
"line": 899,
"args": [
"'sequence'",
@@ -162,6 +192,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_domain"
],
"line": 938,
"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": 82,
"args": [
"'next_call'",
@@ -299,6 +356,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 1168,
"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": 1168,
"args": [
"[model_data.module]",
@@ -324,6 +387,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_model_data"
],
"line": 1174,
"args": [
"'db_id'"
@@ -342,9 +408,29 @@
"method": "__register__",
"line": 95,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"ir_module_module",
"ir_module"
],
"line": 105,
"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": 110,
"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": 110,
"args": [
"[sql_table.state]",
@@ -370,6 +459,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_module"
],
"line": 113,
"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": 113,
"args": [
"[sql_table.state]",
@@ -395,6 +490,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 126,
"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": 126,
"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": 354,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"ir_module_module_dependency",
"ir_module_dependency"
],
"line": 358,
"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": 385,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"ir_module_module_config_wizard_item",
"ir_module_config_wizard_item"
],
"line": 394,
"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": 395,
"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": 395,
"args": [],
"kwargs": {
@@ -452,6 +601,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_module_config_wizard_item"
],
"line": 406,
"args": [
"'sequence'",
@@ -472,6 +624,9 @@
{
"object": "table_h",
"operation": "index_action",
"tables": [
"ir_queue"
],
"line": 42,
"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": 36,
"args": [
"'create_uid'",
@@ -513,6 +671,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_translation"
],
"line": 88,
"args": [
"'translation_md5_uniq'"
@@ -525,6 +686,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_translation"
],
"line": 89,
"args": [
"'src_md5'"
@@ -537,6 +701,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_translation"
],
"line": 94,
"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": 94,
"args": [
"[ir_translation.type]",
@@ -562,6 +732,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_translation"
],
"line": 100,
"args": [
"['lang', 'type', 'name']",
@@ -582,6 +755,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)"
@@ -594,6 +770,9 @@
{
"object": "sql_table",
"operation": "select",
"tables": [
"ir_trigger"
],
"line": 85,
"args": [
"sql_table.id",
@@ -609,6 +788,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 94,
"args": [
"'minimum_delay'"
@@ -621,6 +803,9 @@
{
"object": "model",
"operation": "select",
"tables": [
"ir_model"
],
"line": 102,
"args": [
"model.model"
@@ -635,6 +820,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))])"
@@ -647,6 +835,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 104,
"args": [
"[sql_table.action]",
@@ -660,6 +851,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 108,
"args": [
"'action_model'"
@@ -672,6 +866,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 109,
"args": [
"'action_function'"
@@ -692,6 +889,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_trigger_log"
],
"line": 331,
"args": [
"['trigger', 'record_id']",
@@ -712,6 +912,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_ui_icon"
],
"line": 35,
"args": [
"'sequence'",
@@ -732,6 +935,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_ui_view_tree_state"
],
"line": 328,
"args": [
"['model', 'domain', 'user', 'child_name']",
@@ -752,6 +958,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_ui_view_search"
],
"line": 401,
"args": [
"'user'",
+94
View File
@@ -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": 270,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 274,
"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": 283,
"args": [
"[table.party, table.lang]",
@@ -218,6 +293,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 285,
"args": [
"party.id",
@@ -231,6 +309,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 286,
"args": [
"*query"
@@ -243,6 +322,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 287,
"args": [
"'lang'"
@@ -263,6 +345,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
"line": 457,
"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": 457,
"args": [
"party.id",
@@ -291,6 +379,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 474,
"args": [
"'vat_number'"
@@ -303,6 +394,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 475,
"args": [
"'vat_country'"
+120
View File
@@ -2,6 +2,28 @@
"version": "5.8",
"module": "product",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/product/configuration.py",
"class": "ConfigurationDefaultCostPriceMethod",
"method": "__register__",
"line": 53,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_configuration_default_cost_price_method"
],
"line": 54,
"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": 412,
"args": [
"*table.update([table.suffix_code], [table.code])"
@@ -23,6 +48,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"product_product"
],
"line": 412,
"args": [
"[table.suffix_code]",
@@ -35,15 +63,67 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
"class": "ProductListPrice",
"method": "__register__",
"line": 595,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_list_price"
],
"line": 596,
"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": 622,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price_method"
],
"line": 629,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 630,
"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": 645,
"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": 645,
"args": [],
"kwargs": {
@@ -69,6 +153,9 @@
{
"object": "cost_price",
"operation": "select",
"tables": [
"product_cost_price"
],
"line": 647,
"args": [
"*[Column(cost_price, c) for c in columns]"
@@ -86,9 +173,26 @@
"method": "__register__",
"line": 678,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price"
],
"line": 685,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "table",
"operation": "add_column",
"tables": [
"product_cost_price"
],
"line": 692,
"args": [
"'template'",
@@ -102,6 +206,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 699,
"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": 699,
"args": [],
"kwargs": {
@@ -127,6 +237,7 @@
{
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
"operation": "select",
"tables": [],
"line": 702,
"args": [
"*[Column(sql_table, c) for c in columns] + [product.id]"
@@ -141,6 +252,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 709,
"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": 709,
"args": [],
"kwargs": {
@@ -165,6 +282,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"product_cost_price"
],
"line": 712,
"args": [
"'template'"
+37
View File
@@ -2,6 +2,28 @@
"version": "5.8",
"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": 260,
"args": [
"'code'",
@@ -24,6 +49,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 266,
"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": 266,
"args": [
"[table.planned_start_date]",
@@ -49,6 +80,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 273,
"args": [
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
@@ -60,6 +94,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 273,
"args": [
"[table.state]",
+21
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user"
],
"line": 204,
"args": [
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
@@ -23,6 +26,9 @@
{
"object": "sqltable",
"operation": "update",
"tables": [
"res_user"
],
"line": 204,
"args": [],
"kwargs": {
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 207,
"args": [
"'password'"
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 208,
"args": [
"'salt'"
@@ -60,6 +72,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"res_user"
],
"line": 211,
"args": [
"'name'"
@@ -73,6 +88,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 214,
"args": [
"*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))"
@@ -84,6 +102,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 214,
"args": [
"[model_data.noupdate]",
+2
View File
@@ -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"
+3
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"stock_product_location"
],
"line": 49,
"args": [
"'product'",
+69
View File
@@ -2,6 +2,50 @@
"version": "6.0",
"module": "company",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/company/party.py",
"class": "ConfigurationLang",
"method": "__register__",
"line": 21,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_configuration_party_lang"
],
"line": 22,
"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": 51,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 52,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/company/res.py",
"class": "User",
@@ -11,6 +55,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 86,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))"
@@ -23,6 +71,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 86,
"args": [
"[user_company.user, user_company.company]",
@@ -36,6 +88,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 88,
"args": [
"table.id",
@@ -51,6 +106,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 91,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))"
@@ -63,6 +122,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 91,
"args": [
"[user_company.user, user_company.company]",
@@ -76,6 +139,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 93,
"args": [
"table.id",
@@ -91,6 +157,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 97,
"args": [
"'main_company'"
+40
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 42,
"args": [
"'name_uniq'"
@@ -22,6 +25,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 43,
"args": [
"'code_uniq'"
@@ -33,6 +39,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"country_country"
],
"line": 46,
"args": [
"'code'",
@@ -45,6 +54,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 49,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -56,6 +68,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 49,
"args": [],
"kwargs": {
@@ -75,6 +90,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 228,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -86,6 +104,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 228,
"args": [],
"kwargs": {
@@ -102,9 +123,28 @@
"method": "__register__",
"line": 287,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"country_zip",
"country_postal_code"
],
"line": 289,
"args": [
"'country_zip'",
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_rename('country_zip', cls._table)",
"phase": "before_super"
},
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"country_postal_code"
],
"line": 291,
"args": [
"'zip'",
+6
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 76,
"args": [
"*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))"
@@ -22,6 +25,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 76,
"args": [],
"kwargs": {
+226
View File
@@ -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": 567,
"args": [
"'report_name_module_uniq'"
@@ -42,6 +48,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_report"
],
"line": 570,
"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": 570,
"args": [
"[action_report.extension]",
@@ -75,6 +87,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 740,
"args": [
"'auto_refresh'"
@@ -86,6 +101,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 743,
"args": [
"'window_name'"
@@ -97,6 +115,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window"
],
"line": 746,
"args": [
"'limit'",
@@ -109,6 +130,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_act_window"
],
"line": 747,
"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": 747,
"args": [
"[act_window.limit]",
@@ -142,6 +169,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_view"
],
"line": 926,
"args": [
"'sequence'",
@@ -162,6 +192,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_domain"
],
"line": 965,
"args": [
"'sequence'",
@@ -182,6 +215,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_attachment"
],
"line": 68,
"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": 68,
"args": [
"[attachment.file_id]",
@@ -209,6 +248,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_attachment"
],
"line": 73,
"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": 73,
"args": [
"[attachment.file_id]",
@@ -236,6 +281,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 79,
"args": [
"'digest'"
@@ -248,6 +296,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 80,
"args": [
"'collision'"
@@ -260,6 +311,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_attachment"
],
"line": 83,
"args": [
"'resource_name'"
@@ -279,6 +333,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_cron"
],
"line": 95,
"args": [
"'next_call'",
@@ -299,6 +356,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 1212,
"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": 1212,
"args": [
"[model_data.module]",
@@ -324,6 +387,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_model_data"
],
"line": 1218,
"args": [
"'db_id'"
@@ -342,9 +408,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')"
@@ -356,6 +442,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
"line": 111,
"args": [
"[sql_table.state]",
@@ -370,6 +459,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_module"
],
"line": 114,
"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": 114,
"args": [
"[sql_table.state]",
@@ -395,6 +490,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))"
@@ -406,6 +504,9 @@
{
"object": "model_data_sql_table",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 127,
"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": 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')"
@@ -439,6 +585,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 396,
"args": [],
"kwargs": {
@@ -452,6 +601,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_module_config_wizard_item"
],
"line": 407,
"args": [
"'sequence'",
@@ -472,6 +624,9 @@
{
"object": "table_h",
"operation": "index_action",
"tables": [
"ir_queue"
],
"line": 42,
"args": [
"[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]"
@@ -493,6 +648,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_sequence_type"
],
"line": 45,
"args": [
"'code'"
@@ -514,6 +672,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_sequence",
"ir_sequence_type"
],
"line": 128,
"args": [
"*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))"
@@ -526,6 +688,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_sequence",
"ir_sequence_type"
],
"line": 128,
"args": [
"[table.sequence_type]",
@@ -539,6 +705,9 @@
{
"object": "sequence_type",
"operation": "select",
"tables": [
"ir_sequence_type"
],
"line": 130,
"args": [
"sequence_type.id"
@@ -553,6 +722,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_sequence"
],
"line": 133,
"args": [
"'code'"
@@ -573,6 +745,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_session"
],
"line": 36,
"args": [
"'create_uid'",
@@ -593,6 +768,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_translation"
],
"line": 88,
"args": [
"'translation_md5_uniq'"
@@ -605,6 +783,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_translation"
],
"line": 89,
"args": [
"'src_md5'"
@@ -617,6 +798,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_translation"
],
"line": 94,
"args": [
"*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')"
@@ -628,6 +812,9 @@
{
"object": "ir_translation",
"operation": "update",
"tables": [
"ir_translation"
],
"line": 94,
"args": [
"[ir_translation.type]",
@@ -642,6 +829,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_translation"
],
"line": 100,
"args": [
"['lang', 'type', 'name']",
@@ -662,6 +852,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)"
@@ -674,6 +867,9 @@
{
"object": "sql_table",
"operation": "select",
"tables": [
"ir_trigger"
],
"line": 85,
"args": [
"sql_table.id",
@@ -689,6 +885,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 94,
"args": [
"'minimum_delay'"
@@ -701,6 +900,9 @@
{
"object": "model",
"operation": "select",
"tables": [
"ir_model"
],
"line": 102,
"args": [
"model.model"
@@ -715,6 +917,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))])"
@@ -727,6 +932,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 104,
"args": [
"[sql_table.action]",
@@ -740,6 +948,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 108,
"args": [
"'action_model'"
@@ -752,6 +963,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 109,
"args": [
"'action_function'"
@@ -772,6 +986,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_trigger_log"
],
"line": 331,
"args": [
"['trigger', 'record_id']",
@@ -792,6 +1009,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_ui_icon"
],
"line": 35,
"args": [
"'sequence'",
@@ -812,6 +1032,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_ui_view_tree_state"
],
"line": 321,
"args": [
"['model', 'domain', 'user', 'child_name']",
@@ -832,6 +1055,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_ui_view_search"
],
"line": 394,
"args": [
"'user'",
+103
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "column_rename",
"tables": [
"party_address"
],
"line": 73,
"args": [
"'zip'",
@@ -23,6 +26,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_address"
],
"line": 84,
"args": [
"*sql_table.update([sql_table.street], [value])"
@@ -35,6 +41,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"party_address"
],
"line": 84,
"args": [
"[sql_table.street]",
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"party_address"
],
"line": 87,
"args": [
"'streetbis'"
@@ -68,6 +80,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"country_country"
],
"line": 293,
"args": [
"[table.country_code]",
@@ -81,6 +97,9 @@
{
"object": "country",
"operation": "select",
"tables": [
"country_country"
],
"line": 295,
"args": [
"country.code"
@@ -95,6 +114,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 298,
"args": [
"*query"
@@ -107,6 +127,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 299,
"args": [
"'country'"
@@ -119,6 +142,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"ir_lang"
],
"line": 303,
"args": [
"[table.language_code]",
@@ -132,6 +159,9 @@
{
"object": "language",
"operation": "select",
"tables": [
"ir_lang"
],
"line": 305,
"args": [
"Substring(language.code, 0, 2)"
@@ -146,6 +176,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 308,
"args": [
"*query"
@@ -158,6 +189,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 309,
"args": [
"'language'"
@@ -178,6 +212,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"party_category"
],
"line": 41,
"args": [
"'name_parent_uniq'"
@@ -188,6 +225,26 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/configuration.py",
"class": "_ConfigurationValue",
"method": "__register__",
"line": 97,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 98,
"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",
@@ -197,6 +254,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"party_party"
],
"line": 90,
"args": [
"'name'",
@@ -214,9 +274,27 @@
"method": "__register__",
"line": 322,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 326,
"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": 335,
"args": [
"[table.party, table.lang]",
@@ -230,6 +308,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 337,
"args": [
"party.id",
@@ -243,6 +324,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 338,
"args": [
"*query"
@@ -255,6 +337,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 339,
"args": [
"'lang'"
@@ -275,6 +360,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
"line": 528,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
@@ -287,6 +375,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 528,
"args": [
"party.id",
@@ -303,6 +394,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 545,
"args": [
"'vat_number'"
@@ -315,6 +409,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 546,
"args": [
"'vat_country'"
@@ -327,6 +424,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 549,
"args": [
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
@@ -338,6 +438,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 549,
"args": [
"[table.type]",
+120
View File
@@ -2,6 +2,28 @@
"version": "6.0",
"module": "product",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/product/configuration.py",
"class": "ConfigurationDefaultCostPriceMethod",
"method": "__register__",
"line": 54,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_configuration_default_cost_price_method"
],
"line": 55,
"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": 427,
"args": [
"*table.update([table.suffix_code], [table.code])"
@@ -23,6 +48,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"product_product"
],
"line": 427,
"args": [
"[table.suffix_code]",
@@ -35,15 +63,67 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
"class": "ProductListPrice",
"method": "__register__",
"line": 616,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_list_price"
],
"line": 617,
"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": 647,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price_method"
],
"line": 654,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 655,
"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": 670,
"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": 670,
"args": [],
"kwargs": {
@@ -69,6 +153,9 @@
{
"object": "cost_price",
"operation": "select",
"tables": [
"product_cost_price"
],
"line": 672,
"args": [
"*[Column(cost_price, c) for c in columns]"
@@ -86,9 +173,26 @@
"method": "__register__",
"line": 707,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price"
],
"line": 714,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "table",
"operation": "add_column",
"tables": [
"product_cost_price"
],
"line": 721,
"args": [
"'template'",
@@ -102,6 +206,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 728,
"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": 728,
"args": [],
"kwargs": {
@@ -127,6 +237,7 @@
{
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
"operation": "select",
"tables": [],
"line": 731,
"args": [
"*[Column(sql_table, c) for c in columns] + [product.id]"
@@ -141,6 +252,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 738,
"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": 738,
"args": [],
"kwargs": {
@@ -165,6 +282,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"product_cost_price"
],
"line": 741,
"args": [
"'template'"
+37
View File
@@ -2,6 +2,28 @@
"version": "6.0",
"module": "production",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/production/configuration.py",
"class": "ConfigurationProductionSequence",
"method": "__register__",
"line": 45,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"production_configuration_production_sequence"
],
"line": 46,
"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": 270,
"args": [
"'code'",
@@ -24,6 +49,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 276,
"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": 276,
"args": [
"[table.planned_start_date]",
@@ -49,6 +80,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 283,
"args": [
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
@@ -60,6 +94,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 283,
"args": [
"[table.state]",
+21
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user"
],
"line": 210,
"args": [
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
@@ -23,6 +26,9 @@
{
"object": "sqltable",
"operation": "update",
"tables": [
"res_user"
],
"line": 210,
"args": [],
"kwargs": {
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 213,
"args": [
"'password'"
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 214,
"args": [
"'salt'"
@@ -60,6 +72,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"res_user"
],
"line": 217,
"args": [
"'name'"
@@ -73,6 +88,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 220,
"args": [
"*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))"
@@ -84,6 +102,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 220,
"args": [
"[model_data.noupdate]",
+2
View File
@@ -11,6 +11,7 @@
{
"object": "cursor_select",
"operation": "execute",
"tables": [],
"line": 87,
"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": 87,
"args": [
"template_lot_type.template"
+3
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"stock_product_location"
],
"line": 49,
"args": [
"'product'",
+69
View File
@@ -2,6 +2,50 @@
"version": "6.2",
"module": "company",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/company/party.py",
"class": "ConfigurationLang",
"method": "__register__",
"line": 21,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_configuration_party_lang"
],
"line": 22,
"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": 51,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 52,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/company/res.py",
"class": "User",
@@ -11,6 +55,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 86,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))"
@@ -23,6 +71,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 86,
"args": [
"[user_company.user, user_company.company]",
@@ -36,6 +88,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 88,
"args": [
"table.id",
@@ -51,6 +106,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 91,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))"
@@ -63,6 +122,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 91,
"args": [
"[user_company.user, user_company.company]",
@@ -76,6 +139,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 93,
"args": [
"table.id",
@@ -91,6 +157,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 97,
"args": [
"'main_company'"
+40
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 42,
"args": [
"'name_uniq'"
@@ -22,6 +25,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 43,
"args": [
"'code_uniq'"
@@ -33,6 +39,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"country_country"
],
"line": 46,
"args": [
"'code'",
@@ -45,6 +54,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 49,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -56,6 +68,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 49,
"args": [],
"kwargs": {
@@ -75,6 +90,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 228,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -86,6 +104,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 228,
"args": [],
"kwargs": {
@@ -102,9 +123,28 @@
"method": "__register__",
"line": 287,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"country_zip",
"country_postal_code"
],
"line": 289,
"args": [
"'country_zip'",
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_rename('country_zip', cls._table)",
"phase": "before_super"
},
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"country_postal_code"
],
"line": 291,
"args": [
"'zip'",
+6
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 78,
"args": [
"*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))"
@@ -22,6 +25,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 78,
"args": [],
"kwargs": {
+226
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_action_keyword"
],
"line": 171,
"args": [
"['keyword', 'model']",
@@ -31,6 +34,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_action_report"
],
"line": 571,
"args": [
"'report_name_module_uniq'"
@@ -42,6 +48,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_report"
],
"line": 574,
"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": 574,
"args": [
"[action_report.extension]",
@@ -75,6 +87,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 767,
"args": [
"'auto_refresh'"
@@ -86,6 +101,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 770,
"args": [
"'window_name'"
@@ -97,6 +115,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window"
],
"line": 773,
"args": [
"'limit'",
@@ -109,6 +130,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_act_window"
],
"line": 774,
"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": 774,
"args": [
"[act_window.limit]",
@@ -142,6 +169,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_view"
],
"line": 953,
"args": [
"'sequence'",
@@ -162,6 +192,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_domain"
],
"line": 992,
"args": [
"'sequence'",
@@ -182,6 +215,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_attachment"
],
"line": 68,
"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": 68,
"args": [
"[attachment.file_id]",
@@ -209,6 +248,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_attachment"
],
"line": 73,
"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": 73,
"args": [
"[attachment.file_id]",
@@ -236,6 +281,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 79,
"args": [
"'digest'"
@@ -248,6 +296,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 80,
"args": [
"'collision'"
@@ -260,6 +311,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_attachment"
],
"line": 83,
"args": [
"'resource_name'"
@@ -279,6 +333,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_cron"
],
"line": 97,
"args": [
"'next_call'",
@@ -299,6 +356,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 1208,
"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": 1208,
"args": [
"[model_data.module]",
@@ -324,6 +387,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_model_data"
],
"line": 1214,
"args": [
"'db_id'"
@@ -342,9 +408,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')"
@@ -356,6 +442,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
"line": 111,
"args": [
"[sql_table.state]",
@@ -370,6 +459,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_module"
],
"line": 114,
"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": 114,
"args": [
"[sql_table.state]",
@@ -395,6 +490,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))"
@@ -406,6 +504,9 @@
{
"object": "model_data_sql_table",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 127,
"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": 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')"
@@ -439,6 +585,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 396,
"args": [],
"kwargs": {
@@ -452,6 +601,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_module_config_wizard_item"
],
"line": 407,
"args": [
"'sequence'",
@@ -472,6 +624,9 @@
{
"object": "table_h",
"operation": "index_action",
"tables": [
"ir_queue"
],
"line": 42,
"args": [
"[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]"
@@ -493,6 +648,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_sequence_type"
],
"line": 49,
"args": [
"'code'"
@@ -514,6 +672,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_sequence",
"ir_sequence_type"
],
"line": 132,
"args": [
"*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))"
@@ -526,6 +688,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_sequence",
"ir_sequence_type"
],
"line": 132,
"args": [
"[table.sequence_type]",
@@ -539,6 +705,9 @@
{
"object": "sequence_type",
"operation": "select",
"tables": [
"ir_sequence_type"
],
"line": 134,
"args": [
"sequence_type.id"
@@ -553,6 +722,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_sequence"
],
"line": 137,
"args": [
"'code'"
@@ -573,6 +745,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_session"
],
"line": 36,
"args": [
"'create_uid'",
@@ -593,6 +768,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_translation"
],
"line": 88,
"args": [
"'translation_md5_uniq'"
@@ -605,6 +783,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_translation"
],
"line": 89,
"args": [
"'src_md5'"
@@ -617,6 +798,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_translation"
],
"line": 94,
"args": [
"*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')"
@@ -628,6 +812,9 @@
{
"object": "ir_translation",
"operation": "update",
"tables": [
"ir_translation"
],
"line": 94,
"args": [
"[ir_translation.type]",
@@ -642,6 +829,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_translation"
],
"line": 100,
"args": [
"['lang', 'type', 'name']",
@@ -662,6 +852,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)"
@@ -674,6 +867,9 @@
{
"object": "sql_table",
"operation": "select",
"tables": [
"ir_trigger"
],
"line": 85,
"args": [
"sql_table.id",
@@ -689,6 +885,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 94,
"args": [
"'minimum_delay'"
@@ -701,6 +900,9 @@
{
"object": "model",
"operation": "select",
"tables": [
"ir_model"
],
"line": 102,
"args": [
"model.model"
@@ -715,6 +917,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))])"
@@ -727,6 +932,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 104,
"args": [
"[sql_table.action]",
@@ -740,6 +948,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 108,
"args": [
"'action_model'"
@@ -752,6 +963,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 109,
"args": [
"'action_function'"
@@ -772,6 +986,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_trigger_log"
],
"line": 331,
"args": [
"['trigger', 'record_id']",
@@ -792,6 +1009,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_ui_icon"
],
"line": 35,
"args": [
"'sequence'",
@@ -812,6 +1032,9 @@
{
"object": "table",
"operation": "index_action",
"tables": [
"ir_ui_view_tree_state"
],
"line": 321,
"args": [
"['model', 'domain', 'user', 'child_name']",
@@ -832,6 +1055,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_ui_view_search"
],
"line": 394,
"args": [
"'user'",
+103
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "column_rename",
"tables": [
"party_address"
],
"line": 73,
"args": [
"'zip'",
@@ -23,6 +26,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_address"
],
"line": 84,
"args": [
"*sql_table.update([sql_table.street], [value])"
@@ -35,6 +41,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"party_address"
],
"line": 84,
"args": [
"[sql_table.street]",
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"party_address"
],
"line": 87,
"args": [
"'streetbis'"
@@ -68,6 +80,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"country_country"
],
"line": 286,
"args": [
"[table.country_code]",
@@ -81,6 +97,9 @@
{
"object": "country",
"operation": "select",
"tables": [
"country_country"
],
"line": 288,
"args": [
"country.code"
@@ -95,6 +114,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 291,
"args": [
"*query"
@@ -107,6 +127,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 292,
"args": [
"'country'"
@@ -119,6 +142,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"ir_lang"
],
"line": 296,
"args": [
"[table.language_code]",
@@ -132,6 +159,9 @@
{
"object": "language",
"operation": "select",
"tables": [
"ir_lang"
],
"line": 298,
"args": [
"Substring(language.code, 0, 2)"
@@ -146,6 +176,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 301,
"args": [
"*query"
@@ -158,6 +189,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 302,
"args": [
"'language'"
@@ -178,6 +212,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"party_category"
],
"line": 41,
"args": [
"'name_parent_uniq'"
@@ -188,6 +225,26 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/configuration.py",
"class": "_ConfigurationValue",
"method": "__register__",
"line": 97,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 98,
"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",
@@ -197,6 +254,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"party_party"
],
"line": 109,
"args": [
"'name'",
@@ -214,9 +274,27 @@
"method": "__register__",
"line": 357,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 361,
"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": 370,
"args": [
"[table.party, table.lang]",
@@ -230,6 +308,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 372,
"args": [
"party.id",
@@ -243,6 +324,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 373,
"args": [
"*query"
@@ -255,6 +337,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 374,
"args": [
"'lang'"
@@ -275,6 +360,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
"line": 638,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
@@ -287,6 +375,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 638,
"args": [
"party.id",
@@ -303,6 +394,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 655,
"args": [
"'vat_number'"
@@ -315,6 +409,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 656,
"args": [
"'vat_country'"
@@ -327,6 +424,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 659,
"args": [
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
@@ -338,6 +438,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 659,
"args": [
"[table.type]",
+120
View File
@@ -2,6 +2,28 @@
"version": "6.2",
"module": "product",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/product/configuration.py",
"class": "ConfigurationDefaultCostPriceMethod",
"method": "__register__",
"line": 54,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_configuration_default_cost_price_method"
],
"line": 55,
"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": 443,
"args": [
"*table.update([table.suffix_code], [table.code])"
@@ -23,6 +48,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"product_product"
],
"line": 443,
"args": [
"[table.suffix_code]",
@@ -35,15 +63,67 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
"class": "ProductListPrice",
"method": "__register__",
"line": 646,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_list_price"
],
"line": 647,
"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": 677,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price_method"
],
"line": 684,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 685,
"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": 700,
"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": 700,
"args": [],
"kwargs": {
@@ -69,6 +153,9 @@
{
"object": "cost_price",
"operation": "select",
"tables": [
"product_cost_price"
],
"line": 702,
"args": [
"*[Column(cost_price, c) for c in columns]"
@@ -86,9 +173,26 @@
"method": "__register__",
"line": 742,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price"
],
"line": 749,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "table",
"operation": "add_column",
"tables": [
"product_cost_price"
],
"line": 756,
"args": [
"'template'",
@@ -102,6 +206,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 763,
"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": 763,
"args": [],
"kwargs": {
@@ -127,6 +237,7 @@
{
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
"operation": "select",
"tables": [],
"line": 766,
"args": [
"*[Column(sql_table, c) for c in columns] + [product.id]"
@@ -141,6 +252,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 773,
"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": 773,
"args": [],
"kwargs": {
@@ -165,6 +282,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"product_cost_price"
],
"line": 776,
"args": [
"'template'"
+40
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"production_bom_input"
],
"line": 75,
"args": [
"'product_bom_uniq'"
@@ -21,6 +24,28 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/production/configuration.py",
"class": "ConfigurationProductionSequence",
"method": "__register__",
"line": 45,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"production_configuration_production_sequence"
],
"line": 46,
"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",
@@ -30,6 +55,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
"line": 271,
"args": [
"'code'",
@@ -43,6 +71,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 277,
"args": [
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
@@ -54,6 +85,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 277,
"args": [
"[table.planned_start_date]",
@@ -68,6 +102,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 284,
"args": [
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
@@ -79,6 +116,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 284,
"args": [
"[table.state]",
+21
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user"
],
"line": 218,
"args": [
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
@@ -23,6 +26,9 @@
{
"object": "sqltable",
"operation": "update",
"tables": [
"res_user"
],
"line": 218,
"args": [],
"kwargs": {
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 221,
"args": [
"'password'"
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 222,
"args": [
"'salt'"
@@ -60,6 +72,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"res_user"
],
"line": 225,
"args": [
"'name'"
@@ -73,6 +88,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 228,
"args": [
"*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))"
@@ -84,6 +102,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 228,
"args": [
"[model_data.noupdate]",
+2
View File
@@ -11,6 +11,7 @@
{
"object": "cursor_select",
"operation": "execute",
"tables": [],
"line": 84,
"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": 84,
"args": [
"template_lot_type.template"
+3
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"stock_product_location"
],
"line": 49,
"args": [
"'product'",
+69
View File
@@ -2,6 +2,50 @@
"version": "6.4",
"module": "company",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/company/party.py",
"class": "ConfigurationLang",
"method": "__register__",
"line": 21,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_configuration_party_lang"
],
"line": 22,
"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": 50,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 51,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/company/res.py",
"class": "User",
@@ -11,6 +55,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 83,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))"
@@ -23,6 +71,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 83,
"args": [
"[user_company.user, user_company.company]",
@@ -36,6 +88,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 85,
"args": [
"table.id",
@@ -51,6 +106,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 88,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))"
@@ -63,6 +122,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 88,
"args": [
"[user_company.user, user_company.company]",
@@ -76,6 +139,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 90,
"args": [
"table.id",
@@ -91,6 +157,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 94,
"args": [
"'main_company'"
+43
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 42,
"args": [
"'name_uniq'"
@@ -22,6 +25,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 43,
"args": [
"'code_uniq'"
@@ -33,6 +39,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"country_country"
],
"line": 46,
"args": [
"'code'",
@@ -45,6 +54,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 49,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -56,6 +68,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 49,
"args": [],
"kwargs": {
@@ -75,6 +90,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 267,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -86,6 +104,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 267,
"args": [],
"kwargs": {
@@ -97,6 +118,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"country_subdivision"
],
"line": 271,
"args": [
"'type'"
@@ -115,9 +139,28 @@
"method": "__register__",
"line": 328,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"country_zip",
"country_postal_code"
],
"line": 330,
"args": [
"'country_zip'",
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_rename('country_zip', cls._table)",
"phase": "before_super"
},
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"country_postal_code"
],
"line": 332,
"args": [
"'zip'",
+6
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 76,
"args": [
"*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))"
@@ -22,6 +25,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 76,
"args": [],
"kwargs": {
+232
View File
@@ -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'",
+103
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "column_rename",
"tables": [
"party_address"
],
"line": 82,
"args": [
"'zip'",
@@ -23,6 +26,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_address"
],
"line": 93,
"args": [
"*sql_table.update([sql_table.street], [value])"
@@ -35,6 +41,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"party_address"
],
"line": 93,
"args": [
"[sql_table.street]",
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"party_address"
],
"line": 96,
"args": [
"'streetbis'"
@@ -68,6 +80,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"country_country"
],
"line": 310,
"args": [
"[table.country_code]",
@@ -81,6 +97,9 @@
{
"object": "country",
"operation": "select",
"tables": [
"country_country"
],
"line": 312,
"args": [
"country.code"
@@ -95,6 +114,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 315,
"args": [
"*query"
@@ -107,6 +127,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 316,
"args": [
"'country'"
@@ -119,6 +142,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"ir_lang"
],
"line": 320,
"args": [
"[table.language_code]",
@@ -132,6 +159,9 @@
{
"object": "language",
"operation": "select",
"tables": [
"ir_lang"
],
"line": 322,
"args": [
"Substring(language.code, 0, 2)"
@@ -146,6 +176,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 325,
"args": [
"*query"
@@ -158,6 +189,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 326,
"args": [
"'language'"
@@ -178,6 +212,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"party_category"
],
"line": 41,
"args": [
"'name_parent_uniq'"
@@ -188,6 +225,26 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/configuration.py",
"class": "_ConfigurationValue",
"method": "__register__",
"line": 99,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 100,
"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",
@@ -197,6 +254,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"party_party"
],
"line": 108,
"args": [
"'name'",
@@ -214,9 +274,27 @@
"method": "__register__",
"line": 356,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 360,
"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": 369,
"args": [
"[table.party, table.lang]",
@@ -230,6 +308,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 371,
"args": [
"party.id",
@@ -243,6 +324,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 372,
"args": [
"*query"
@@ -255,6 +337,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 373,
"args": [
"'lang'"
@@ -275,6 +360,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
"line": 649,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
@@ -287,6 +375,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 649,
"args": [
"party.id",
@@ -303,6 +394,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 666,
"args": [
"'vat_number'"
@@ -315,6 +409,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 667,
"args": [
"'vat_country'"
@@ -327,6 +424,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 670,
"args": [
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
@@ -338,6 +438,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 670,
"args": [
"[table.type]",
+120
View File
@@ -2,6 +2,28 @@
"version": "6.4",
"module": "product",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/product/configuration.py",
"class": "ConfigurationDefaultCostPriceMethod",
"method": "__register__",
"line": 54,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_configuration_default_cost_price_method"
],
"line": 55,
"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": 435,
"args": [
"*table.update([table.suffix_code], [table.code])"
@@ -23,6 +48,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"product_product"
],
"line": 435,
"args": [
"[table.suffix_code]",
@@ -35,15 +63,67 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
"class": "ProductListPrice",
"method": "__register__",
"line": 638,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_list_price"
],
"line": 639,
"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": 669,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price_method"
],
"line": 676,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 677,
"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": 692,
"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": 692,
"args": [],
"kwargs": {
@@ -69,6 +153,9 @@
{
"object": "cost_price",
"operation": "select",
"tables": [
"product_cost_price"
],
"line": 694,
"args": [
"*[Column(cost_price, c) for c in columns]"
@@ -86,9 +173,26 @@
"method": "__register__",
"line": 734,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price"
],
"line": 741,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "table",
"operation": "add_column",
"tables": [
"product_cost_price"
],
"line": 748,
"args": [
"'template'",
@@ -102,6 +206,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 755,
"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": 755,
"args": [],
"kwargs": {
@@ -127,6 +237,7 @@
{
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
"operation": "select",
"tables": [],
"line": 758,
"args": [
"*[Column(sql_table, c) for c in columns] + [product.id]"
@@ -141,6 +252,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 765,
"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": 765,
"args": [],
"kwargs": {
@@ -165,6 +282,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"product_cost_price"
],
"line": 768,
"args": [
"'template'"
+40
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"production_bom_input"
],
"line": 75,
"args": [
"'product_bom_uniq'"
@@ -21,6 +24,28 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/production/configuration.py",
"class": "ConfigurationProductionSequence",
"method": "__register__",
"line": 44,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"production_configuration_production_sequence"
],
"line": 45,
"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",
@@ -30,6 +55,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
"line": 256,
"args": [
"'code'",
@@ -43,6 +71,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 262,
"args": [
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
@@ -54,6 +85,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 262,
"args": [
"[table.planned_start_date]",
@@ -68,6 +102,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 269,
"args": [
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
@@ -79,6 +116,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 269,
"args": [
"[table.state]",
+21
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user"
],
"line": 215,
"args": [
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
@@ -23,6 +26,9 @@
{
"object": "sqltable",
"operation": "update",
"tables": [
"res_user"
],
"line": 215,
"args": [],
"kwargs": {
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 218,
"args": [
"'password'"
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 219,
"args": [
"'salt'"
@@ -60,6 +72,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"res_user"
],
"line": 222,
"args": [
"'name'"
@@ -73,6 +88,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 225,
"args": [
"*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))"
@@ -84,6 +102,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 225,
"args": [
"[model_data.noupdate]",
+2
View File
@@ -11,6 +11,7 @@
{
"object": "cursor_select",
"operation": "execute",
"tables": [],
"line": 82,
"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": 82,
"args": [
"template_lot_type.template"
+3
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"stock_product_location"
],
"line": 47,
"args": [
"'product'",
+69
View File
@@ -2,6 +2,50 @@
"version": "6.6",
"module": "company",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/company/party.py",
"class": "ConfigurationLang",
"method": "__register__",
"line": 21,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_configuration_party_lang"
],
"line": 22,
"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": 50,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 51,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/company/res.py",
"class": "User",
@@ -11,6 +55,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 83,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))"
@@ -23,6 +71,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 83,
"args": [
"[user_company.user, user_company.company]",
@@ -36,6 +88,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 85,
"args": [
"table.id",
@@ -51,6 +106,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 88,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))"
@@ -63,6 +122,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 88,
"args": [
"[user_company.user, user_company.company]",
@@ -76,6 +139,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 90,
"args": [
"table.id",
@@ -91,6 +157,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 94,
"args": [
"'main_company'"
+46
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 189,
"args": [
"'name_uniq'"
@@ -22,6 +25,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 190,
"args": [
"'code_uniq'"
@@ -33,6 +39,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"country_country"
],
"line": 193,
"args": [
"'code'",
@@ -45,6 +54,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 196,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -56,6 +68,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 196,
"args": [],
"kwargs": {
@@ -75,6 +90,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 444,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -86,6 +104,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 444,
"args": [],
"kwargs": {
@@ -97,6 +118,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"country_subdivision"
],
"line": 448,
"args": [
"'type'"
@@ -110,6 +134,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"country_subdivision"
],
"line": 451,
"args": [
"'code'"
@@ -128,9 +155,28 @@
"method": "__register__",
"line": 516,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"country_zip",
"country_postal_code"
],
"line": 518,
"args": [
"'country_zip'",
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_rename('country_zip', cls._table)",
"phase": "before_super"
},
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"country_postal_code"
],
"line": 520,
"args": [
"'zip'",
+6
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 77,
"args": [
"*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))"
@@ -22,6 +25,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 77,
"args": [],
"kwargs": {
+211
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_action_report"
],
"line": 579,
"args": [
"'report_name_module_uniq'"
@@ -22,6 +25,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_report"
],
"line": 582,
"args": [
"*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')"
@@ -33,6 +39,9 @@
{
"object": "action_report",
"operation": "update",
"tables": [
"ir_action_report"
],
"line": 582,
"args": [
"[action_report.extension]",
@@ -55,6 +64,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 778,
"args": [
"'auto_refresh'"
@@ -66,6 +78,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 781,
"args": [
"'window_name'"
@@ -77,6 +92,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window"
],
"line": 784,
"args": [
"'limit'",
@@ -89,6 +107,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_act_window"
],
"line": 785,
"args": [
"*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)"
@@ -100,6 +121,9 @@
{
"object": "act_window",
"operation": "update",
"tables": [
"ir_action_act_window"
],
"line": 785,
"args": [
"[act_window.limit]",
@@ -122,6 +146,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_view"
],
"line": 972,
"args": [
"'sequence'",
@@ -142,6 +169,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_domain"
],
"line": 1011,
"args": [
"'sequence'",
@@ -162,6 +192,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))"
@@ -174,6 +207,9 @@
{
"object": "attachment",
"operation": "update",
"tables": [
"ir_attachment"
],
"line": 69,
"args": [
"[attachment.file_id]",
@@ -189,6 +225,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))"
@@ -201,6 +240,9 @@
{
"object": "attachment",
"operation": "update",
"tables": [
"ir_attachment"
],
"line": 74,
"args": [
"[attachment.file_id]",
@@ -216,6 +258,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 80,
"args": [
"'digest'"
@@ -228,6 +273,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 81,
"args": [
"'collision'"
@@ -240,6 +288,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_attachment"
],
"line": 84,
"args": [
"'resource_name'"
@@ -259,6 +310,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_cron"
],
"line": 103,
"args": [
"'next_call'",
@@ -279,6 +333,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"ir_model_button"
],
"line": 892,
"args": [
"'name_model_uniq'"
@@ -298,6 +355,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 1217,
"args": [
"*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))"
@@ -309,6 +369,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 1217,
"args": [
"[model_data.module]",
@@ -323,6 +386,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_model_data"
],
"line": 1223,
"args": [
"'db_id'"
@@ -341,9 +407,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')"
@@ -355,6 +441,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
"line": 111,
"args": [
"[sql_table.state]",
@@ -369,6 +458,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_module"
],
"line": 114,
"args": [
"*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')"
@@ -380,6 +472,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
"line": 114,
"args": [
"[sql_table.state]",
@@ -394,6 +489,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))"
@@ -405,6 +503,9 @@
{
"object": "model_data_sql_table",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 127,
"args": [
"[model_data_sql_table.module]",
@@ -418,15 +519,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')"
@@ -438,6 +584,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 396,
"args": [],
"kwargs": {
@@ -451,6 +600,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_module_config_wizard_item"
],
"line": 407,
"args": [
"'sequence'",
@@ -471,6 +623,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_sequence_type"
],
"line": 47,
"args": [
"'code'"
@@ -492,6 +647,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))"
@@ -504,6 +663,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_sequence",
"ir_sequence_type"
],
"line": 130,
"args": [
"[table.sequence_type]",
@@ -517,6 +680,9 @@
{
"object": "sequence_type",
"operation": "select",
"tables": [
"ir_sequence_type"
],
"line": 132,
"args": [
"sequence_type.id"
@@ -531,6 +697,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_sequence"
],
"line": 135,
"args": [
"'code'"
@@ -551,6 +720,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_translation"
],
"line": 118,
"args": [
"'translation_md5_uniq'"
@@ -563,6 +735,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_translation"
],
"line": 119,
"args": [
"'src_md5'"
@@ -575,6 +750,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_translation"
],
"line": 124,
"args": [
"*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')"
@@ -586,6 +764,9 @@
{
"object": "ir_translation",
"operation": "update",
"tables": [
"ir_translation"
],
"line": 124,
"args": [
"[ir_translation.type]",
@@ -608,6 +789,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)"
@@ -620,6 +804,9 @@
{
"object": "sql_table",
"operation": "select",
"tables": [
"ir_trigger"
],
"line": 86,
"args": [
"sql_table.id",
@@ -635,6 +822,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 95,
"args": [
"'minimum_delay'"
@@ -647,6 +837,9 @@
{
"object": "model",
"operation": "select",
"tables": [
"ir_model"
],
"line": 103,
"args": [
"model.model"
@@ -661,6 +854,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 105,
"args": [
"*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])"
@@ -673,6 +869,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 105,
"args": [
"[sql_table.action]",
@@ -686,6 +885,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 109,
"args": [
"'action_model'"
@@ -698,6 +900,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 110,
"args": [
"'action_function'"
@@ -718,6 +923,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_ui_icon"
],
"line": 37,
"args": [
"'sequence'",
@@ -738,6 +946,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_ui_view_search"
],
"line": 606,
"args": [
"'user'",
+103
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "column_rename",
"tables": [
"party_address"
],
"line": 91,
"args": [
"'zip'",
@@ -23,6 +26,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_address"
],
"line": 102,
"args": [
"*sql_table.update([sql_table.street], [value])"
@@ -35,6 +41,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"party_address"
],
"line": 102,
"args": [
"[sql_table.street]",
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"party_address"
],
"line": 105,
"args": [
"'streetbis'"
@@ -68,6 +80,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"country_country"
],
"line": 327,
"args": [
"[table.country_code]",
@@ -81,6 +97,9 @@
{
"object": "country",
"operation": "select",
"tables": [
"country_country"
],
"line": 329,
"args": [
"country.code"
@@ -95,6 +114,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 332,
"args": [
"*query"
@@ -107,6 +127,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 333,
"args": [
"'country'"
@@ -119,6 +142,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"ir_lang"
],
"line": 337,
"args": [
"[table.language_code]",
@@ -132,6 +159,9 @@
{
"object": "language",
"operation": "select",
"tables": [
"ir_lang"
],
"line": 339,
"args": [
"Substring(language.code, 0, 2)"
@@ -146,6 +176,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 342,
"args": [
"*query"
@@ -158,6 +189,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 343,
"args": [
"'language'"
@@ -178,6 +212,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"party_category"
],
"line": 41,
"args": [
"'name_parent_uniq'"
@@ -188,6 +225,26 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/configuration.py",
"class": "_ConfigurationValue",
"method": "__register__",
"line": 99,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 100,
"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",
@@ -197,6 +254,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"party_party"
],
"line": 116,
"args": [
"'name'",
@@ -214,9 +274,27 @@
"method": "__register__",
"line": 345,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 349,
"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": 358,
"args": [
"[table.party, table.lang]",
@@ -230,6 +308,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 360,
"args": [
"party.id",
@@ -243,6 +324,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 361,
"args": [
"*query"
@@ -255,6 +337,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 362,
"args": [
"'lang'"
@@ -275,6 +360,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
"line": 638,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
@@ -287,6 +375,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 638,
"args": [
"party.id",
@@ -303,6 +394,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 655,
"args": [
"'vat_number'"
@@ -315,6 +409,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 656,
"args": [
"'vat_country'"
@@ -327,6 +424,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 659,
"args": [
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
@@ -338,6 +438,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 659,
"args": [
"[table.type]",
+120
View File
@@ -2,6 +2,28 @@
"version": "6.6",
"module": "product",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/product/configuration.py",
"class": "ConfigurationDefaultCostPriceMethod",
"method": "__register__",
"line": 54,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_configuration_default_cost_price_method"
],
"line": 55,
"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": 455,
"args": [
"*table.update([table.suffix_code], [table.code])"
@@ -23,6 +48,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"product_product"
],
"line": 455,
"args": [
"[table.suffix_code]",
@@ -35,15 +63,67 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
"class": "ProductListPrice",
"method": "__register__",
"line": 677,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_list_price"
],
"line": 678,
"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": 708,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price_method"
],
"line": 715,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 716,
"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": 730,
"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": 730,
"args": [],
"kwargs": {
@@ -69,6 +153,9 @@
{
"object": "cost_price",
"operation": "select",
"tables": [
"product_cost_price"
],
"line": 732,
"args": [
"*[Column(cost_price, c) for c in columns]"
@@ -86,9 +173,26 @@
"method": "__register__",
"line": 772,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price"
],
"line": 779,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "table",
"operation": "add_column",
"tables": [
"product_cost_price"
],
"line": 786,
"args": [
"'template'",
@@ -102,6 +206,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 793,
"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": 793,
"args": [],
"kwargs": {
@@ -127,6 +237,7 @@
{
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
"operation": "select",
"tables": [],
"line": 796,
"args": [
"*[Column(sql_table, c) for c in columns] + [product.id]"
@@ -141,6 +252,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 803,
"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": 803,
"args": [],
"kwargs": {
@@ -165,6 +282,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"product_cost_price"
],
"line": 806,
"args": [
"'template'"
+40
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"production_bom_input"
],
"line": 75,
"args": [
"'product_bom_uniq'"
@@ -21,6 +24,28 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/production/configuration.py",
"class": "ConfigurationProductionSequence",
"method": "__register__",
"line": 44,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"production_configuration_production_sequence"
],
"line": 45,
"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",
@@ -30,6 +55,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
"line": 272,
"args": [
"'code'",
@@ -43,6 +71,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 278,
"args": [
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
@@ -54,6 +85,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 278,
"args": [
"[table.planned_start_date]",
@@ -68,6 +102,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 285,
"args": [
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
@@ -79,6 +116,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 285,
"args": [
"[table.state]",
+21
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user"
],
"line": 215,
"args": [
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
@@ -23,6 +26,9 @@
{
"object": "sqltable",
"operation": "update",
"tables": [
"res_user"
],
"line": 215,
"args": [],
"kwargs": {
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 218,
"args": [
"'password'"
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 219,
"args": [
"'salt'"
@@ -60,6 +72,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"res_user"
],
"line": 222,
"args": [
"'name'"
@@ -73,6 +88,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 225,
"args": [
"*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))"
@@ -84,6 +102,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 225,
"args": [
"[model_data.noupdate]",
+2
View File
@@ -11,6 +11,7 @@
{
"object": "cursor_select",
"operation": "execute",
"tables": [],
"line": 82,
"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": 82,
"args": [
"template_lot_type.template"
+3
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"stock_product_location"
],
"line": 47,
"args": [
"'product'",
+69
View File
@@ -2,6 +2,50 @@
"version": "6.8",
"module": "company",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/company/party.py",
"class": "ConfigurationLang",
"method": "__register__",
"line": 21,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_configuration_party_lang"
],
"line": 22,
"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": 50,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 51,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/company/res.py",
"class": "User",
@@ -11,6 +55,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 83,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))"
@@ -23,6 +71,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 83,
"args": [
"[user_company.user, user_company.company]",
@@ -36,6 +88,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 85,
"args": [
"table.id",
@@ -51,6 +106,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 88,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))"
@@ -63,6 +122,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 88,
"args": [
"[user_company.user, user_company.company]",
@@ -76,6 +139,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 90,
"args": [
"table.id",
@@ -91,6 +157,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 94,
"args": [
"'main_company'"
+46
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 189,
"args": [
"'name_uniq'"
@@ -22,6 +25,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"country_country"
],
"line": 190,
"args": [
"'code_uniq'"
@@ -33,6 +39,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"country_country"
],
"line": 193,
"args": [
"'code'",
@@ -45,6 +54,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 196,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -56,6 +68,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 196,
"args": [],
"kwargs": {
@@ -75,6 +90,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 444,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -86,6 +104,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 444,
"args": [],
"kwargs": {
@@ -97,6 +118,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"country_subdivision"
],
"line": 448,
"args": [
"'type'"
@@ -110,6 +134,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"country_subdivision"
],
"line": 451,
"args": [
"'code'"
@@ -128,9 +155,28 @@
"method": "__register__",
"line": 516,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"country_zip",
"country_postal_code"
],
"line": 518,
"args": [
"'country_zip'",
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_rename('country_zip', cls._table)",
"phase": "before_super"
},
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"country_postal_code"
],
"line": 520,
"args": [
"'zip'",
+9
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 89,
"args": [
"*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))"
@@ -22,6 +25,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 89,
"args": [],
"kwargs": {
@@ -33,6 +39,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 93,
"args": [
"'symbol'",
+211
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_action_report"
],
"line": 591,
"args": [
"'report_name_module_uniq'"
@@ -22,6 +25,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_report"
],
"line": 594,
"args": [
"*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')"
@@ -33,6 +39,9 @@
{
"object": "action_report",
"operation": "update",
"tables": [
"ir_action_report"
],
"line": 594,
"args": [
"[action_report.extension]",
@@ -55,6 +64,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 782,
"args": [
"'auto_refresh'"
@@ -66,6 +78,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_action_act_window"
],
"line": 785,
"args": [
"'window_name'"
@@ -77,6 +92,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window"
],
"line": 788,
"args": [
"'limit'",
@@ -89,6 +107,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_action_act_window"
],
"line": 789,
"args": [
"*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)"
@@ -100,6 +121,9 @@
{
"object": "act_window",
"operation": "update",
"tables": [
"ir_action_act_window"
],
"line": 789,
"args": [
"[act_window.limit]",
@@ -122,6 +146,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_view"
],
"line": 985,
"args": [
"'sequence'",
@@ -142,6 +169,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_domain"
],
"line": 1034,
"args": [
"'sequence'",
@@ -162,6 +192,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))"
@@ -174,6 +207,9 @@
{
"object": "attachment",
"operation": "update",
"tables": [
"ir_attachment"
],
"line": 69,
"args": [
"[attachment.file_id]",
@@ -189,6 +225,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))"
@@ -201,6 +240,9 @@
{
"object": "attachment",
"operation": "update",
"tables": [
"ir_attachment"
],
"line": 74,
"args": [
"[attachment.file_id]",
@@ -216,6 +258,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 80,
"args": [
"'digest'"
@@ -228,6 +273,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_attachment"
],
"line": 81,
"args": [
"'collision'"
@@ -240,6 +288,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_attachment"
],
"line": 84,
"args": [
"'resource_name'"
@@ -259,6 +310,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_cron"
],
"line": 103,
"args": [
"'next_call'",
@@ -279,6 +333,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"ir_model_button"
],
"line": 901,
"args": [
"'name_model_uniq'"
@@ -298,6 +355,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 1236,
"args": [
"*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))"
@@ -309,6 +369,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 1236,
"args": [
"[model_data.module]",
@@ -323,6 +386,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_model_data"
],
"line": 1242,
"args": [
"'db_id'"
@@ -341,9 +407,29 @@
"method": "__register__",
"line": 97,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"ir_module_module",
"ir_module"
],
"line": 107,
"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": 112,
"args": [
"*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')"
@@ -355,6 +441,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
"line": 112,
"args": [
"[sql_table.state]",
@@ -369,6 +458,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_module"
],
"line": 115,
"args": [
"*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')"
@@ -380,6 +472,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_module"
],
"line": 115,
"args": [
"[sql_table.state]",
@@ -394,6 +489,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 128,
"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))"
@@ -405,6 +503,9 @@
{
"object": "model_data_sql_table",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 128,
"args": [
"[model_data_sql_table.module]",
@@ -418,15 +519,60 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/trytond/trytond/ir/module.py",
"class": "ModuleDependency",
"method": "__register__",
"line": 337,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"ir_module_module_dependency",
"ir_module_dependency"
],
"line": 341,
"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": 370,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"ir_module_module_config_wizard_item",
"ir_module_config_wizard_item"
],
"line": 379,
"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": 380,
"args": [
"*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')"
@@ -438,6 +584,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 380,
"args": [],
"kwargs": {
@@ -451,6 +600,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_module_config_wizard_item"
],
"line": 391,
"args": [
"'sequence'",
@@ -471,6 +623,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_sequence_type"
],
"line": 47,
"args": [
"'code'"
@@ -492,6 +647,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))"
@@ -504,6 +663,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_sequence",
"ir_sequence_type"
],
"line": 130,
"args": [
"[table.sequence_type]",
@@ -517,6 +680,9 @@
{
"object": "sequence_type",
"operation": "select",
"tables": [
"ir_sequence_type"
],
"line": 132,
"args": [
"sequence_type.id"
@@ -531,6 +697,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_sequence"
],
"line": 135,
"args": [
"'code'"
@@ -551,6 +720,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_translation"
],
"line": 119,
"args": [
"'translation_md5_uniq'"
@@ -563,6 +735,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_translation"
],
"line": 120,
"args": [
"'src_md5'"
@@ -575,6 +750,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_translation"
],
"line": 125,
"args": [
"*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')"
@@ -586,6 +764,9 @@
{
"object": "ir_translation",
"operation": "update",
"tables": [
"ir_translation"
],
"line": 125,
"args": [
"[ir_translation.type]",
@@ -608,6 +789,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 91,
"args": [
"*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)"
@@ -620,6 +804,9 @@
{
"object": "sql_table",
"operation": "select",
"tables": [
"ir_trigger"
],
"line": 91,
"args": [
"sql_table.id",
@@ -635,6 +822,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 100,
"args": [
"'minimum_delay'"
@@ -647,6 +837,9 @@
{
"object": "model",
"operation": "select",
"tables": [
"ir_model"
],
"line": 108,
"args": [
"model.model"
@@ -661,6 +854,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 110,
"args": [
"*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])"
@@ -673,6 +869,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 110,
"args": [
"[sql_table.action]",
@@ -686,6 +885,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 114,
"args": [
"'action_model'"
@@ -698,6 +900,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 115,
"args": [
"'action_function'"
@@ -718,6 +923,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_ui_icon"
],
"line": 37,
"args": [
"'sequence'",
@@ -738,6 +946,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_ui_view_search"
],
"line": 606,
"args": [
"'user'",
+103
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "column_rename",
"tables": [
"party_address"
],
"line": 91,
"args": [
"'zip'",
@@ -23,6 +26,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_address"
],
"line": 102,
"args": [
"*sql_table.update([sql_table.street], [value])"
@@ -35,6 +41,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"party_address"
],
"line": 102,
"args": [
"[sql_table.street]",
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"party_address"
],
"line": 105,
"args": [
"'streetbis'"
@@ -68,6 +80,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"country_country"
],
"line": 327,
"args": [
"[table.country_code]",
@@ -81,6 +97,9 @@
{
"object": "country",
"operation": "select",
"tables": [
"country_country"
],
"line": 329,
"args": [
"country.code"
@@ -95,6 +114,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 332,
"args": [
"*query"
@@ -107,6 +127,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 333,
"args": [
"'country'"
@@ -119,6 +142,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"ir_lang"
],
"line": 337,
"args": [
"[table.language_code]",
@@ -132,6 +159,9 @@
{
"object": "language",
"operation": "select",
"tables": [
"ir_lang"
],
"line": 339,
"args": [
"Substring(language.code, 0, 2)"
@@ -146,6 +176,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 342,
"args": [
"*query"
@@ -158,6 +189,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 343,
"args": [
"'language'"
@@ -178,6 +212,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"party_category"
],
"line": 41,
"args": [
"'name_parent_uniq'"
@@ -188,6 +225,26 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/configuration.py",
"class": "_ConfigurationValue",
"method": "__register__",
"line": 99,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 100,
"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",
@@ -197,6 +254,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"party_party"
],
"line": 116,
"args": [
"'name'",
@@ -214,9 +274,27 @@
"method": "__register__",
"line": 345,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 349,
"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": 358,
"args": [
"[table.party, table.lang]",
@@ -230,6 +308,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 360,
"args": [
"party.id",
@@ -243,6 +324,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 361,
"args": [
"*query"
@@ -255,6 +337,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 362,
"args": [
"'lang'"
@@ -275,6 +360,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
"line": 638,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
@@ -287,6 +375,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 638,
"args": [
"party.id",
@@ -303,6 +394,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 655,
"args": [
"'vat_number'"
@@ -315,6 +409,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 656,
"args": [
"'vat_country'"
@@ -327,6 +424,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 659,
"args": [
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
@@ -338,6 +438,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 659,
"args": [
"[table.type]",
+120
View File
@@ -2,6 +2,28 @@
"version": "6.8",
"module": "product",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/product/configuration.py",
"class": "ConfigurationDefaultCostPriceMethod",
"method": "__register__",
"line": 54,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_configuration_default_cost_price_method"
],
"line": 55,
"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": 458,
"args": [
"*table.update([table.suffix_code], [table.code])"
@@ -23,6 +48,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"product_product"
],
"line": 458,
"args": [
"[table.suffix_code]",
@@ -35,15 +63,67 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
"class": "ProductListPrice",
"method": "__register__",
"line": 701,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_list_price"
],
"line": 702,
"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": 732,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price_method"
],
"line": 739,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 740,
"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": 754,
"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": 754,
"args": [],
"kwargs": {
@@ -69,6 +153,9 @@
{
"object": "cost_price",
"operation": "select",
"tables": [
"product_cost_price"
],
"line": 756,
"args": [
"*[Column(cost_price, c) for c in columns]"
@@ -86,9 +173,26 @@
"method": "__register__",
"line": 796,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"product_cost_price"
],
"line": 803,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "table",
"operation": "add_column",
"tables": [
"product_cost_price"
],
"line": 810,
"args": [
"'template'",
@@ -102,6 +206,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 817,
"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": 817,
"args": [],
"kwargs": {
@@ -127,6 +237,7 @@
{
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
"operation": "select",
"tables": [],
"line": 820,
"args": [
"*[Column(sql_table, c) for c in columns] + [product.id]"
@@ -141,6 +252,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_cost_price"
],
"line": 827,
"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": 827,
"args": [],
"kwargs": {
@@ -165,6 +282,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"product_cost_price"
],
"line": 830,
"args": [
"'template'"
+40
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"production_bom_input"
],
"line": 75,
"args": [
"'product_bom_uniq'"
@@ -21,6 +24,28 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/production/configuration.py",
"class": "ConfigurationProductionSequence",
"method": "__register__",
"line": 44,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"production_configuration_production_sequence"
],
"line": 45,
"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",
@@ -30,6 +55,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
"line": 269,
"args": [
"'code'",
@@ -43,6 +71,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 275,
"args": [
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
@@ -54,6 +85,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 275,
"args": [
"[table.planned_start_date]",
@@ -68,6 +102,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 282,
"args": [
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
@@ -79,6 +116,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 282,
"args": [
"[table.state]",
+21
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user"
],
"line": 215,
"args": [
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
@@ -23,6 +26,9 @@
{
"object": "sqltable",
"operation": "update",
"tables": [
"res_user"
],
"line": 215,
"args": [],
"kwargs": {
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 218,
"args": [
"'password'"
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 219,
"args": [
"'salt'"
@@ -60,6 +72,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"res_user"
],
"line": 222,
"args": [
"'name'"
@@ -73,6 +88,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 225,
"args": [
"*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))"
@@ -84,6 +102,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 225,
"args": [
"[model_data.noupdate]",
+2
View File
@@ -11,6 +11,7 @@
{
"object": "cursor_select",
"operation": "execute",
"tables": [],
"line": 85,
"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": 85,
"args": [
"template_lot_type.template"
+3
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"stock_product_location"
],
"line": 47,
"args": [
"'product'",
+25
View File
@@ -11,6 +11,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 130,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))"
@@ -23,6 +27,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 130,
"args": [
"[user_company.user, user_company.company]",
@@ -36,6 +44,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 132,
"args": [
"table.id",
@@ -51,6 +62,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 135,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))"
@@ -63,6 +78,10 @@
{
"object": "user_company",
"operation": "insert",
"tables": [
"res_user-company_company",
"res_user"
],
"line": 135,
"args": [
"[user_company.user, user_company.company]",
@@ -76,6 +95,9 @@
{
"object": "table",
"operation": "select",
"tables": [
"res_user"
],
"line": 137,
"args": [
"table.id",
@@ -91,6 +113,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"res_user"
],
"line": 141,
"args": [
"'main_company'"
+37
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 187,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -22,6 +25,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 187,
"args": [],
"kwargs": {
@@ -41,6 +47,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 435,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
@@ -52,6 +61,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 435,
"args": [],
"kwargs": {
@@ -63,6 +75,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"country_subdivision"
],
"line": 439,
"args": [
"'type'"
@@ -76,6 +91,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"country_subdivision"
],
"line": 442,
"args": [
"'code'"
@@ -94,9 +112,28 @@
"method": "__register__",
"line": 507,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_rename",
"tables": [
"country_zip",
"country_postal_code"
],
"line": 509,
"args": [
"'country_zip'",
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_rename('country_zip', cls._table)",
"phase": "before_super"
},
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"country_postal_code"
],
"line": 511,
"args": [
"'zip'",
+9
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 83,
"args": [
"*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))"
@@ -22,6 +25,9 @@
{
"object": "data",
"operation": "delete",
"tables": [
"ir_model_data"
],
"line": 83,
"args": [],
"kwargs": {
@@ -33,6 +39,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"currency_currency"
],
"line": 87,
"args": [
"'symbol'",
+68
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_view"
],
"line": 958,
"args": [
"'sequence'",
@@ -31,6 +34,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_action_act_window_domain"
],
"line": 1007,
"args": [
"'sequence'",
@@ -51,6 +57,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_cron"
],
"line": 103,
"args": [
"'next_call'",
@@ -71,6 +80,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_export"
],
"line": 67,
"args": [
"*table.update([table.user], [table.create_uid])"
@@ -83,6 +95,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_export"
],
"line": 67,
"args": [
"[table.user]",
@@ -104,6 +119,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"ir_model_button"
],
"line": 893,
"args": [
"'name_model_uniq'"
@@ -123,6 +141,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_model_data"
],
"line": 1225,
"args": [
"'db_id'"
@@ -144,6 +165,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_module_config_wizard_item"
],
"line": 329,
"args": [
"'sequence'",
@@ -164,6 +188,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_sequence_type"
],
"line": 47,
"args": [
"'code'"
@@ -185,6 +212,10 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_sequence",
"ir_sequence_type"
],
"line": 135,
"args": [
"*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))"
@@ -197,6 +228,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"ir_sequence",
"ir_sequence_type"
],
"line": 135,
"args": [
"[table.sequence_type]",
@@ -210,6 +245,9 @@
{
"object": "sequence_type",
"operation": "select",
"tables": [
"ir_sequence_type"
],
"line": 137,
"args": [
"sequence_type.id"
@@ -224,6 +262,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_sequence"
],
"line": 140,
"args": [
"'code'"
@@ -244,6 +285,9 @@
{
"object": "table",
"operation": "drop_constraint",
"tables": [
"ir_translation"
],
"line": 120,
"args": [
"'translation_md5_uniq'"
@@ -256,6 +300,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"ir_translation"
],
"line": 121,
"args": [
"'src_md5'"
@@ -276,6 +323,9 @@
{
"object": "model",
"operation": "select",
"tables": [
"ir_model"
],
"line": 92,
"args": [
"model.model"
@@ -290,6 +340,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_trigger"
],
"line": 94,
"args": [
"*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])"
@@ -302,6 +355,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"ir_trigger"
],
"line": 94,
"args": [
"[sql_table.action]",
@@ -315,6 +371,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 98,
"args": [
"'action_model'"
@@ -327,6 +386,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"ir_trigger"
],
"line": 99,
"args": [
"'action_function'"
@@ -347,6 +409,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"ir_ui_icon"
],
"line": 37,
"args": [
"'sequence'",
@@ -367,6 +432,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"ir_ui_view_search"
],
"line": 621,
"args": [
"'user'",
+37
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "column_rename",
"tables": [
"party_address"
],
"line": 88,
"args": [
"'zip'",
@@ -31,6 +34,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"country_country"
],
"line": 318,
"args": [
"[table.country_code]",
@@ -44,6 +51,9 @@
{
"object": "country",
"operation": "select",
"tables": [
"country_country"
],
"line": 320,
"args": [
"country.code"
@@ -58,6 +68,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 323,
"args": [
"*query"
@@ -70,6 +81,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 324,
"args": [
"'country'"
@@ -82,6 +96,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"ir_lang"
],
"line": 328,
"args": [
"[table.language_code]",
@@ -95,6 +113,9 @@
{
"object": "language",
"operation": "select",
"tables": [
"ir_lang"
],
"line": 330,
"args": [
"Substring(language.code, 0, 2)"
@@ -109,6 +130,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 333,
"args": [
"*query"
@@ -121,6 +143,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 334,
"args": [
"'language'"
@@ -141,6 +166,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_configuration"
],
"line": 45,
"args": [
"*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])"
@@ -153,6 +181,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_configuration"
],
"line": 45,
"args": [
"[table.identifier_types]",
@@ -174,6 +205,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 787,
"args": [
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
@@ -185,6 +219,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 787,
"args": [
"[table.type]",
+6
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"product_product"
],
"line": 505,
"args": [
"*table.update([table.suffix_code], [table.code])"
@@ -23,6 +26,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"product_product"
],
"line": 505,
"args": [
"[table.suffix_code]",
+15
View File
@@ -11,6 +11,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production_bom_input"
],
"line": 78,
"args": [
"'uom'",
@@ -24,6 +27,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"production_bom_input"
],
"line": 84,
"args": [
"'product_bom_uniq'"
@@ -43,6 +49,9 @@
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
"line": 270,
"args": [
"'uom'",
@@ -56,6 +65,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"production"
],
"line": 278,
"args": [
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
@@ -67,6 +79,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
"line": 278,
"args": [
"[table.state]",
+6
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_model_data"
],
"line": 215,
"args": [
"*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))"
@@ -22,6 +25,9 @@
{
"object": "model_data",
"operation": "update",
"tables": [
"ir_model_data"
],
"line": 215,
"args": [
"[model_data.noupdate]",
+2
View File
@@ -11,6 +11,7 @@
{
"object": "cursor_select",
"operation": "execute",
"tables": [],
"line": 85,
"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": 85,
"args": [
"template_lot_type.template"
+3
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "not_null_action",
"tables": [
"stock_product_location"
],
"line": 47,
"args": [
"'product'",

Some files were not shown because too many files have changed in this diff Show More