Public Access
extract gets and saves most tables worked on
some cases still need some work...
This commit is contained in:
+26
-1
@@ -1,5 +1,30 @@
|
||||
{
|
||||
"version": "7.8",
|
||||
"module": "company",
|
||||
"files": []
|
||||
"files": [
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/company/ir.py",
|
||||
"class": "CronCompany",
|
||||
"method": "__register__",
|
||||
"line": 106,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_rename",
|
||||
"tables": [
|
||||
"cron_company_rel",
|
||||
"ir_cron-company_company"
|
||||
],
|
||||
"line": 108,
|
||||
"args": [
|
||||
"'cron_company_rel'",
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_rename('cron_company_rel', cls._table)",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"country_subdivision"
|
||||
],
|
||||
"line": 407,
|
||||
"args": [
|
||||
"'type'"
|
||||
@@ -24,6 +27,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"country_subdivision"
|
||||
],
|
||||
"line": 410,
|
||||
"args": [
|
||||
"'code'"
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"currency_currency"
|
||||
],
|
||||
"line": 83,
|
||||
"args": [
|
||||
"'symbol'",
|
||||
@@ -31,6 +34,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"currency_currency_rate"
|
||||
],
|
||||
"line": 283,
|
||||
"args": [
|
||||
"'check_currency_rate'"
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_export"
|
||||
],
|
||||
"line": 79,
|
||||
"args": [
|
||||
"*table.update([table.user], [table.create_uid])"
|
||||
@@ -23,6 +26,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_export"
|
||||
],
|
||||
"line": 79,
|
||||
"args": [
|
||||
"[table.user]",
|
||||
@@ -44,6 +50,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_model"
|
||||
],
|
||||
"line": 90,
|
||||
"args": [
|
||||
"'name'",
|
||||
@@ -57,6 +66,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_model"
|
||||
],
|
||||
"line": 91,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -70,6 +82,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_model"
|
||||
],
|
||||
"line": 92,
|
||||
"args": [
|
||||
"'model_uniq'"
|
||||
@@ -89,6 +104,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_model_field"
|
||||
],
|
||||
"line": 342,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -102,6 +120,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_model_field"
|
||||
],
|
||||
"line": 343,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -115,6 +136,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_field"
|
||||
],
|
||||
"line": 344,
|
||||
"args": [
|
||||
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
|
||||
@@ -127,6 +151,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_field"
|
||||
],
|
||||
"line": 344,
|
||||
"args": [
|
||||
"[table.model]",
|
||||
@@ -143,6 +170,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_model_field"
|
||||
],
|
||||
"line": 348,
|
||||
"args": [
|
||||
"'_temp_model'"
|
||||
@@ -155,6 +185,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_model_field"
|
||||
],
|
||||
"line": 351,
|
||||
"args": [
|
||||
"'field_description'",
|
||||
@@ -175,6 +208,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_model_access"
|
||||
],
|
||||
"line": 573,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -188,6 +224,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_model_access"
|
||||
],
|
||||
"line": 574,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -201,6 +240,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_access"
|
||||
],
|
||||
"line": 575,
|
||||
"args": [
|
||||
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
|
||||
@@ -213,6 +255,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_access"
|
||||
],
|
||||
"line": 575,
|
||||
"args": [
|
||||
"[table.model]",
|
||||
@@ -229,6 +274,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_model_access"
|
||||
],
|
||||
"line": 579,
|
||||
"args": [
|
||||
"'_temp_model'"
|
||||
@@ -249,6 +297,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 806,
|
||||
"args": [
|
||||
"'field'",
|
||||
@@ -262,6 +313,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 807,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -275,6 +329,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 808,
|
||||
"args": [
|
||||
"'field'",
|
||||
@@ -288,6 +345,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 809,
|
||||
"args": [
|
||||
"*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)"
|
||||
@@ -300,6 +360,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 809,
|
||||
"args": [
|
||||
"[table.model, table.field]",
|
||||
@@ -316,6 +379,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_model_field_access"
|
||||
],
|
||||
"line": 814,
|
||||
"args": [
|
||||
"'_temp_field'"
|
||||
@@ -336,6 +402,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 983,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -349,6 +418,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 984,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -362,6 +434,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 985,
|
||||
"args": [
|
||||
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
|
||||
@@ -374,6 +449,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 985,
|
||||
"args": [
|
||||
"[table.model]",
|
||||
@@ -390,6 +468,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 989,
|
||||
"args": [
|
||||
"'_temp_model'"
|
||||
@@ -402,6 +483,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 994,
|
||||
"args": [
|
||||
"'name_model_uniq'"
|
||||
@@ -421,6 +505,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 1334,
|
||||
"args": [
|
||||
"'fs_id_module_model_uniq'"
|
||||
@@ -440,6 +527,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_rule_group"
|
||||
],
|
||||
"line": 113,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -453,6 +543,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"ir_rule_group"
|
||||
],
|
||||
"line": 114,
|
||||
"args": [
|
||||
"'model'",
|
||||
@@ -466,6 +559,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_rule_group"
|
||||
],
|
||||
"line": 115,
|
||||
"args": [
|
||||
"*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)"
|
||||
@@ -478,6 +574,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_rule_group"
|
||||
],
|
||||
"line": 115,
|
||||
"args": [
|
||||
"[table.model]",
|
||||
@@ -494,6 +593,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_rule_group"
|
||||
],
|
||||
"line": 119,
|
||||
"args": [
|
||||
"'_temp_model'"
|
||||
@@ -514,6 +616,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"ir_ui_view_tree_optional"
|
||||
],
|
||||
"line": 638,
|
||||
"args": [
|
||||
"'view_id'",
|
||||
@@ -526,6 +631,10 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_ui_view_tree_optional",
|
||||
"ir_ui_view"
|
||||
],
|
||||
"line": 643,
|
||||
"args": [
|
||||
"*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)"
|
||||
@@ -537,6 +646,10 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_ui_view_tree_optional",
|
||||
"ir_ui_view"
|
||||
],
|
||||
"line": 643,
|
||||
"args": [
|
||||
"[table.model]",
|
||||
@@ -551,6 +664,9 @@
|
||||
{
|
||||
"object": "view",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_ui_view"
|
||||
],
|
||||
"line": 645,
|
||||
"args": [
|
||||
"view.model"
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"party_address"
|
||||
],
|
||||
"line": 165,
|
||||
"args": [
|
||||
"'street'",
|
||||
@@ -23,6 +26,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"party_address"
|
||||
],
|
||||
"line": 166,
|
||||
"args": [
|
||||
"'name'",
|
||||
@@ -43,6 +49,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"party_configuration"
|
||||
],
|
||||
"line": 44,
|
||||
"args": [
|
||||
"*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])"
|
||||
@@ -55,6 +64,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_configuration"
|
||||
],
|
||||
"line": 44,
|
||||
"args": [
|
||||
"[table.identifier_types]",
|
||||
@@ -67,6 +79,30 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
|
||||
"class": "PartyCategory",
|
||||
"method": "__register__",
|
||||
"line": 465,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_rename",
|
||||
"tables": [
|
||||
"party_category_rel",
|
||||
"party_party-party_category"
|
||||
],
|
||||
"line": 467,
|
||||
"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",
|
||||
@@ -76,6 +112,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"party_identifier"
|
||||
],
|
||||
"line": 858,
|
||||
"args": [
|
||||
"*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')"
|
||||
@@ -87,6 +126,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_identifier"
|
||||
],
|
||||
"line": 858,
|
||||
"args": [
|
||||
"[table.type]",
|
||||
@@ -101,6 +143,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"party_identifier"
|
||||
],
|
||||
"line": 862,
|
||||
"args": [
|
||||
"*table.update([table.type], ['co_nit'], where=table.type == 'co_rut')"
|
||||
@@ -112,6 +157,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_identifier"
|
||||
],
|
||||
"line": 862,
|
||||
"args": [
|
||||
"[table.type]",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"production_bom_input"
|
||||
],
|
||||
"line": 214,
|
||||
"args": [
|
||||
"'uom'",
|
||||
@@ -24,6 +27,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"production_bom_input"
|
||||
],
|
||||
"line": 220,
|
||||
"args": [
|
||||
"'product_bom_uniq'"
|
||||
@@ -35,6 +41,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"production_bom_input"
|
||||
],
|
||||
"line": 222,
|
||||
"args": [
|
||||
"'product'",
|
||||
@@ -55,6 +64,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')"
|
||||
@@ -66,6 +78,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_cron"
|
||||
],
|
||||
"line": 26,
|
||||
"args": [
|
||||
"[table.method]",
|
||||
@@ -88,6 +103,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"production"
|
||||
],
|
||||
"line": 287,
|
||||
"args": [
|
||||
"'uom'",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 204,
|
||||
"args": [
|
||||
"'menu'",
|
||||
|
||||
Reference in New Issue
Block a user