Public Access
extract gets and saves most tables worked on
some cases still need some work...
This commit is contained in:
@@ -2,6 +2,30 @@
|
||||
"version": "7.2",
|
||||
"module": "company",
|
||||
"files": [
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/company/ir.py",
|
||||
"class": "CronCompany",
|
||||
"method": "__register__",
|
||||
"line": 102,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_rename",
|
||||
"tables": [
|
||||
"cron_company_rel",
|
||||
"ir_cron-company_company"
|
||||
],
|
||||
"line": 104,
|
||||
"args": [
|
||||
"'cron_company_rel'",
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_rename('cron_company_rel', cls._table)",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/company/res.py",
|
||||
"class": "User",
|
||||
@@ -11,6 +35,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 +51,10 @@
|
||||
{
|
||||
"object": "user_company",
|
||||
"operation": "insert",
|
||||
"tables": [
|
||||
"res_user-company_company",
|
||||
"res_user"
|
||||
],
|
||||
"line": 130,
|
||||
"args": [
|
||||
"[user_company.user, user_company.company]",
|
||||
@@ -36,6 +68,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 132,
|
||||
"args": [
|
||||
"table.id",
|
||||
@@ -51,6 +86,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 +102,10 @@
|
||||
{
|
||||
"object": "user_company",
|
||||
"operation": "insert",
|
||||
"tables": [
|
||||
"res_user-company_company",
|
||||
"res_user"
|
||||
],
|
||||
"line": 135,
|
||||
"args": [
|
||||
"[user_company.user, user_company.company]",
|
||||
@@ -76,6 +119,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 137,
|
||||
"args": [
|
||||
"table.id",
|
||||
@@ -91,6 +137,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 141,
|
||||
"args": [
|
||||
"'main_company'"
|
||||
|
||||
@@ -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'",
|
||||
|
||||
@@ -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'",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_action_act_window_view"
|
||||
],
|
||||
"line": 968,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -31,6 +34,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_action_act_window_domain"
|
||||
],
|
||||
"line": 1017,
|
||||
"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": "column_rename",
|
||||
"tables": [
|
||||
"ir_model_field"
|
||||
],
|
||||
"line": 309,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -117,6 +135,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_model_field"
|
||||
],
|
||||
"line": 310,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -130,6 +151,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_field"
|
||||
],
|
||||
"line": 311,
|
||||
"args": [
|
||||
"*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)"
|
||||
@@ -142,6 +166,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_field"
|
||||
],
|
||||
"line": 311,
|
||||
"args": [
|
||||
"[table.model]",
|
||||
@@ -158,6 +185,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_model_field"
|
||||
],
|
||||
"line": 315,
|
||||
"args": [
|
||||
"'_temp_model'"
|
||||
@@ -178,6 +208,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_model_access"
|
||||
],
|
||||
"line": 543,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -191,6 +224,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_model_access"
|
||||
],
|
||||
"line": 544,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -204,6 +240,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_access"
|
||||
],
|
||||
"line": 545,
|
||||
"args": [
|
||||
"*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)"
|
||||
@@ -216,6 +255,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_access"
|
||||
],
|
||||
"line": 545,
|
||||
"args": [
|
||||
"[table.model]",
|
||||
@@ -232,6 +274,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_model_access"
|
||||
],
|
||||
"line": 549,
|
||||
"args": [
|
||||
"'_temp_model'"
|
||||
@@ -252,6 +297,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 798,
|
||||
"args": [
|
||||
"'field'",
|
||||
@@ -265,6 +313,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 799,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -278,6 +329,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 800,
|
||||
"args": [
|
||||
"'field'",
|
||||
@@ -291,6 +345,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 801,
|
||||
"args": [
|
||||
"*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)"
|
||||
@@ -303,6 +360,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 801,
|
||||
"args": [
|
||||
"[table.model, table.field]",
|
||||
@@ -319,6 +379,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 806,
|
||||
"args": [
|
||||
"'_temp_field'"
|
||||
@@ -339,6 +402,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 997,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -352,6 +418,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 998,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -365,6 +434,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 999,
|
||||
"args": [
|
||||
"*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)"
|
||||
@@ -377,6 +449,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 999,
|
||||
"args": [
|
||||
"[table.model]",
|
||||
@@ -393,6 +468,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 1003,
|
||||
"args": [
|
||||
"'_temp_model'"
|
||||
@@ -405,6 +483,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 1008,
|
||||
"args": [
|
||||
"'name_model_uniq'"
|
||||
@@ -424,6 +505,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 1346,
|
||||
"args": [
|
||||
"'db_id'"
|
||||
@@ -445,6 +529,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_module_config_wizard_item"
|
||||
],
|
||||
"line": 329,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -465,6 +552,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_rule_group"
|
||||
],
|
||||
"line": 96,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -478,6 +568,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_rule_group"
|
||||
],
|
||||
"line": 97,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -491,6 +584,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_rule_group"
|
||||
],
|
||||
"line": 98,
|
||||
"args": [
|
||||
"*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)"
|
||||
@@ -503,6 +599,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_rule_group"
|
||||
],
|
||||
"line": 98,
|
||||
"args": [
|
||||
"[table.model]",
|
||||
@@ -519,6 +618,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_rule_group"
|
||||
],
|
||||
"line": 102,
|
||||
"args": [
|
||||
"'_temp_model'"
|
||||
@@ -539,6 +641,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_sequence_type"
|
||||
],
|
||||
"line": 47,
|
||||
"args": [
|
||||
"'code'"
|
||||
@@ -560,6 +665,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))"
|
||||
@@ -572,6 +681,10 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_sequence",
|
||||
"ir_sequence_type"
|
||||
],
|
||||
"line": 135,
|
||||
"args": [
|
||||
"[table.sequence_type]",
|
||||
@@ -585,6 +698,9 @@
|
||||
{
|
||||
"object": "sequence_type",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_sequence_type"
|
||||
],
|
||||
"line": 137,
|
||||
"args": [
|
||||
"sequence_type.id"
|
||||
@@ -599,6 +715,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_sequence"
|
||||
],
|
||||
"line": 140,
|
||||
"args": [
|
||||
"'code'"
|
||||
@@ -619,6 +738,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 127,
|
||||
"args": [
|
||||
"'translation_md5_uniq'"
|
||||
@@ -631,6 +753,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 128,
|
||||
"args": [
|
||||
"'src_md5'"
|
||||
@@ -651,6 +776,9 @@
|
||||
{
|
||||
"object": "model",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_model"
|
||||
],
|
||||
"line": 92,
|
||||
"args": [
|
||||
"model.model"
|
||||
@@ -665,6 +793,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))])"
|
||||
@@ -677,6 +808,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 94,
|
||||
"args": [
|
||||
"[sql_table.action]",
|
||||
@@ -690,6 +824,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 98,
|
||||
"args": [
|
||||
"'action_model'"
|
||||
@@ -702,6 +839,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 99,
|
||||
"args": [
|
||||
"'action_function'"
|
||||
@@ -722,6 +862,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_ui_icon"
|
||||
],
|
||||
"line": 41,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -742,6 +885,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_ui_view_search"
|
||||
],
|
||||
"line": 713,
|
||||
"args": [
|
||||
"'user'",
|
||||
|
||||
@@ -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]",
|
||||
@@ -165,6 +196,30 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
|
||||
"class": "PartyCategory",
|
||||
"method": "__register__",
|
||||
"line": 448,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_rename",
|
||||
"tables": [
|
||||
"party_category_rel",
|
||||
"party_party-party_category"
|
||||
],
|
||||
"line": 450,
|
||||
"args": [
|
||||
"'party_category_rel'",
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_rename('party_category_rel', cls._table)",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
|
||||
"class": "Identifier",
|
||||
@@ -174,6 +229,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"party_identifier"
|
||||
],
|
||||
"line": 812,
|
||||
"args": [
|
||||
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
|
||||
@@ -185,6 +243,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_identifier"
|
||||
],
|
||||
"line": 812,
|
||||
"args": [
|
||||
"[table.type]",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"product_product"
|
||||
],
|
||||
"line": 488,
|
||||
"args": [
|
||||
"*table.update([table.suffix_code], [table.code])"
|
||||
@@ -23,6 +26,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"product_product"
|
||||
],
|
||||
"line": 488,
|
||||
"args": [
|
||||
"[table.suffix_code]",
|
||||
|
||||
@@ -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": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_cron"
|
||||
],
|
||||
"line": 26,
|
||||
"args": [
|
||||
"*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')"
|
||||
@@ -54,6 +63,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_cron"
|
||||
],
|
||||
"line": 26,
|
||||
"args": [
|
||||
"[table.method]",
|
||||
@@ -76,6 +88,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"production"
|
||||
],
|
||||
"line": 271,
|
||||
"args": [
|
||||
"'uom'",
|
||||
@@ -89,6 +104,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"production"
|
||||
],
|
||||
"line": 279,
|
||||
"args": [
|
||||
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
|
||||
@@ -100,6 +118,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"production"
|
||||
],
|
||||
"line": 279,
|
||||
"args": [
|
||||
"[table.state]",
|
||||
|
||||
@@ -11,6 +11,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'))"
|
||||
@@ -22,6 +25,9 @@
|
||||
{
|
||||
"object": "model_data",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 214,
|
||||
"args": [
|
||||
"[model_data.noupdate]",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"stock_product_location"
|
||||
],
|
||||
"line": 47,
|
||||
"args": [
|
||||
"'product'",
|
||||
|
||||
Reference in New Issue
Block a user